Initial commit

This commit is contained in:
2025-11-20 23:21:05 +08:00
commit 13bc6db529
378 changed files with 54527 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
<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('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>

View File

@@ -0,0 +1,35 @@
<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('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>

View File

@@ -0,0 +1,32 @@
<x-mail::message>
# Finance Document Fully Approved
Great news! Your finance document has been fully approved by all required approvers.
**Document Details:**
- **Title:** {{ $document->title }}
- **Amount:** KES {{ number_format($document->amount, 2) }}
- **Type:** {{ ucfirst(str_replace('_', ' ', $document->type)) }}
@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') }})
- **Chair:** {{ $document->chairApprover->name }} ({{ $document->chair_approved_at->format('M d, Y H:i') }})
@if($document->description)
**Description:**
{{ $document->description }}
@endif
<x-mail::button :url="route('finance.show', $document)">
View Document
</x-mail::button>
The document is now fully approved and can proceed to the next stage.
Thanks,<br>
{{ config('app.name') }}
</x-mail::message>

View File

@@ -0,0 +1,31 @@
<x-mail::message>
# Finance Document Rejected
Your finance document has been rejected.
**Document Details:**
- **Title:** {{ $document->title }}
- **Amount:** KES {{ number_format($document->amount, 2) }}
- **Type:** {{ ucfirst(str_replace('_', ' ', $document->type)) }}
@if($document->member)
- **Member:** {{ $document->member->full_name }}
@endif
**Rejection Details:**
- **Rejected by:** {{ $document->rejectedBy->name }}
- **Rejected at:** {{ $document->rejected_at->format('M d, Y H:i') }}
@if($document->rejection_reason)
**Reason:**
{{ $document->rejection_reason }}
@endif
<x-mail::button :url="route('finance.show', $document)">
View Document
</x-mail::button>
Please review the rejection reason and contact the approver if you have any questions.
Thanks,<br>
{{ config('app.name') }}
</x-mail::message>

View File

@@ -0,0 +1,32 @@
<x-mail::message>
# New Finance Document Awaiting Review
A new finance document has been submitted and is awaiting cashier review.
**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
@if($document->description)
**Description:**
{{ $document->description }}
@endif
@if($document->attachment_path)
This document includes an attachment for review.
@endif
<x-mail::button :url="route('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>