| Generated on: {{ now()->format('M d, Y H:i:s') }} | Page {PAGENO} of {nbpg} |
Event DetailsStart Date: {{ $event->start_date->format('M d, Y') }} End Date: {{ $event->end_date->format('M d, Y') }} Total Days: {{ $totalDays }} Daily Amount: {{ number_format($event->daily_amount, 2) }} |
Attendance Summary@php $bannedCount = $attendees->filter(function($attendee) { return \Vanguard\BannedAttendee::where('id_number', $attendee->id_number)->exists(); })->count(); @endphpTotal Registered: {{ $attendees->count() }} Completed Training: {{ $attendees->where('completed', true)->count() }} In Progress: {{ $attendees->where('completed', false)->count() }} Banned: {{ $bannedCount }} Total Amount: {{ number_format($attendees->sum('total_amount'), 2) }} |
| Name | ID Number | Phone | Days | Amount | Status | Signature | |
|---|---|---|---|---|---|---|---|
| {{ $attendee->name }} | {{ $attendee->id_number }} | {{ $attendee->phone_number }} | {{ $attendee->email }} |
{{ $attendee->days_attended }}
{{ implode(', ', $attendanceDates[$attendee->id_number]) }}
|
{{ number_format($attendee->total_amount, 2) }} |
@if($isBanned)
Banned
Reason: {{ $isBanned->reason }}
@elseif($attendee->completed)
Completed
@else
In Progress
@endif
Date: {{ $isBanned->banned_at->format('M d, Y') }} |
|