@extends('layouts.app') @section('header_h')

{{ $competition->name }}

{{ $competition->name }}

@endsection @section('content')
@if (session('success')) @endif

Uczestnicy

Zarejestrowani zawodnicy

Pobierz
@if($competition->insurance_enabled) @endif @foreach ($competition->adminMembers as $member) {{-- --}} {{-- --}} {{-- {{ dd($member)}} --}} @if ($member->category[0]->pivot->payment_status == '1') @elseif ($member->category[0]->pivot->payment_status == '0') @else @endif {{-- @if ($member->paymentStatus($member->category->where('competition_id', $competition->id)->first()->id) == '1') @elseif ($member->paymentStatus($member->category->where('competition_id', $competition->id)->first()->id) == '2') @else @endif --}} @if($competition->insurance_enabled) @endif {{-- {{ $member->category->where('competition_id', $competition->id)->first()->id }} --}} @endforeach
# Imię i Nazwisko Miasto Klub Konkurencja PłatnośćUbezpieczenieUsuń/Edytuj
{{$loop->iteration}} {{ $member->surname }} {{ $member->name }} {{ $member->city }} @if(isset($member->clubs[0]->name)) {{ $member->clubs[0]->name }} @else Brak @endif {{ $member->category->where('competition_id', $competition->id)->first()->name }} @if (isset($member->category[0]->name)) {{$member->category[0]->name}} @endif @if($member->classification($member->categoryId($competition->id))->count()) {{ $member->classification($member->categoryId($competition->id))->first()->name }} @else Brak @endif @php $ins_pivot = $member->category[0]->pivot; @endphp @if(!empty($ins_pivot->udao_order_number)) {{ $ins_pivot->udao_order_number }} @if($ins_pivot->insurance_total) {{ number_format($ins_pivot->insurance_total, 2, ',', ' ') }} zł @endif @else @endif |
{{-- @if (count($errors) > 0)
Whoops! There were some problems with your input.
@endif --}} @endsection