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:
2025-11-28 00:20:53 +08:00
parent 70dec7615e
commit cf367fe6e0
4 changed files with 4 additions and 4 deletions

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>