@if (count($ordered_products) > 0) @php($subtotal = 0) @foreach ($ordered_products as $ordered_product) @php($subtotal += $ordered_product->total_price) @endforeach
Order Summary
Sub Total Tk {{ number_format($subtotal) }}
Ecom Discount Tk {{ $order->special_discount }}
Delivery Charge Tk {{$shipingCost}}
@php($sp_discount = 0) @if ($customerDiscount)
Surprise Discount! Tk 0
@php($sp_discount = $customerDiscount->discount_price) @endif
Grand Total Tk 0
@endif