@extends('layouts.admin') @section('content')
@if(session('message'))
{{ session('message') }}
@endif

{{ __('Bookings') }}

{{-- {{ __('create new')}} --}}
{{-- --}} @forelse($bookings as $booking) @empty @endforelse
No Payment Date Time Service Customer Name Contact ActionsAction
{{ $loop->iteration }} @if ($booking->status === 'Cash') {{ $booking->status }} @else @if ($booking->status === 'Paid') Cashless - Paid @elseif ($booking->status === 'Unpaid') Cashless - Unpaid @endif @endif {{ $booking->date }} @if($booking->schedule) {{ $booking->schedule->start_time }} - {{ $booking->schedule->end_time }} @else Schedule Deleted @endif {{ $booking->category }} - {{ $booking->service_name }} ({{ number_format($booking->total, 0, '.', '.') }}) {{ $booking->name }} {{ $booking->handphone }}
@csrf @method('DELETE')
{{ __('Booking Data Empty') }}
@endsection