- 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.
36 lines
1.0 KiB
PHP
36 lines
1.0 KiB
PHP
<x-mail::message>
|
|
# Finance Document Awaiting Accountant Review
|
|
|
|
A finance document has been approved by the cashier and is now awaiting your review as accountant.
|
|
|
|
**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') }})
|
|
|
|
@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 review and approve or reject this document at your earliest convenience.
|
|
|
|
Thanks,<br>
|
|
{{ config('app.name') }}
|
|
</x-mail::message>
|