@extends('frontend.layouts.member-app') @section('content')
@if($present_registrations && count($present_registrations) > 0)
@foreach($present_registrations as $p_registration) @endforeach
Mem. No. Tournament Date Time Action
{{ $p_registration->membership_no }} {{ $p_registration->tournament->tour_name }} {{ date('d-m-Y', strtotime($p_registration->slot->slot_date)) }} {{date('g:i A', strtotime($p_registration->slot->slot_start))}} - {{date('g:i A', strtotime($p_registration->slot->slot_end))}} @if($p_registration->paid == 0 && $p_registration->tournament->registration_end > date('Y-m-d H:i:s') && session()->get('logged_main_membership_no') == $p_registration->membership_no )
@csrf @method('PUT')
@endif
@endif @if($tournaments)
@if(session()->has('error'))

{{session()->get('error')}}

@endif @if(session()->has('success'))

{{session()->get('success')}}

@endif
@if(request()->tour_id)
@endif
@if(request()->tour_id && request()->teeoff_date)

Teeoff for the Date {{request()->date}}

@foreach($tournament_tee_slots as $slot) @if(empty($slot->registrations) || $slot->registrations->count() == 0) @endif @if($slot->registrations) @foreach($slot->registrations as $registrations) @if($loop->first) @endif @endforeach @endif @endforeach
FN Tee Off Time Tee Cat. Mem. No. Name Remainig Slots
registrations && $slot->registrations->count() > 0) rowspan="{{$slot->registrations->count()+1}}" @endif >{{$loop->index + 1}} registrations && $slot->registrations->count() > 0) rowspan="{{$slot->registrations->count()+1}}" @endif > {{date('g:i A', strtotime($slot->slot_start))}} - {{date('g:i A', strtotime($slot->slot_end))}} registrations && $slot->registrations->count() > 0) rowspan="{{$slot->registrations->count()+1}}" @endif> {{($slot->slot_player_allow - get_remaining_slot($slot->id))}}
{{$registrations->tee_category?$registrations->tee_category->name:''}} {{$registrations->membership_no}} {{$registrations->golfer_name}} registrations && $slot->registrations->count() > 0) rowspan="{{$slot->registrations->count()}}" @endif> {{($slot->slot_player_allow - get_remaining_slot($slot->id))}}
@endif @else

No available tournament

@endif @if(request()->tour_id && request()->teeoff_date) @endif @endsection @section('footer_scripts') @endsection