@extends('layouts.app') @section('title', 'Laporan Keuangan') @section('breadcrumb')
| Invoice | Pelanggan | Total | Dibayar | Sisa | Status |
|---|---|---|---|---|---|
| {{ $inv->invoice_number }} | {{ $inv->serviceOrder->customer->name }} | Rp {{ number_format($inv->total, 0, ',', '.') }} | Rp {{ number_format($inv->paid_amount, 0, ',', '.') }} | Rp {{ number_format($inv->remaining_amount, 0, ',', '.') }} | {{ $inv->status_label }} |
| Tidak ada data | |||||
| TOTAL | Rp {{ number_format($invoices->sum('total'), 0, ',', '.') }} | Rp {{ number_format($summary['total_paid'], 0, ',', '.') }} | Rp {{ number_format($summary['total_unpaid'], 0, ',', '.') }} | ||