{{ $kjpp->jenis_kantor }}
{{ $kjpp->nomor_ijin_usaha }}
{{ $kjpp->address }}
@if (isset($kjpp->village_code))
, Kel.
@foreach ($villages as $village)
{{ $village->name }}
@endforeach
@endif
@if (isset($kjpp->district_code))
, Kec.
@foreach ($districts as $district)
{{ $district->name }}
@endforeach
@endif
@if (isset($kjpp->city_code))
,@foreach ($cities as $city)
{{ ucwords(strtolower($city->name)) }}
@endforeach
@endif
@if (isset($kjpp->province_code))
,
@foreach ($provinces as $province)
{{ $province->name }}
@endforeach
@endif
@if (isset($kjpp->postal_code))
, Kode Pos.
@foreach ($villages as $village)
{{ $village->postal_code }}
@endforeach
@endif
{{ $kjpp->nomor_telepon_kantor }}
@if (isset($emailKantor) && count($emailKantor) > 0)
@foreach ($emailKantor as $email)
{{ $email }}
@endforeach
@else
-
@endif
@if (isset($namaPimpinan) && count($namaPimpinan) > 0)
@foreach ($namaPimpinan as $pimpinan)
{{ $pimpinan }}
@endforeach
@else
-
@endif
@if (isset($nomorHpPimpinan) && count($nomorHpPimpinan) > 0)
@foreach ($nomorHpPimpinan as $hp_pimpinan)
{{ $hp_pimpinan }}
@endforeach
@else
-
@endif
@if (isset($namaPicReviewer) && count($namaPicReviewer) > 0)
@foreach ($namaPicReviewer as $pic_reviewer)
{{ $pic_reviewer }}
@endforeach
@else
-
@endif
@if (isset($nomorHpPicReviewer) && count($nomorHpPicReviewer) > 0)
@foreach ($nomorHpPicReviewer as $hp_pic_reviewer)
{{ $hp_pic_reviewer }}
@endforeach
@else
-
@endif
@if (isset($namaPicAdmin) && count($namaPicAdmin) > 0)
@foreach ($namaPicAdmin as $pic_admin)
{{ $pic_admin }}
@endforeach
@else
-
@endif
@if (isset($nomorHpPicAdmin) && count($nomorHpPicAdmin) > 0)
@foreach ($nomorHpPicAdmin as $hp_pic_admin)
{{ $hp_pic_admin }}
@endforeach
@else
-
@endif
@if (isset($namaPicMarketing) && count($namaPicMarketing) > 0)
@foreach ($namaPicMarketing as $pic_marketing)
{{ $pic_marketing }}
@endforeach
@else
-
@endif
@if (isset($nomorHpPicMarketing) && count($nomorHpPicMarketing) > 0)
@foreach ($nomorHpPicMarketing as $hp_pic_marketing)
{{ $hp_pic_marketing }}
@endforeach
@else
-
@endif
@if (isset($kjpp->ijin_usaha_id))
@foreach (json_decode($kjpp->ijin_usaha_id, true) as $ijin_code)
@php
$ijin_usaha = $ijin_usahas->firstWhere('code', $ijin_code);
@endphp
@if ($ijin_usaha)
{{ $ijin_usaha->name }}
@endif
@endforeach
@else
-
@endif
@if (isset($kjpp->jenis_aset_id) && !empty(json_decode($kjpp->jenis_aset_id, true)))
@foreach (json_decode($kjpp->jenis_aset_id, true) as $aset_code)
@php
$jenis_aset = $jenis_jaminan->firstWhere('code', $aset_code);
@endphp
@if ($jenis_aset)
{{ $jenis_aset->name }}
@endif
@endforeach
@else
-
@endif