@extends('layouts.customer') @section('title', 'Dashboard') @section('content')
ID Pelanggan: {{ $customer->customer_id ?? 'N/A' }}
Status Koneksi
{{ ($customer->status ?? '') == 'active' ? 'Aktif' : 'Tidak Aktif' }}
Paket Aktif
{{ $customer->package->name ?? 'N/A' }}
{{ $customer->package->speed ?? '' }}
Tagihan Berikutnya
Rp {{ number_format($nextInvoice->total ?? 0, 0, ',', '.') }}
Jatuh tempo: {{ isset($nextInvoice) ? $nextInvoice->due_date->format('d M Y') : '-' }}
{{ $invoice->invoice_number }}
{{ $invoice->created_at->format('d M Y') }}
Rp {{ number_format($invoice->total, 0, ',', '.') }}
{{ $invoice->status == 'paid' ? 'Lunas' : 'Belum Bayar' }}Belum ada tagihan