@extends('layouts.app') @section('title', 'Piutang & Invoice (AR)') @section('breadcrumb') Keuangan Piutang (AR) @endsection @section('content')
Kelola invoice, pembayaran, dan piutang pelanggan
| No. Invoice | Sales Order | Pelanggan | Tgl Invoice | Jatuh Tempo | Total Invoice | Sudah Dibayar | Sisa Tagihan | Status | Aksi |
|---|---|---|---|---|---|---|---|---|---|
| {{ $inv->no_invoice }} | {{ $inv->salesOrder?->no_so ?? '-' }} |
{{ $inv->pelanggan->nama ?? '-' }}
{{ $inv->pelanggan->telepon ?? '' }}
|
{{ $inv->tgl_invoice?->format('d/m/Y') }} |
{{ $inv->tgl_jatuh_tempo?->format('d/m/Y') }}
@if($isOverdue)
{{ now()->diffInDays($inv->tgl_jatuh_tempo) }} hari lalu
@endif
|
Rp {{ number_format($inv->total_invoice, 0, ',', '.') }} | Rp {{ number_format($inv->total_bayar, 0, ',', '.') }} | Rp {{ number_format($sisa, 0, ',', '.') }} | {{ $statusLbl }} |