{{ $match->match_date?->format('D, d M Y') }} @if($match->water) {{ $match->water->name }} @endif @if($match->is_league && $match->league) {{ $match->league->name }} @endif

{{ $match->name }}

{{ $match->description ?: 'Match details and results.' }}

Match Details

Draw Time{{ $match->draw_time ?: '-' }}
Rods In{{ $match->rods_in_time ?: '-' }}
Rods Out{{ $match->rods_out_time ?: '-' }}
Entry Fee{{ !is_null($match->entry_fee) ? '£'.number_format((float) $match->entry_fee, 2) : '-' }}
Pools{{ !is_null($match->pools_fee) ? '£'.number_format((float) $match->pools_fee, 2) : '-' }}
Max Anglers{{ $match->max_anglers ?: '-' }}
Organiser{{ $match->organiser ?: '-' }}

Prizes

1st Prize
{{ !is_null($match->first_prize) ? '£'.number_format((float) $match->first_prize, 2) : '-' }}
2nd Prize
{{ !is_null($match->second_prize) ? '£'.number_format((float) $match->second_prize, 2) : '-' }}
3rd Prize
{{ !is_null($match->third_prize) ? '£'.number_format((float) $match->third_prize, 2) : '-' }}
Biggest Fish
{{ !is_null($match->biggest_fish_prize) ? '£'.number_format((float) $match->biggest_fish_prize, 2) : '-' }}

Rules

{{ $match->rules ?: 'No match rules added yet.' }}

Results

{{ $match->scoring_method === 'weight_points' ? 'Scored by weight and points' : 'Published results' }}
@if($match->entrants->isNotEmpty())
@foreach($match->entrants->sortBy(fn ($entrant) => [$entrant->position ?? 9999, $entrant->peg_number ?? '']) as $entrant) @endforeach
Pos Angler Peg Weight Points Biggest Fish
{{ $entrant->position ?: '-' }}
{{ $entrant->angler_name }}
@if($entrant->notes)
{{ $entrant->notes }}
@endif
{{ $entrant->peg_number ?: '-' }} @if(!is_null($entrant->weight_lbs) || !is_null($entrant->weight_oz)) {{ (int) $entrant->weight_lbs }}lb {{ (int) $entrant->weight_oz }}oz @else - @endif {{ !is_null($entrant->points) ? rtrim(rtrim(number_format((float) $entrant->points, 2, '.', ''), '0'), '.') : '-' }} @if($entrant->biggest_fish_species) {{ $entrant->biggest_fish_species }} @if(!is_null($entrant->biggest_fish_lbs) || !is_null($entrant->biggest_fish_oz)) ({{ (int) $entrant->biggest_fish_lbs }}lb {{ (int) $entrant->biggest_fish_oz }}oz) @endif @else - @endif
@else
No results have been added yet.
@endif