initial
This commit is contained in:
17
resources/views/mail/approval-decision.blade.php
Normal file
17
resources/views/mail/approval-decision.blade.php
Normal 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>
|
||||
Reference in New Issue
Block a user