- Update invalid 'finance.show' route to the correct 'admin.finance.show' in email templates. - This prevents broken links in approval, rejection, and status update emails.
33 lines
1.1 KiB
PHP
33 lines
1.1 KiB
PHP
<x-mail::message>
|
|
# Finance Document Fully Approved
|
|
|
|
Great news! Your finance document has been fully approved by all required approvers.
|
|
|
|
**Document Details:**
|
|
- **Title:** {{ $document->title }}
|
|
- **Amount:** KES {{ number_format($document->amount, 2) }}
|
|
- **Type:** {{ ucfirst(str_replace('_', ' ', $document->type)) }}
|
|
@if($document->member)
|
|
- **Member:** {{ $document->member->full_name }}
|
|
@endif
|
|
|
|
**Approval History:**
|
|
- **Cashier:** {{ $document->cashierApprover->name }} ({{ $document->cashier_approved_at->format('M d, Y H:i') }})
|
|
- **Accountant:** {{ $document->accountantApprover->name }} ({{ $document->accountant_approved_at->format('M d, Y H:i') }})
|
|
- **Chair:** {{ $document->chairApprover->name }} ({{ $document->chair_approved_at->format('M d, Y H:i') }})
|
|
|
|
@if($document->description)
|
|
**Description:**
|
|
{{ $document->description }}
|
|
@endif
|
|
|
|
<x-mail::button :url="route('admin.finance.show', $document)">
|
|
View Document
|
|
</x-mail::button>
|
|
|
|
The document is now fully approved and can proceed to the next stage.
|
|
|
|
Thanks,<br>
|
|
{{ config('app.name') }}
|
|
</x-mail::message>
|