@extends('frontend.master.master') @section('computer')
@endsection @section('content')| no. | Order id | Product | Quantity | Price | Total | Date | Status |
|---|---|---|---|---|---|---|---|
| {{ $sl+1 }} | {{ $order->order_id }} | {{ $order->rel_to_product->product_name }} | @php $order_prices = $order->price * $order->quantity; $total_order_price += $order_prices; $sum_quantity += $order->quantity; // $order_coupons = $order_prices - $order->coupon_price; @endphp{{ $order->quantity }}x | {{ $order->price }}Tk | {{ $total_order_price }}x | {{ $order->created_at->format('d-M-Y') }} | @if ($order->status == 0) Pending @elseif ($order->status == 1) Confirm @elseif ($order->status == 2) Packaging @elseif ($order->status == 3) Shipping @else Delivered @endif |
Sub Total : {{ number_format($total_order_price) }} Tk
Delevary Charge : + {{ number_format($orderproducts->first()->charge) }} Tk
Discount : - {{ number_format($orderproducts->first()->coupon_price) }} Tk
Total : {{ number_format($total) }} Tk