TV & Internet

@foreach ($cables as $cable_provider)
{{$cable_provider->name}}
@endforeach
@if ($cable && $cable->code == 'showmax') {{-- phone --}}
@else
@endif @if (!$customer && $cable->code !== 'showmax') Verify Customer @endif @if ($customer)

Customer Name: {{$customer["customer_name"] ?? '-'}}

@endif @if ($customer || $cable->code == 'showmax')

Current balance: {{formatNumber(auth()->user()->wallet_balance)}}

Buy Cable plan @endif

Confirm Purchase

{{formatNumber($price)}}

{{$phone}}

{{$cable?->name ?? ""}}

{{$package?->name ?? ""}}

{{$card_number ?? ""}}

Payment Method


{{formatNumber(auth()->user()->wallet_balance)}}

{{ __('Pay') }}
{{-- history --}}

Recent Purchases

@forelse ($recent_history as $historyItem)

{{$historyItem->customer_name ?? $historyItem->phone ?? 'Unknown Customer'}}

{{$historyItem->card_number}}

{{ucfirst($historyItem->provider_code)}}

{{$historyItem->created_at->diffForHumans() }}

@empty

No recent purchases found.

@endforelse