@extends('layouts.inspinia') @section('title', 'Supplier Payments Report') @section('content_header', 'Supplier Payments Report') @section('breadcrumb')
Total Supplier Payments
Payment Count
| Method | Total Paid | Count |
|---|---|---|
| {{ ucfirst(str_replace('_', ' ', $row->payment_method ?? 'N/A')) }} | {{ number_format($row->total, 2) }} | {{ $row->cnt }} |
| Payment # | Date | Supplier | Amount Paid | Allocated | Unapplied | Method | Reference | Posted By | Posted At |
|---|---|---|---|---|---|---|---|---|---|
| {{ $p->payment_number }} | {{ $p->payment_date?->format('d/m/Y') }} | {{ $p->supplier?->name }} | {{ number_format($p->paid_amount, 2) }} | {{ number_format($p->allocated_amount, 2) }} | {{ number_format($p->unapplied_amount, 2) }} | {{ ucfirst(str_replace('_', ' ', $p->payment_method ?? 'N/A')) }} | {{ $p->payment_reference ?? '—' }} | {{ $p->postedBy?->name ?? '—' }} | {{ $p->posted_at?->format('d/m/Y H:i') ?? '—' }} |
| Page Totals: | {{ number_format($payments->sum('paid_amount'), 2) }} | {{ number_format($payments->sum('allocated_amount'), 2) }} | {{ number_format($payments->sum('unapplied_amount'), 2) }} | ||||||