@extends('layouts.app') @section('content')
{{ __('Bookings') }}
@Auth @if (session('status')) @endif @foreach($bookings as $key=>$booking) @endforeach
No. Name Mobile Room Check In Check Out Confirmed Action
{{$key+1}} {{$booking->customer->name}} {{$booking->customer->mobile}} {{$booking->roomPref}} {{$booking->checkInDate}} {{$booking->checkOutDate}} @if($booking->confirmed) @else @endif @if($booking->confirmed)
@csrf @method('PUT')
@else
@csrf @method('PUT')
@endif
@method('DELETE') @csrf
@else {{ __('You should log in!') }} @endauth
@endsection