@extends('layouts.main') @section('breadcrumbs') {{ Breadcrumbs::render(request()->route()->getName()) }} @endsection @section('content')

Show KJPP

{{ $kjpp->code }}

{{ $kjpp->name }}

{{ $kjpp->jenis_kantor }}

@foreach ($ijin_usaha as $iu) {{ $iu->code }} @endforeach

{{ $kjpp->address }} , Kel. @foreach ($villages as $village) {{ $village->name }} @endforeach , Kec. @foreach ($districts as $district) {{ $district->name }} @endforeach , @foreach ($cities as $city) {{ ucwords(strtolower($city->name)) }} @endforeach , @foreach ($provinces as $province) {{ $province->name }} @endforeach, Kode Pos. @foreach ($villages as $village) {{ $village->postal_code }} @endforeach

{{ $kjpp->nomor_telepon_kantor }}

{{ $kjpp->email_kantor }}

{{ $kjpp->nama_pimpinan }}

{{ $kjpp->nomor_hp_pimpinan }}

{{ $kjpp->nama_pic_reviewer }}

{{ $kjpp->nomor_hp_pic_reviewer }}

{{ $kjpp->nama_pic_admin }}

{{ $kjpp->nomor_hp_pic_admin }}

{{ $kjpp->nama_pic_marketing }}

{{ $kjpp->nomor_hp_pic_marketing }}

@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
No business license selected.
@endif
@if (isset($kjpp->jenis_aset_id)) @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 No asset type selected. @endif
@endsection