@php use App\Services\Cart; @endphp @extends('layouts.app') @section('title', 'Booking List') @section('content')

Booking List

@if(session('cart') && count(session('cart')) > 0)

Your Seva Bookings

{{ count(session('cart')) }} items
@foreach(Cart::items() as $id => $details) @endforeach
Seva Details Booking Date Tickets Total Actions
{{ $details['name'] }}
{{ ucwords($details['name']) }}
{{ $details['category_name'] }}
₹{{ $details['price']}}
{{ \Carbon\Carbon::parse($details['date'])->format('D, d M Y') }}
{{ $details['time_slot'] ?? ''}}
{{ $details['slots'] }}
₹{{ $details['price'] * $details['slots'] }}
@csrf @method('DELETE')
Total: ₹{{ Cart::subtotal() }}
@else

Your booking list is empty

Looks like you haven't added any sevas to your cart yet.

Browse Sevas
@endif
@endsection