📊 Average Invoice Report Back to Multi Report

Showing {{ (($currentPage - 1) * $perPage) + 1 }} to {{ min($currentPage * $perPage, $totalRecords) }} of {{ $totalRecords }} records
Average Invoice Amount: {{ number_format($averageInvoiceAmount, 2) }}
@foreach ($records as $index => $record) @endforeach
S.No File No Invoice No Invoice Amount
{{ (($currentPage - 1) * $perPage) + $index + 1 }} {{ $record->file_no }} {{ $record->invoiceno }} {{ $record->invoice_amount }}
@if($totalPages > 1)
@for($i = max(1, $currentPage - 2); $i <= min($totalPages, $currentPage + 2); $i++) @if($i == $currentPage) {{ $i }} @else @endif @endfor
@endif