Full Name:
{{ $bill->clientInfo->full_name ?? $bill->clientInfo->client->name ?? 'N/A' }}
Username:
{{ $bill->clientInfo->client->username ?? 'N/A' }}
Mobile Number:
{{ $bill->clientInfo->mobile_number ?? $bill->clientInfo->client->phone ?? 'N/A' }}
Email:
{{ $bill->clientInfo->client->email ?? 'N/A' }}
Present Address:
{{ $bill->clientInfo->present_address ?? $bill->clientInfo->client->address ?? 'N/A' }}
@if($bill->clientInfo->permanent_address && $bill->clientInfo->permanent_address !== $bill->clientInfo->present_address)
Permanent Address:
{{ $bill->clientInfo->permanent_address }}
@endif
Package:
{{ $bill->clientInfo->package ?? $bill->clientInfo->package_name ?? 'N/A' }}
Monthly Bill:
৳{{ number_format($bill->clientInfo->monthly_bill ?? 0, 2) }}
Service Charge:
৳{{ number_format($bill->clientInfo->service_charge ?? 0, 2) }}
@if($bill->clientInfo->client->mikrotikServer)
MikroTik Server:
{{ $bill->clientInfo->mikrotikServer->name ?? $bill->clientInfo->client->mikrotikServer->name ?? 'N/A' }}
@endif
@if($bill->clientInfo->client->mikrotik_profile)
MikroTik Profile:
{{ $bill->clientInfo->profile ?? $bill->clientInfo->client->mikrotik_profile ?? 'N/A' }}
@endif
@if($bill->clientInfo->client->connection_type)
Connection Type:
{{ $bill->clientInfo->connection_type ?? $bill->clientInfo->client->connection_type ?? 'N/A' }}
@endif
@if($bill->clientInfo->joining_date)
Joining Date:
{{ \Carbon\Carbon::parse($bill->clientInfo->joining_date)->format('M d, Y') }}
@endif
@if($bill->clientInfo->billing_start_month)
Billing Start Month:
{{ $bill->clientInfo->billing_start_month }}
@endif