Invoice Report

@php $total_qty = 0; $total_amount = 0; @endphp @foreach($product as $value) @php $total_qty += $value->total_item; $total_amount += $value->total_amount; @endphp @endforeach
OrderID Order Date Customer Phone Payment Delivery Item Qty Amount
{{ $value->id }} {{ $value->order_date }} {{ $value->customer_name }} {{ $value->phone }} @if($value->payment_status == 1) Paid@else Unpaid@endif @if($value->payment_status == 0) Pending @elseif($value->payment_status == 1) On Process @elseif($value->payment_status == 2) On Delivery @else Delivery@endif {{ $value->total_item }} {{ $value->total_amount - $value->coupon_discount }}
Total = {{ $total_qty }} {{ $total_amount }} {{ getCurrentCurrency()->code }}