@extends('frontend.layouts.member-app')
@section('content')
@if($present_registrations && count($present_registrations) > 0)
| 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 ) @endif |
| 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))}} | @if(empty($slot->registrations) || $slot->registrations->count() == 0)registrations && $slot->registrations->count() > 0) rowspan="{{$slot->registrations->count()+1}}" @endif>
{{($slot->slot_player_allow - get_remaining_slot($slot->id))}} |
@endif
|||
| {{$registrations->tee_category?$registrations->tee_category->name:''}} | {{$registrations->membership_no}} | {{$registrations->golfer_name}} | @if($loop->first)registrations && $slot->registrations->count() > 0) rowspan="{{$slot->registrations->count()}}" @endif>
{{($slot->slot_player_allow - get_remaining_slot($slot->id))}} |
@endif