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'] }}