{{-- resources/views/admin/tolly_fest_point/pdf.blade.php --}} {{ $point->point_title }}

{{ $point->point_title }}

Tolly Fest Points Matrix

Date: {{ $point->date ? $point->date->format('d M Y') : 'N/A' }}

@foreach($disciplines as $discipline) @endforeach @foreach($teams as $team) @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 @endforeach @endforeach @foreach($disciplines as $discipline) @endforeach
Team Name{{ $discipline->discipline_name }}Total
{{ $team->notice_title }}{{ $displayPoints }}{{ number_format($teamTotals[$team->id] ?? 0, 0) }}