Data Customer Blokir @if (session()->has('pesan')) {{ session('pesan') }} @endif {{ env('CORP_BRAND') }}
| No | Customer | Service | Tanggal | History | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Nama | Alamat | Paket | Harga (Rp.) | Status | Install | Blokir | Uninstall | Follow Up | Invoice | Blokir | ||
| {{ $loop->iteration }} | @if ($row->jenis_customer == 'Mr.' || $row->jenis_customer == 'Mrs.') {{ $row->jenis_customer }} @else {{ $row->jenis_customer }} @endif {{ $row->nama }} | {{ $row->handphone }} | {{ $row->nama_produk }} | {{ number($row->harga_produk) }}/Month | @if ($row->status_instalasi == 'Pending') {{ $row->status_instalasi }} @elseif ($row->status_instalasi == 'Survey') {{ $row->status_instalasi }} @elseif ($row->status_instalasi == 'Installation') {{ $row->status_instalasi }} @elseif ($row->status_instalasi == 'Done') Active @elseif ($row->status_instalasi == 'Failed') {{ $row->status_instalasi }} @else {{ $row->status_instalasi }} @endif | @if (!empty($row->tgl_pasang)) {{ acc_date($row->tgl_pasang) }} @endif | @if (!empty($row->tgl_blokir)) {{ acc_date($row->tgl_blokir) }} @endif | @if (!empty($row->tgl_uninstal)) {{ acc_date($row->tgl_uninstal) }} @endif | @php $follow_up_row = FuBlokir::where('id_instalasi', $row->id_instalasi)->first(); $follow_up_count = 0; if ($follow_up_row) { $follow_up_count += $follow_up_row->hasil_fu1 ? 1 : 0; $follow_up_count += $follow_up_row->hasil_fu2 ? 1 : 0; $follow_up_count += $follow_up_row->hasil_fu3 ? 1 : 0; } @endphp||||
{{ $customer->links() }}