@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 ContactAction
{{ $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 }} {{ $booking->schedule->start_time }} - {{ $booking->schedule->end_time }} {{ $booking->category }} - {{ $booking->service_name }} ({{ number_format($booking->total, 0, '.', '.') }}) {{ $booking->name }} {{ $booking->handphone }}
@csrf @method('delete')
{{ __('Booking Data Empty') }}
{{-- --}}
@endsection