Zawody
{{ $competition->name }}
Zawodnik
{{ $member->name }} {{ $member->surname }}
Konkurencja
{{ $category->name }}
Opłata
{{ $category->cost() }} zł
Dodatkowe informacje
{{-- {{ dd($ayn) }} --}}
@forelse ($array as $id => $value)
@if($loop->first)
@endif
{{ $id }} - {{ $value }}
@empty
@endforelse
@forelse ($array_atf as $id => $value)
{{-- @if($loop->first)
Dodatkowe informacje
@endif --}}
{{ $id }} - {{ $value }}
@empty
@endforelse
@forelse ($array_lst as $lst_name => $lst_element_name)
{{-- @if($loop->first)
Dodatkowe informacje
@endif --}}
{{ $lst_name }} - {{ $lst_element_name }}
@empty
@endforelse
Klub
@if (isset($club) AND ($club instanceof App\Club))
{{ $club->name }}
@elseif(isset($club))
{{ $club }}
@else
Nie dotyczy
@endif
@php
$insuranceSession = session('insurance');
$insuranceCost = ($competition->insurance_enabled && isset($insuranceSession['choice']) && $insuranceSession['choice'] === 'yes')
? (float)($insuranceSession['total'] ?? 0)
: 0;
$entryCost = (float)$category->cost();
$totalCost = $entryCost + $insuranceCost;
@endphp
@if($competition->insurance_enabled && $insuranceSession)
Ubezpieczenie UDAO
@if($insuranceSession['choice'] === 'yes')
@if(!empty($insuranceSession['package_names']))
@foreach($insuranceSession['package_names'] as $name)
✔ {{ $name }}
@endforeach
@else
Wybrano {{ count($insuranceSession['packages'] ?? []) }} pakiet(ów)
@endif
Koszt ubezpieczenia:
{{ number_format($insuranceCost, 2, ',', ' ') }} zł
@else
Brak ubezpieczenia
@endif
@endif
@if($insuranceCost > 0)
Do zapłaty łącznie
Wpisowe {{ number_format($entryCost, 2, ',', ' ') }} zł + ubezpieczenie {{ number_format($insuranceCost, 2, ',', ' ') }} zł
{{ number_format($totalCost, 2, ',', ' ') }} zł
@endif