@if(user_can('Delete Book Amenity'))
|
|
@endif
{{ $group->first()->id }}
|
{{ $group->first()->amenity->amenities_name }}
|
{{ $group->first()->user->name }}
|
{{ \Carbon\Carbon::parse($group->first()->booking_date)->format('d F Y') ?? '--' }}
|
@if($group->count() > 1)
{{ ucFirst($group->first()->booking_type) }}
@else
{{ \Carbon\Carbon::createFromFormat('H:i:s', $group->first()->booking_time)->format('h:i A') }}
@endif
|
{{ $group->first()->amenity->slot_time }} min
|
@if($group->first()->persons == 'null' || $group->first()->persons == 0 || $group->count() > 1)
--
@else
{{ $group->first()->persons }}
@endif
|
@if(user_can('Update Book Amenity') || $group->first()->booked_by == auth()->id())
@lang('app.update')
@endif
@if(user_can('Delete Book Amenity') || $group->first()->booked_by == auth()->id())
@endif
|
@empty