initial
All checks were successful
linter / quality (push) Successful in 1m37s
tests / ci (8.4) (push) Successful in 2m13s
tests / ci (8.5) (push) Successful in 1m25s

This commit is contained in:
Tim Basten
2026-03-05 11:41:39 +08:00
commit 564f78dcda
182 changed files with 21145 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
<p>Dear {{ $travelRequest->user->name }},</p>
<p>Your travel request #{{ $travelRequest->id }} has been <strong>{{ $travelRequest->status->value }}</strong>.</p>
@php
$lastApproval = $travelRequest->approvals()->with('approver')->latest()->first();
@endphp
@if ($lastApproval?->comments)
<p><strong>Comments:</strong> {{ $lastApproval->comments }}</p>
@endif
<p>
<a href="{{ route('travel-requests.show', $travelRequest) }}">View your request</a>
</p>
<p>Travel Request System</p>

View File

@@ -0,0 +1,18 @@
<p>Dear {{ $approver->name }},</p>
<p>A travel request has been submitted and requires your approval.</p>
<p>
<strong>Request #:</strong> {{ $travelRequest->id }}<br>
<strong>Submitted by:</strong> {{ $travelRequest->user->name }} ({{ $travelRequest->user->email }})<br>
<strong>Reason:</strong> {{ $travelRequest->reason_summary }}<br>
<strong>Submitted:</strong> {{ $travelRequest->submitted_at?->format('d M Y H:i') }}
</p>
<p>
<a href="{{ $signedUrl }}">Click here to review and approve or reject this request</a>
</p>
<p>This link is signed and will expire. Please action it promptly.</p>
<p>Travel Request System</p>