{{-- resources/views/admin/tolly_fest_point/pdf.blade.php --}}
Tolly Fest Points Matrix
Date: {{ $point->date ? $point->date->format('d M Y') : 'N/A' }}
| Team Name | @foreach($disciplines as $discipline){{ $discipline->discipline_name }} | @endforeachTotal |
|---|---|---|
| {{ $team->notice_title }} | @foreach($disciplines as $discipline) @php $key = $team->id . '-' . $discipline->id; $currentPoints = isset($points[$key]) ? $points[$key]->points : 0; $displayPoints = ($currentPoints == floor($currentPoints)) ? (int)$currentPoints : $currentPoints; @endphp{{ $displayPoints }} | @endforeach{{ number_format($teamTotals[$team->id] ?? 0, 0) }} |
| Discipline Total | @foreach($disciplines as $discipline){{ number_format($disciplineTotals[$discipline->id] ?? 0, 0) }} | @endforeach{{ number_format($grandTotal, 0) }} |