@if (!is_null($reservation->table_id))
(!is_null($reservation->table_id)), 'bg-yellow-200 text-yellow-800' => (is_null($reservation->table_id))])>

{{ $reservation->table->table_code }}

@endif @if (is_null($reservation->table_id) && user_can('Update Reservation')) @lang('modules.order.setTable') @endif ($reservation->reservation_status == 'No_Show'), 'bg-blue-100 text-blue-800 dark:bg-blue-700 dark:text-blue-400 border border-blue-400' => ($reservation->reservation_status == 'Checked_In'), 'bg-green-100 text-green-800 dark:bg-gray-700 dark:text-green-400 border border-green-400' => ($reservation->reservation_status == 'Confirmed'), 'bg-red-100 text-red-800 dark:bg-red-700 dark:text-red-400 border border-red-400' => ($reservation->reservation_status == 'Cancelled'), 'bg-yellow-100 text-yellow-800 dark:bg-yellow-700 dark:text-yellow-400 border border-yellow-400' => ($reservation->reservation_status == 'Pending'), ])> @lang('modules.reservation.' . $reservation->reservation_status)
{{ $reservation->party_size }} @lang('modules.reservation.guests')
{{ $reservation->reservation_date_time->translatedFormat('d M, h:i A') }}
{{ $reservation->customer->name }}
@if (!is_null($reservation->customer->email))
{{ $reservation->customer->email }}
@endif @if (!is_null($reservation->customer->phone))
{{ $reservation->customer->phone }}
@endif
@if (!is_null($reservation->special_requests))
{{ $reservation->special_requests }}
@endif
@if (user_can('Update Reservation')) @endif
@if ($tableReservation) @lang('modules.table.availableTables') @livewire('reservations.assignTable', ['reservation' => $tableReservation]) @endif