@extends('layout') @section('page_title', 'Dashboard') @section('content')
| ID | Customer | Product | Total Amount | Status | Date |
|---|---|---|---|---|---|
| {{ $agreement->id }} | {{ optional($agreement->customer)->name ?? $agreement->customer_name }} | {{ optional($agreement->product)->name ?? '—' }} | {{ $currency }}{{ number_format($agreement->total_amount, 2) }} | @if($agreement->status === 'completed') Completed @elseif($agreement->status === 'active') Active @else Draft @endif | {{ $agreement->created_at->format('M d, Y') }} |
No recent instalments found.
@endif