@if(session()->has('error'))
{{ session('error') }}
@endif @if(session()->has('success'))
{{ session('success') }}
@endif @if(!$customer)

Customer Profile Not Found

Your PPPoE account is active, but it is not linked to a customer profile. Please contact support to complete your profile.

@elseif(!$billing)

Billing Record Not Found

We couldn't locate your billing records. Please contact support to set up your billing profile.

@else @php $dueAmount = $billing->due_amount ?? 0; $statusActive = ($customer->status ?? '') === 'active'; @endphp
Subscription @if($statusActive) Active Connection @else Connection Blocked @endif
Current Due Balance ৳ {{ number_format($dueAmount, 2) }}
Monthly Plan Cost ৳ {{ number_format($billing->monthly_rent ?? 0, 2) }}

My Info


A/C No {{ $customer->customer_unique_id ?? 'N/A' }}
Account Status {{ ucfirst($customer->status ?? 'unknown') }}
Connection Status @if($connectionStatus === 'checking...') Checking... @elseif($connectionStatus === 'online') Online @elseif($connectionStatus === 'offline') Offline @else Unknown @endif
Username {{ $customer->pppUser?->username ?? 'N/A' }}
Full Name {{ $customer->customer_name ?? 'N/A' }}
@if($customer->parents_name)
Father Name {{ $customer->parents_name }}
@endif
Register Mobile {{ $customer->mobile ?? 'N/A' }}
Register Email Id {{ $customer->email ?? '.' }}
Billing Type Prepaid
Current Package {{ $customer->pppUser?->profile ?? 'N/A' }}
Sub Plan {{ $customer->pppUser?->profile ?? 'N/A' }}
Account Expiration {{ $billing->auto_disable_date ? \Carbon\Carbon::parse($billing->auto_disable_date)->format('d F, Y') : 'N/A' }}

Secure Checkout


@php $bkashActive = siteUrlSettings('payment_bkash_enabled'); $nagadActive = siteUrlSettings('payment_nagad_enabled'); $sslActive = siteUrlSettings('payment_sslcommerz_enabled'); @endphp @if(!$bkashActive && !$nagadActive && !$sslActive)
Gateways Offline Online payment gateways are currently offline. Please contact support.
@else
@error('amount') {{ $message }} @enderror
@if($dueAmount > 0) @endif @if(($billing->monthly_rent ?? 0) > 0) @endif
@if($bkashActive) @endif @if($nagadActive) @endif @if($sslActive) @endif @error('paymentMethod') {{ $message }} @enderror
@endif
@endif