@extends('layouts.app')
@section('content')
Pembayaran batch sudah dicatat. Ringkasan di bawah sudah sinkron untuk pembayaran tunggal maupun split payment.
| Invoice | Pelanggan | Total | Sisa | Status | Aksi |
|---|---|---|---|---|---|
| {{ $order->invoice_number }} | {{ $order->customer_name }} | Rp {{ number_format($order->total_price, 0, ',', '.') }} | Rp {{ number_format($remaining, 0, ',', '.') }} | @if($isPaid) Lunas @elseif($remaining < (float) $order->total_price) Sebagian @else Belum Bayar @endif | |
| TOTAL GABUNGAN | Rp {{ number_format($grandTotal, 0, ',', '.') }} | Rp {{ number_format($grandRemaining, 0, ',', '.') }} | |||
Nota gabungan akan mencetak semua rincian item dari {{ $orders->count() }} order beserta ringkasan pembayaran batch yang sudah sinkron.