From 70d60df7cf17df677f1b05215d8b42622da556a2 Mon Sep 17 00:00:00 2001 From: Nur Izzati Date: Sun, 3 Aug 2025 16:08:54 +0800 Subject: [PATCH] update kpbaru dan kplama --- resources/views/callcenter/pilihpelanggan.blade.php | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/resources/views/callcenter/pilihpelanggan.blade.php b/resources/views/callcenter/pilihpelanggan.blade.php index ed053e9..4d5a2bc 100644 --- a/resources/views/callcenter/pilihpelanggan.blade.php +++ b/resources/views/callcenter/pilihpelanggan.blade.php @@ -9,7 +9,6 @@ Nama No KP - Passport/KPlama Kod Cawangan Tindakan @@ -18,8 +17,14 @@ @foreach(session('customer_list') as $customer) {{ $customer['nama'] }} - {{ $customer['kpbaru']}} - {{ $customer['kplama']}} + @php + if($customer['kpbaru'] != null){ + $noic = $customer['kpbaru']; + }else{ + $noic = $customer['kplama']; + } + @endphp + {{ $noic }} {{ $customer['kodcaw'] }}