@if(request()->isMethod('post')) @if(isset($reportData) && count($reportData) > 0)
@php $totalBillSum = 0; $totalDueSum = 0; @endphp @foreach($reportData as $key => $value) @php $totalBillSum += $value->total_bill; $totalDueSum += $value->due_amount; @endphp @endforeach
S/L Invoice No Name Mobile Address Total Bill Total Due Action
{{ $key + 1 }} {{ $value->invoice_code }} {{ $value->customer_name }} {{ $value->mobile }} {{ $value->address }} {{ number_format($value->total_bill, 2) }} {{ number_format($value->due_amount, 2) }} View Print
Total Summary: {{ number_format($totalBillSum, 2) }} {{ number_format($totalDueSum, 2) }}
@else

No Due Data Found!

We couldn't find any due invoices matching your search criteria.
Please change the date range or customer and try again.

@endif @else

Ready to Search

Select your desired date range, warehouse, or customer from the top filter and click Search to load the due invoices.

@endif