@extends('layout') @section('page_title', 'Reports') @section('content')
No payment activity yet.
@else| Agreement | Customer | Product | Due Date | Amount | Status |
|---|---|---|---|---|---|
| #{{ $p->agreement_id }} | {{ optional($p->agreement->customer)->name ?? '—' }} | {{ optional($p->agreement->product)->name ?? '—' }} | {{ optional($p->due_date)->format('M d, Y') }} | {{ $currency }}{{ number_format($p->amount, 2) }} | {{ $p->paid_at ? 'Paid' : 'Pending' }} |
No agreements created yet.
@else| ID | Customer | Product | Total | Instalments | Status |
|---|---|---|---|---|---|
| {{ $a->id }} | {{ optional($a->customer)->name ?? $a->customer_name }} | {{ optional($a->product)->name ?? '—' }} | {{ number_format($a->total_amount, 2) }} | {{ $a->instalments_count }} | {{ $a->status }} |