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

Checkout

@if(session('error'))
{{ session('error') }}
@endif @if(session('success'))
{{ session('success') }}
@endif

Order Summary

@foreach(Cart::items() as $id => $details)

{{ ucwords($details['name']) }}

Date: {{ \Carbon\Carbon::parse($details['date'])->format('D, d M Y') }}

{{ isset($details['time_slot']) ? 'Time: '. $details['time_slot'] : '' }}

Slots: {{ $details['slots'] }}

₹{{ $details['price'] * $details['slots'] }}
@endforeach
Sub Total ₹{{ Cart::subtotal() }}
Online Seva Fee ₹{{ Cart::onlineFee() }}
Total ₹{{ Cart::total() }}

Contact Information

@csrf

Address Details

Cancel
Powered By
Razorpay
@endsection