@extends('layouts.app') @section('title','Checkout') @section('content')

Checkout

@if($items->isEmpty())
Your cart is empty. Shop products
@else
@csrf

Delivery details

{{ $customer->customer_name }} · {{ $customer->customer_mobile }}
{{ $customer->customer_email }}

Your order

@foreach($items as $item)

{{ $item->product_name }} × {{ $item->quantity }} ₹{{ number_format($item->product_rate*$item->quantity,2) }}

@endforeach

Subtotal: ₹{{ number_format($items->sum(fn($item)=>$item->product_rate*$item->quantity),2) }}

Home delivery: ₹{{ config('naminicare.shipping') }}

Your payment is completed on the payment provider’s secure checkout.

@endif @endsection