Receivable Report

@if (session()->has('error'))
{{ session('error') }}
@endif @if (session()->has('success'))
{{ session('success') }}
@endif @if (session()->has('warning'))
{{ session('warning') }}
@endif

              
showTermClass) style="display:block;" @else style="display:none;" @endif>
showCustomDateRangeClass) style="display:block;" @else style="display:none;" @endif>
showSpecificDateClass) style="display:block;" @else style="display:none;" @endif>
showPaidDateRangeClass) style="display:block;" @else style="display:none;" @endif>
The numbers should be separated by commas and without spaces. For example 1234,2022-64358-A,5686461
@php $totaltaxamount = 0; @endphp @if ($records->count() > 0) @foreach($records as $record) @php $taxAmount = (!empty($record->finaltotal) && !empty($record->taxpercentage)) ? ($record->finaltotal * $record->taxpercentage) / 100 : 0; $totaltaxamount += $taxAmount; $invoiceRowAmount = $record->finaltotal + $taxAmount; $amount_paid = (float)($record->amount_paid ?? 0); @endphp @endforeach @else @endif
File# Invoice # Owner Name Office Insurance Bulk Paying? Claim # Policy # Invoice Date Total Tax Amount Paid Balance Actions
invoiceID, $invoices_selected) ? 'checked' : '' }} class="checkbox checkbox-lg"> {{ $record->file_no }} {{ $record->invoiceno }} {{ $record->business_first_name }} {{ $record->business_last_name }} {{ $record->officename }} {{ $record->insurancecompanyname }} {{ $record->paying_type == 'single' ? 'NO' : 'YES' }} {{ $record->claim_number }} {{ $record->policy_number }} {{ $record->gen_date ? \Carbon\Carbon::parse($record->gen_date)->format('m-d-Y') : '' }} {{ $record->finaltotal !== null ? '$' . number_format($record->finaltotal, 2) : '' }} {{ isset($taxAmount) ? '$' . number_format($taxAmount, 2) : '' }} {{ '$' . number_format((float)$record->amount_paid, 2) }} ${{ number_format(((float)($invoiceRowAmount ?? 0)) - ((float)($record->amount_paid ?? 0)), 2) }}
{{ $no_records_found_message }}
Total : ${{ number_format($totalinvoiceAmount, 2) }} ${{ number_format($totalTaxAmount, 2) }} ${{ number_format($totalpaidAmount, 2) }} ${{ number_format(($totalinvoiceAmount + $totalTaxAmount) - $totalpaidAmount, 2) }}

Total Invoices (inc Tax): ${{number_format(($totalinvoiceAmount + $totalTaxAmount), 2)}}



@if ($records instanceof \Illuminate\Pagination\LengthAwarePaginator || $records instanceof \Illuminate\Pagination\Paginator) {{ $records->links() }} @endif
@if ($showBulkPaymentModal) @endif
@if ($showEmailInvoiceModal) @endif