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.
This commit is contained in:
@@ -25,7 +25,7 @@ A finance document has been approved by both cashier and accountant, and is now
|
|||||||
This document includes an attachment for review.
|
This document includes an attachment for review.
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<x-mail::button :url="route('finance.show', $document)">
|
<x-mail::button :url="route('admin.finance.show', $document)">
|
||||||
Review Document
|
Review Document
|
||||||
</x-mail::button>
|
</x-mail::button>
|
||||||
|
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ A finance document has been approved by the cashier and is now awaiting your rev
|
|||||||
This document includes an attachment for review.
|
This document includes an attachment for review.
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<x-mail::button :url="route('finance.show', $document)">
|
<x-mail::button :url="route('admin.finance.show', $document)">
|
||||||
Review Document
|
Review Document
|
||||||
</x-mail::button>
|
</x-mail::button>
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ Great news! Your finance document has been fully approved by all required approv
|
|||||||
{{ $document->description }}
|
{{ $document->description }}
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<x-mail::button :url="route('finance.show', $document)">
|
<x-mail::button :url="route('admin.finance.show', $document)">
|
||||||
View Document
|
View Document
|
||||||
</x-mail::button>
|
</x-mail::button>
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ Your finance document has been rejected.
|
|||||||
{{ $document->rejection_reason }}
|
{{ $document->rejection_reason }}
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<x-mail::button :url="route('finance.show', $document)">
|
<x-mail::button :url="route('admin.finance.show', $document)">
|
||||||
View Document
|
View Document
|
||||||
</x-mail::button>
|
</x-mail::button>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user