{{ __('Payment Collection') }}

{{ __('Search Customer') }}
@if (!empty($customers))
    @foreach ($customers as $index => $customer)
  • {{ $customer->customer_unique_id }}
    {{ $customer->customer_name }} | {{ $customer->mobile }}
  • @endforeach
@endif
@if (!empty($info_data)) {{ __('Customer Bill Summary') }}
@php $badge = match($info_data->status) { 'active' => 'bg-success', 'pending' => 'bg-warning text-dark', 'free' => 'bg-info text-dark', default => 'bg-danger', }; @endphp @if ($info_data->billing->additional_charge != 0) @endif @if ($info_data->billing->discount != 0) @endif @if ($info_data->billing->advance != 0) @endif @if ($info_data->billing->vat != 0) @endif @if ($info_data->billing->previous_due != 0) @endif @if(count($collectionSummary) > 0) @endif
{{ __('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') }} {{ __(ucfirst($info_data->status)) }}
{{ __('Expire Date') }} {{ \Carbon\Carbon::parse($this->info_data->billing->auto_disable_date)->format('d-M-Y') }} ({{ __('AutoDisable:') }} {{ $this->info_data->billing->auto_disable }})
{{ __('Monthly Rent') }} {{ $info_data->billing->monthly_rent }} {{ siteUrlSettings('site_currency') }}
{{ __('Additional Charge') }} +{{ $info_data->billing->additional_charge }} {{ siteUrlSettings('site_currency') }}
{{ __('Discount') }} -{{ $info_data->billing->discount }} {{ siteUrlSettings('site_currency') }}
{{ __('Advance') }} -{{ $info_data->billing->advance }} {{ siteUrlSettings('site_currency') }}
{{ __('Vat (%)') }} {{ $info_data->billing->vat }}%
{{ __('Previous Due') }} +{{ $info_data->billing->previous_due }} {{ siteUrlSettings('site_currency') }}
{{ __('Subtotal Sum') }} {{ $info_data->billing->total_amount }} {{ siteUrlSettings('site_currency') }}
{{ __('Total Payable Amount') }} {{ $info_data->billing->due_amount }} {{ siteUrlSettings('site_currency') }}
{{ __('Collected History') }}
@foreach ($collectionSummary as $summary)
#{{ $summary->customer_collection_unique_id }} ({{ \Carbon\Carbon::parse($summary->collection_date)->format('d-M-Y') }}) {{ $summary->collection_amount }} {{ siteUrlSettings('site_currency') }}
@endforeach
{{ __('Current Payable Due') }} {{$due_amount}} {{ siteUrlSettings('site_currency') }}
@endif
@push('scripts') @endpush