Files
usher-manage-stack/resources/views/emails/finance/approved-by-cashier.blade.php
Gbanyan cf367fe6e0 Fix 404 error in finance document emails
- 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.
2025-11-28 00:20:53 +08:00

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>