@extends('layouts.portal_theme_01') @section('customcss') @section('content') @php $cart = $data['cart']??[]; $products = $data['products']??[]; $total =0; // echo __FUNCTION__ . " " . json_encode($data) . "\n"; // exit; $product_ids = []; $name_parts = explode(" ", $cart['cust_name'])??[]; @endphp
@if($cart)

Cart Summary

Summary of your cart is shown below.
Please review the details and click 'Pay Now' to proceed with the payment.'



@php $i = 0; @endphp @foreach($products as $product) @php $product_ids[] = $product['product_id']; $i++; @endphp
Sl. No. Item Qty Cost Sale Price
{{ $i }} {{ $product['product_name'] }} {{ $product['qty'] }} {{ ( $product['unit_cost'] + $product['package_cost'] + $product['cgst'] + $product['sgst'] - $product['discount']) * $product['qty'] }} @php $total = (( $product['unit_cost'] + $product['cgst'] + $product['sgst'] - $product['discount']) * $product['qty'] ) + $product['package_cost']; @endphp {{ $total }} ₹
@endforeach
@csrf

Make Payment of {{ $total }} ₹

Please note, you will be redirected to a safe and secure payment gateway to complete with the payment.

@foreach($data['args'] as $key => $value) @endforeach
@else

Your Cart is Empty

Add some ehtnic cloths which make you :)

continue shopping
@endif
@endsection @section('script') @endsection