{{--
--}}
{{--
--}}
{{--

Submit New Category

@if(empty($selected_tournament) || empty($selected_tournament_event))

Please select tournament and event first before entering data.

@endif @if(!empty($selected_tournament_event)) Tournament Event: {{ $selected_tournament_event->name }} @endif @if(!empty($selected_tournament)) Tournament: {{ $selected_tournament->name }} @endif
--}}
@if(!empty($tournament->director)) Tournament Director: {{ $tournament->director }} @endif @if(!empty($tournament->finance)) Finance: {{ $tournament->finance }} @endif
@error('name')

{{ $message }}

@enderror @error('email')

{{ $message }}

@enderror
@error('phone_number')

{{ $message }}

@enderror @error('home')

{{ $message }}

@enderror
Entry Fee:
@if(!empty($tournament->fee_descriptions)) @foreach ($tournament->fee_descriptions as $description)

{{ $description->fee_description }}

@endforeach @endif
@if(!empty($tournament->fee_notes)) @foreach ($tournament->fee_notes as $fee_note)

{{ $fee_note->notes }}

@endforeach @endif @if(!empty($tournament->fee_sub_notes)) @foreach ($tournament->fee_sub_notes as $fee_sub_note)

{{ $fee_sub_note->sub_notes }}

@endforeach @endif
@if(!empty($tournament->format_descriptions)) @foreach ($tournament->format_descriptions as $format_description)
{{ $format_description->description }}
@endforeach @endif
@if(!empty($tournament->events) && count($tournament->events) > 0 ) @foreach ($tournament->events as $tournament_event)
{{ $tournament_event->getFormattedDateRange() }} {{ $tournament_event->name }} Deadline | {{ $tournament_event->getDeadline() }}
@if(!empty($tournament_event->categories) && count($tournament_event->categories) > 0 ) @foreach ($tournament_event->categories as $category)
@if($category->type != "doubles")
@if(!empty($category->options) && count($category->options) > 0 ) @foreach ($category->options as $option)
@endforeach @endif
@else
@if(!empty($category->options) && count($category->options) > 0 ) @foreach ($category->options as $option)
@php $double_partner_request = \App\Models\RegisteredOptions::check_double_partner_request(Auth::user()->id, $option->id); @endphp
@if ($category->type === 'doubles')
{{-- @if(count($double_partner_request) == 0 || empty($double_partner_request)) --}}
{{-- @else @if(!empty($double_partner_request) && count($double_partner_request) > 0) @foreach ($double_partner_request as $request)
Partner Request: {{ $request->partner->name }}
@endforeach @endif @endif --}}
@if(\App\Models\PlayerRegistration::hasConfirmedPartner($option->id))
@else @if(!empty( $double_partner_request) && count( $double_partner_request ) > 0)
@endif @endif @endif
@endforeach @endif
@endif
@endforeach @endif
@endforeach @endif
TOURNAMENT FEES
@if(!empty($tournament->tournament_fees)) @foreach ( $tournament->tournament_fees as $tournament_fee)
{{ $tournament_fee->fee_name }}:

@if(!empty($tournament_fee->fee_first_event_payment)) 1st Event ${{ $tournament_fee->fee_first_event_payment }} @if(!empty($tournament_fee->fee_additional_event_payment)) + Additional @endif @endif @if(!empty($tournament_fee->fee_additional_event_payment)) Events ${{ $tournament_fee->fee_additional_event_payment }} @endif

@endforeach @endif
@if(!empty($tournament->rule_descriptions)) @foreach ($tournament->rule_descriptions as $rule_description)
{{ $rule_description->description }}
@endforeach @endif
@if(!empty($tournament->waiver_descriptions)) @foreach ($tournament->waiver_descriptions as $waiver_description)
{{ $waiver_description->description }}
@endforeach @endif
     @error('acceptTerms') {{ $message }} @enderror
{{-- @error('selectedOptions') {{ $message }} @enderror @error('selectedPartners') {{ $message }} @enderror @if ($errors->any())
@foreach ($errors->all() as $error)

{{ $error }}

@endforeach
@endif --}} @if ($errors->any()) @foreach ($errors->all() as $error) @endforeach @endif {{-- @foreach ($errors->get('selectedOptions.*') as $errorMessages) @foreach ($errorMessages as $errorMessage) @endforeach @endforeach --}}
{{-- Cancel --}} {{-- @if($status == "inactive") --}} {{-- @else @endif --}}
@teleport('body') @endteleport