Petro-Excel Sdn Bhd

{{ $title }}

Hello {{ $name }},

Please approve or reject each claim item first. Once all items are done, you can review the claim.

Applicant: {{ $claim_header->user->email }}
Claim: {{ $claim_header->name }}
Total Amount: {{ number_format($claim_header->total_amount, 2) }}
Remark: {{ $claim_header->remark ?: '-' }}
@foreach($claim_items as $item) @php $action_at = $type == 'manager' ? $item->manager_action_at : $item->director_action_at; $approved = $type == 'manager' ? $item->manager_approved : $item->director_approved; @endphp
{{ $loop->iteration }}. {{ $item->name }}
Amount: {{ number_format($item->amount, 2) }}
Date: {{ $item->date ? \Carbon\Carbon::parse($item->date)->format('Y-m-d') : '-' }}
Remark: {{ $item->remark ?: '-' }}
Status: @if($action_at) @if($approved) Approved @else Rejected @endif @else Pending @endif
@if(!$action_at)
@csrf
@endif
@endforeach @if($pending_item_count > 0)
Pending Items: {{ $pending_item_count }}
Please approve or reject all claim items before reviewing the claim.
@else
@csrf
@endif