@extends('layouts.portal_theme_01') @section('customcss') @section('content') @php $cart = $data['cart']??[]; $total =0; @endphp
@if($cart) @php $cart = $data['cart']??[]; $products = $data['products']??[]; $total =0; $product_ids = []; $name_parts = explode(" ", $cart['cust_name'])??[]; @endphp
@foreach($products as $product) @php $product_ids[] = $product['product_id']; @endphp

{{ $product['product_name'] }}

@if(!empty($product['images']))
{{ $product['product_name'] }}
@endif
Qty Unit Cost Package Cost GST Discount Offer Price
{{ $product['qty'] }} {{ $product['unit_cost'] }} {{ $product['package_cost'] }} {{ $product['cgst'] + $product['sgst'] }} {{ $product['discount'] }} @php $total = (( $product['unit_cost'] + $product['cgst'] + $product['sgst'] - $product['discount']) * $product['qty'] ) + $product['package_cost']; @endphp {{ $total }} ₹
@endforeach
{{--
--}} @csrf

Pay this Invoice

Make payment for this invoice by filling in the details

@else

Your Cart is Empty

Add some ehtnic cloths which make you :)

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