| {{ $loop->index + 1 }} |
{{$customer->no_berlangganan}} |
@if (
$_GET['status_instalasi'] != 'Pending' &&
$_GET['status_instalasi'] != 'Survey' &&
$_GET['status_instalasi'] != 'Installation')
{{ $customer->no_invoice }} |
@endif
{{ $customer->jenis_customer . ' ' . $customer->nama }} |
{{ $customer->alamat }} |
{{ $customer->pekerjaan ?? 'Belum Dilengkapi' }} |
{{ $customer->handphone }} |
{{ $customer->nama_produk }} |
{{ rupiah($customer->gross_amount) }} |
{{ $customer->nama_marketing }} |
{{ $customer['type_router'] }} |
{{ $customer->status_instalasi }} |
@if (
$_GET['status_instalasi'] != 'Pending' &&
$_GET['status_instalasi'] != 'Survey' &&
$_GET['status_instalasi'] != 'Installation')
@if ($customer->status_invoice == 'settlement')
Lunas
@else
{{ $customer->status_invoice }}
@endif
|
@endif
@if (
$_GET['status_instalasi'] != 'Pending' &&
$_GET['status_instalasi'] != 'Survey' &&
$_GET['status_instalasi'] != 'Installation')
{{ tgl_indo($customer->tgl_pasang) }} |
{{ tgl_indo($customer->tgl_invoice) }} |
@if ($_GET['status_instalasi'] == 'Uninstall')
{{ tgl_indo($customer->tgl_uninstal) }} |
{{ $customer->keterangan_uninstall }}
|
@elseif($_GET['status_instalasi'] == 'Blokir')
@if (
!empty($customer->tgl_invoice) &&
$customer->status_invoice != 'settlement' &&
$customer->status_instalasi != 'Done')
@php
$tgl = date_format(date_create($customer->tgl_invoice), 'F Y');
@endphp
{{ tgl_indo($data_tgl = '20' . '' . $tgl) }}
@endif
|
@endif
@else
{{ tgl_indo($customer->tgl_daftar) }} |
@endif
@endforeach