@extends('layouts.app') @section('content') @include('inc.h') @include('sweetalert::alert') @include('inc.s')
All Bookings
@if($bookings->count() > 0) @foreach ($bookings as $item) @endforeach
User Items Price Date Paid Mark Complete?
@isset($item->user_id) {{$item->user->name}} @else {{$item->user_name}} @endisset {{$item->itemName}} ₦{{$item->price}} @if ($item->paid == 1) {{$item->updated_at->toDateTimeString()}} @else Unpaid @endif @if ($item->paid == 1) @if ($item->completed == 0) Mark Complete @else
Completed
@endif @else @endif
{!! $bookings->links() !!} @else

You have yet to add a booking item. Add One Here

@endif
@stop