| {{ __('Customer ID') }} | {{ $info_data->customer_unique_id }} | {{ __('Name') }} | {{ $info_data->customer_name }} |
| {{ __('Billing Type') }} | {{ __(ucfirst($info_data->billing->billing_type)) }} | {{ __('PPPoE Username') }} | {{ $info_data->pppUser->username ?? 'N/A' }} |
| {{ __('Address') }} | @foreach ($info_data->customerAddress as $address) {{ $address->input_type_dropdown }}, {{ $address->input_type_test }} @if ($address->input_type_textarea) | {{ $address->input_type_textarea }} @endif @endforeach | ||
| {{ __('Status') }} | @php $badge = match ($info_data->status) { 'active' => 'bg-success', 'pending' => 'bg-warning text-dark', 'free' => 'bg-info text-dark', default => 'bg-danger', }; @endphp{{ __(ucfirst($info_data->status)) }} | {{ __('Expire Date') }} | {{ \Carbon\Carbon::parse($this->info_data->billing->auto_disable_date)->format('d-M-Y') }} |
| {{ __('Date') }} | {{ __('Monthly Rent') }} | {{ __('Discount') }} | {{ __('Advance') }} | {{ __('Add. Charge') }} | {{ __('Vat (%)') }} | {{ __('Previous Due') }} | {{ __('Bill Amount') }} | {{ __('Collection Amount') }} | {{ __('Total Due') }} |
|---|---|---|---|---|---|---|---|---|---|
| {{ \Carbon\Carbon::parse($paymentSummary->summary_date)->format('d-M-Y') }} | {{ $paymentSummary->monthly_rent }} | {{ $paymentSummary->discount }} | {{ $paymentSummary->advance }} | {{ $paymentSummary->additional_charge }} | {{ $paymentSummary->vat }}% | {{ $paymentSummary->previous_due }} | {{ $bill_amount }} | - | - |
| {{ date('d-M-Y', strtotime($collection['collection_date'])) }} | {{ __('Collected By:') }} {{ $collection['collected_by'] }} | {{ $collection['collection_amount'] }} | {{ $bill_amount - $collection['collection_amount'] }} | ||||||
| {{ __('No Collection') }} | 0 | {{ $bill_amount }} |