- 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.
37 lines
1.1 KiB
PHP
37 lines
1.1 KiB
PHP
<x-mail::message>
|
|
# Finance Document Awaiting Chair Final Approval
|
|
|
|
A finance document has been approved by both cashier and accountant, and is now awaiting your final approval as chair.
|
|
|
|
**Document Details:**
|
|
- **Title:** {{ $document->title }}
|
|
- **Amount:** KES {{ number_format($document->amount, 2) }}
|
|
- **Type:** {{ ucfirst(str_replace('_', ' ', $document->type)) }}
|
|
- **Submitted by:** {{ $document->submittedBy->name }}
|
|
@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') }})
|
|
|
|
@if($document->description)
|
|
**Description:**
|
|
{{ $document->description }}
|
|
@endif
|
|
|
|
@if($document->attachment_path)
|
|
This document includes an attachment for review.
|
|
@endif
|
|
|
|
<x-mail::button :url="route('admin.finance.show', $document)">
|
|
Review Document
|
|
</x-mail::button>
|
|
|
|
Please provide your final approval or rejection for this document.
|
|
|
|
Thanks,<br>
|
|
{{ config('app.name') }}
|
|
</x-mail::message>
|