@if($invoice->status === 'paid')
LUNAS - PAID
@elseif($invoice->status === 'overdue')
JATUH TEMPO
@endif
{{ $companyName }}
{{ $companyAddress }}
Telp: {{ $companyPhone }} | Email: {{ $companyEmail }}
FAKTUR TAGIHAN
#{{ $invoice->invoice_number }}
{{ $statusLabel }}
Informasi Pelanggan
ID Pelanggan: CL-{{ str_pad($customer->id, 5, '0', STR_PAD_LEFT) }}
Nama: {{ $customer->name }}
No. Telepon / WA: {{ $customer->phone }}
Email: {{ $customer->email ?: '-' }}
Alamat Pasang: {{ $customer->address ?: '-' }}
Detail Tagihan
Periode Tagihan: {{ $billingPeriod }}
Tanggal Terbit: {{ $invoice->generated_at ? \Carbon\Carbon::parse($invoice->generated_at)->translatedFormat('d F Y') : '-' }}
Jatuh Tempo: {{ $dueDate }}
@if($invoice->status === 'paid')
Tanggal Bayar: {{ $paidDate }}
Metode Bayar: {{ $payment?->paymentType?->name ?? 'Online Payment Gateway' }}
@if($payment?->receipt_number)
No. Kuitansi: {{ $payment->receipt_number }}
@endif @endif
No Deskripsi Layanan Kecepatan Jumlah
1 Langganan Internet {{ $pkg?->name ?? 'Broadband Internet' }}
Periode pemakaian: {{ $billingPeriod }} (Unlimited Fiber Broadband FUP Kuota Tanpa Batas)
{{ $pkg?->bandwidth_mbps ? $pkg->bandwidth_mbps . ' Mbps' : '-' }} Rp {{ number_format($subtotal, 0, ',', '.') }}
Catatan & Informasi Pembayaran:
@if($invoice->status === 'paid')

✓ Tagihan ini telah LUNAS terverifikasi melalui sistem pada {{ $paidDate }}.

Dokumen ini merupakan bukti kuitansi pembayaran resmi yang sah dari {{ $companyName }}.

@else

Silakan selesaikan pembayaran sebelum tanggal jatuh tempo {{ $dueDate }} untuk menghindari pemutusan isolir koneksi otomatis.

Pembayaran otomatis didukung via QRIS Realtime, BCA, Mandiri, BRI, BNI Virtual Account melalui Customer Portal.

@endif
@if($discount > 0) @endif @if($taxAmount > 0) @endif
Subtotal: Rp {{ number_format($subtotal, 0, ',', '.') }}
Diskon / Promo: -Rp {{ number_format($discount, 0, ',', '.') }}
PPN ({{ $ppnRate }}%): Rp {{ number_format($taxAmount, 0, ',', '.') }}
TOTAL TAGIHAN: Rp {{ number_format($totalAmount, 0, ',', '.') }}