diff --git a/resources/views/customers/v2/info.blade.php b/resources/views/customers/v2/info.blade.php index 457bf7d..523f34c 100644 --- a/resources/views/customers/v2/info.blade.php +++ b/resources/views/customers/v2/info.blade.php @@ -1,379 +1,393 @@ @extends('layouts.app') @section('content') -@include('modal.historytebus') -@include('modal.wakil') -@include('errors.alert', ['errorapproval' => $getApprovalError ?? null]) -
-
-
-
- + @include('modal.historytebus') + @include('modal.wakil') + @include('errors.alert', ['errorapproval' => $getApprovalError ?? null]) +
+
+
+
+ -
-
-
-
- Nama -
-
- -
-
-
-
-
-
- No Kad Pengenalan -
-
- @php - if($customer_info['kpbaru'] != null){ - $noic = $customer_info['kpbaru']; - }else{ - $noic = $customer_info['kplama']; - } - @endphp - -
-
-
-
-
-
- Pembiayaan -
-
- @php - if($customer_info['kpbaru'] != null){ - $noic = $customer_info['kpbaru']; - }else{ - $noic = $customer_info['kplama']; - } - $outstanding_semasa = Http::withOptions(['verify' => config('app.api_verify')])->get($api_url . '/api/gadai/customers/'. $noic .'/outstandingsemasa/'.$cawangan_info['kodcaw'])->json(); - @endphp - -
-
- -
-
- Baki Limit Pembiayaan -
-
- @php - $limit_pinjaman_semasa = 300000 - $outstanding_semasa; - @endphp - -
-
- -
-
- Baki Lelong -
-
- -
-
- @if(isset($customer_info['tag_anggota']) && $customer_info['tag_anggota'] == 1) -
-
- Status +
+
+
+
+ Nama +
+
+ +
-
-
+
+
+
+ No Kad Pengenalan +
+
+ @php + if ($customer_info['kpbaru'] != null) { + $noic = $customer_info['kpbaru']; + } else { + $noic = $customer_info['kplama']; + } + @endphp + +
+
- @endif +
+
+
+ Pembiayaan +
+
+ @php + if ($customer_info['kpbaru'] != null) { + $noic = $customer_info['kpbaru']; + } else { + $noic = $customer_info['kplama']; + } + $outstanding_semasa = Http::withOptions(['verify' => config('app.api_verify')]) + ->get( + $api_url . + '/api/gadai/customers/' . + $noic . + '/outstandingsemasa/' . + $cawangan_info['kodcaw'], + ) + ->json(); + @endphp + +
+
+ +
+
+ Baki Limit Pembiayaan +
+
+ @php + $limit_pinjaman_semasa = 300000 - $outstanding_semasa; + @endphp + +
+
+ +
+
+ Baki Lelong +
+
+ +
+
+ @if (isset($customer_info['tag_anggota']) && $customer_info['tag_anggota'] == 1) +
+
+ Status +
+
+ +
+
+ @endif + +
+
+
+
+ No Telefon +
+
+ +
+
+ +
+
+ Nota +
+
+ +
+
+ +
+
+ Rugi Lelong +
+
+ +
+
+
+
+ +
+ + + + + + + + @if (isset($showAssignAnggotaBtn) && $showAssignAnggotaBtn) +
+ +
+ + + @endif +
-
-
-
- No Telefon -
-
- -
-
-
-
- Nota -
-
- -
-
- -
-
- Rugi Lelong -
-
- -
-
-
-
+ - - +
+
+ + + +
+ +
+ - -@if(isset($showAssignAnggotaBtn) && $showAssignAnggotaBtn && isset($kodcaw) && $kodcaw == 'X0301') - -
- -
- - -@endif -
- -
- -
- - - -
-
- - - -
- -
- - - - -
-
-
-
-
-
+
- -