{{ $company['name'] ?? 'ISP Management System' }}
@if($company['address']) {{ $company['address'] }}
@endif @if($company['phone']) Telp: {{ $company['phone'] }} @endif @if($company['email']) @if($company['phone']) | @endif Email: {{ $company['email'] }} @endif @if($company['website'])
Website: {{ $company['website'] }} @endif
@if(isset($custom_template) && $custom_template)
{!! nl2br(e($custom_template)) !!}
@endif
INVOICE
Detail Invoice
Nomor Invoice: {{ $tagihan->nomor_invoice }}
Tanggal Invoice: {{ $tagihan->tanggal_tagihan->format('d F Y') }}
Jatuh Tempo: {{ $tagihan->tanggal_jatuh_tempo->format('d F Y') }}
Periode: {{ $tagihan->periode_awal->format('d/m/Y') }} - {{ $tagihan->periode_akhir->format('d/m/Y') }}
Status: {{ $tagihan->status_tagihan }}
Data Pelanggan
Nama: {{ $pelanggan->nama }}
Alamat: {{ $pelanggan->alamat }}
Telepon: {{ $pelanggan->nomor_telepon }}
Email: {{ $pelanggan->email ?? '-' }}
Paket: {{ $pelanggan->paket->nama_paket ?? '-' }}
Deskripsi Jumlah Tagihan Denda Total
Tagihan Internet
Periode: {{ $tagihan->periode_awal->format('d/m/Y') }} - {{ $tagihan->periode_akhir->format('d/m/Y') }}
Rp {{ number_format($tagihan->jumlah_tagihan, 0, ',', '.') }} Rp {{ number_format($tagihan->denda, 0, ',', '.') }} Rp {{ number_format($tagihan->total_tagihan, 0, ',', '.') }}
Jumlah Tagihan: Rp {{ number_format($tagihan->jumlah_tagihan, 0, ',', '.') }}
@if($tagihan->denda > 0)
Denda: Rp {{ number_format($tagihan->denda, 0, ',', '.') }}
@endif
Subtotal: Rp {{ number_format($tagihan->subtotal, 0, ',', '.') }}
@if($tagihan->ppn_enabled && $tagihan->ppn_amount > 0)
PPN ({{ number_format($tagihan->ppn_percentage, 0) }}%): Rp {{ number_format($tagihan->ppn_amount, 0, ',', '.') }}
@endif
TOTAL: Rp {{ number_format($tagihan->total_tagihan, 0, ',', '.') }}
@if($pembayaran && $pembayaran->count() > 0)
Riwayat Pembayaran
@foreach($pembayaran as $bayar) @endforeach
Tanggal Jumlah Metode Status
{{ $bayar->tanggal_pembayaran->format('d/m/Y') }} Rp {{ number_format($bayar->jumlah_pembayaran, 0, ',', '.') }} {{ $bayar->metode_pembayaran }} {{ $bayar->status_konfirmasi }}
@endif