@extends('layouts.app') @section('title', 'Payment Reports · ' . ($appSettings['shop_name'] ?? 'Saai Digital')) @section('content')

Monthly Payment Reports

Track monthly collections on an invoice-by-invoice and customer-wise basis.

Reset
Total Billed

₹{{ number_format($summary['total_billed'], 2) }}

{{ $summary['total_invoices'] }} invoices

Total Collected

₹{{ number_format($summary['total_collected'], 2) }}

Received in selected month

Balance Due

₹{{ number_format($summary['total_balance'], 2) }}

Pending collection

Active Customers

{{ $summary['total_customers'] }}

Billed this month

@forelse($invoices as $inv) @empty @endforelse
Action Invoice No Date Customer Mobile Job Name Mode Billed Collected Balance Status
@if($inv->balance > 0.01) @else Settled @endif {{ $inv->booking_no }} {{ date('d-m-Y', strtotime($inv->booking_date)) }} {{ $inv->customer_name }} {{ $inv->mobile }} {{ $inv->job_name }} {{ $inv->payment_mode }} ₹ {{ number_format($inv->grand_total, 2) }} ₹ {{ number_format($inv->collected, 2) }} ₹ {{ number_format($inv->balance, 2) }} @if($inv->payment_status === 'Paid') Paid @elseif($inv->payment_status === 'Partial') Partial @else Unpaid @endif
No invoices found for the selected filters.
@forelse($customerSummary as $cs) @empty @endforelse
Customer Name Mobile Invoices Last Booking Total Billed Total Collected Balance Due Status
{{ $cs->customer_name }} {{ $cs->mobile }} {{ $cs->invoice_count }} {{ date('d-m-Y', strtotime($cs->last_date)) }} ₹ {{ number_format($cs->total_billed, 2) }} ₹ {{ number_format($cs->total_collected, 2) }} ₹ {{ number_format($cs->total_balance, 2) }} @if($cs->status === 'Settled') Settled @elseif($cs->status === 'Partial') Partial @else Pending @endif
No customer records found for this month.
@endsection @push('scripts') @endpush