@extends('layouts.app') @section('title', 'Customer Details') @section('content')
Full Name
{{ $customer->name }}
Username
{{ $customer->username ?? '-' }}
Phone
{{ $customer->phone ?? '-' }}
{{ $customer->email ?? '-' }}
Address
{{ $customer->address ?? '-' }}
Status
{{ ucfirst($customer->status) }}Join Date
{{ $customer->join_date ? $customer->join_date->format('d M Y') : '-' }}
{{ $customer->package->speed }} Mbps
Rp {{ number_format($customer->package->price, 0, ',', '.') }}
per month
{{ $invoice->invoice_number }}
{{ $invoice->created_at->format('d M Y') }}
Rp {{ number_format($invoice->amount, 0, ',', '.') }}
{{ ucfirst($invoice->status) }}No invoices yet
@endforelseTotal Paid
Rp {{ number_format($stats['total_paid'], 0, ',', '.') }}
Total Unpaid
Rp {{ number_format($stats['total_unpaid'], 0, ',', '.') }}