@extends('layouts.app') @section('title', 'Checkout — ' . config('app.name')) @section('header')

{{ __('Checkout') }}

@endsection @push('styles') @endpush @section('content')
@if ($cartItems->isEmpty())
Your cart is empty. Browse services to add something first.
@else
@csrf

When do you need this?

Service address

@foreach ($addresses as $address)
first)>
@endforeach
isEmpty())>

Order summary

@php($total = 0) @foreach ($cartItems as $item) @php($price = $estimates->get($item->id)) @php($total += $price ?? 0)
{{ $item->service->name }} {{ $price !== null ? '₹'.number_format($price, 2) : 'Price on assignment' }}
@endforeach
Estimated total ₹{{ number_format($total, 2) }}

Final price is confirmed once a professional is assigned to your booking.

@endif
@push('scripts') @endpush @endsection