@php $row_count = request()->row_count??0; @endphp @forelse ($orderHistory as $odr) @empty @endforelse
Sl Order No. Date Customer Name Net Total Bill Status Payment Status Action
{{ ++$row_count }} {{ $odr->invoice_no }} {{ $odr->date }} {{ $odr->party->name_eng }} {{ $odr->net_total }} {{ $odr->status == 1 ? 'Completed' : 'Pending' }} {{ $odr->pay_status == 2 ? 'Paid' : ($odr->pay_status == 1 ? 'Partial Paid' : 'Pending') }}
Total Products: {{ number_format($orderHistory->total()) }}