@extends('admin_dashboard')
@section('admin')
| Image |
Product Name |
Product Code |
Quantity |
Unit Price |
Total Discount |
Total(+vat) |
@foreach($orderItem as $item)
|
{{ $item->product->product_name }} |
{{ $item->product->product_code }} |
{{ $item->quantity }} |
{{ $item->unitcost }} |
{{ ($item->discount_amount ?? '0') * $item->quantity}} |
{{-- | --}}
{{ $item->total}} |
@endforeach
Amount Before Discount: Tk. {{ $order->total }}
Total Discount: Tk. {{ $totalDiscount }}
Total Payment: Tk. {{ $totalAmount }}
{{-- Total: $ {{ $order->user->name }} --}}
|
@endsection