{{ __('customer.label.id') }} | {{ __(':') }} {{ $customer->customer_id ?? 'No ID' }} | ||
{{ __('customer.label.name') }} | {{ __(':') }} {{ $customer->name }} | {{ __('customer.label.email') }} | {{ __(':') }} {{ $customer->email }} |
{{ __('customer.label.address') }} | {{ __(':') }} {{ $customer->address }} | {{ __('customer.label.contact') }} | {{ __(':') }} {{ $customer_contact }} |
{{ __('customer.label.paket') }} | {{ __(':') }} {{ $customer->paket->name ?? 'No Data' }} | {{ __('customer.label.activation-date') }} | {{ __(':') }} @if ($customer->activation == 'true') {{ Carbon\Carbon::parse($customer->activation_date)->translatedFormat('l, d F Y') ?? 'No Data' }} @else {{ __('Not Acitaved') }} @endif |
{{ __('customer.label.bill') }} | {{ __(':') }} @if ($customer->paket->price * ((100 - $customer->discount) / 100) > 0) @moneyIDR($customer->paket->price * ((100 - $customer->discount) / 100)) @else {{ __('Free') }} @endif | {{ __('customer.label.discount') }} | {{ __(':') }} @if ($customer->discount > 0) {{ $customer->discount ?? 'No Data' }} % @else {{ __('No Discount') }} @endif |
{{ __('customer.label.last-payment') }} | {{ __(':') }} {{ Carbon\Carbon::parse($billingLastPayment->payment_time ?? '1970-01-01')->format('d F Y') ?? 'No Payment' }} | {{ __('customer.label.next-payment') }} | {{ __(':') }} {{ $activationDate .' ' .Carbon\Carbon::parse($billingLastPayment->payment_time ?? '1970-01-01')->addMonth()->format('F Y') }} |
{{ __('customer.label.not-yet-paid') }} | {{ __(':') }} @moneyIDR($notYetPaid) |
{{ __('customer.label.server') }} | {{ __(':') }} {{ $customer->mikrotik->name }} | {{ __('customer.label.profile') }} | {{ __(':') }} {{ $pppsecret['profile'] ?? 'No Profile' }} |
{{ __('customer.label.username') }} | {{ __(':') }} {{ $pppsecret['name'] ?? 'No Data' }} | {{ __('customer.label.password-ppp') }} | {{ __(':') }} {{ $pppsecret['password'] ?? 'No Data' }} |
{{ __('customer.label.remote-address') }} | {{ __(':') }} {{ $secretActive['address'] ?? 'Offline' }} @if (isset($secretActive['address'])) {{ __('customer.remote') }} @endif | {{ __('customer.label.service') }} | {{ __(':') }} {{ $customer->ppp_type->name }} |
{{ __('customer.label.state') }} | {{ __(':') }} @if ($customer->activation == 'false') {{ __('customer.info.not-activation') }} @else @if ($pppsecret['disabled'] === \App\Enums\MikrotikStatus::PPPOE_ENABLE->value) {{ __('pppoe.secret.enabled') }} @else {{ __('pppoe.secret.disabled') }} @endif @endif | @if (isset($secretActive)){{ __('customer.label.uptime') }} | {{ __(':') }} {{ $secretActive['uptime'] ?? 'No Data' }} | @endif
{{ __('customer.label.caller-id') }} | {{ __(':') }} {{ $customer->caller_id ?? 'No Caller ID' }} | {{ __('customer.label.last-caller-id') }} | {{ __(':') }} {{ $pppsecret['last-caller-id'] ?? 'No Caller ID' }} |
{{ __('customer.label.comment') }} | {{ __(':') }} {{ $pppsecret['comment'] ?? 'No Comment' }} |
{{ __('customer.label.server') }} | {{ __(':') }} {{ $customer->mikrotik->name }} | {{ __('customer.label.profile') }} | {{ __(':') }} {{ $customer->paket->profile }} |
{{ __('customer.label.service') }} | {{ __(':') }} {{ $customer->ppp_type->name ?? 'No Service' }} | {{ __('customer.label.state') }} | {{ __(':') }} @if ($customer->activation == 'false') {{ __('customer.info.not-activation') }} @else @if ($customer->disabled === \App\Enums\MikrotikStatus::PPPOE_ENABLE->value) {{ __('pppoe.secret.enabled') }} @elseif ($customer->disabled === \App\Enums\MikrotikStatus::PPPOE_DISABLE->value) {{ __('pppoe.secret.disabled') }} @endif @endif |
{{ __('customer.label.username') }} | {{ __(':') }} {{ $customer->username ?? 'No Data' }} | {{ __('customer.label.password-ppp') }} | {{ __(':') }} {{ $customer->password_ppp ?? 'No Data' }} |
{{ __('customer.label.router') }} | {{ __(':') }} {{ $ont->merk_ont ?? 'Not Set' }} {{ $ont->type_ont ?? '' }} | ||
{{ __('customer.label.username-ont') }} | {{ __(':') }} {{ $ont->username ?? 'Not Set' }} | {{ __('customer.label.password-ont') }} | {{ __(':') }} {{ $ont->password ?? 'Not Set' }} |
{{ __('customer.label.remote-port') }} | {{ __(':') }} {{ $ont->port ?? 'Not Set' }} | {{ __('customer.label.mac-address') }} | {{ __(':') }} {{ $ont->mac_address ?? 'Not Set' }} |
{{ __('customer.label.description') }} | {{ __(':') }} {{ $ont->description ?? 'No Description' }} |