@extends('layout') @section('page_title', 'Invoice') @section('content')
| Item | Details | Amount |
|---|---|---|
| {{ optional($agreement->product)->name ?? 'Product/Service' }} |
Total: {{ $currency }}{{ number_format($agreement->total_amount, 2) }}
@if($agreement->instalment_percentage)
Instalment %: {{ $agreement->instalment_percentage }}%
@endif
Instalments: {{ $agreement->instalments_count }} × {{ $currency }}{{ number_format($agreement->instalment_amount, 2) }}
|
{{ $currency }}{{ number_format($agreement->total_amount, 2) }} |
| Down Payment | {{ $currency }}{{ number_format($agreement->down_payment, 2) }} | |
| Amount After Down Payment | {{ $currency }}{{ number_format($base, 2) }} | |
| Markup ({{ $agreement->instalment_percentage }}%) | {{ $currency }}{{ number_format($totalPayable - $base, 2) }} | |
| Total Payable | {{ $currency }}{{ number_format($totalPayable, 2) }} | |
| # | Due Date | Amount | Status |
|---|---|---|---|
| {{ $p->id }} | {{ \Illuminate\Support\Carbon::parse($p->due_date)->format('M d, Y') }} | {{ $currency }}{{ number_format($p->amount, 2) }} | @if($p->status === 'paid') Paid @else Pending @endif |