Membuat Fitur Menu KJPP part 2
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
@method('PUT')
|
||||
@endif
|
||||
@csrf
|
||||
|
||||
<div class="card pb-2.5">
|
||||
<div class="card-header" id="basic_settings">
|
||||
<h3 class="card-title">
|
||||
@@ -350,11 +351,11 @@
|
||||
@if (isset($kjpp->ijin_usaha_id))
|
||||
<input type="checkbox"
|
||||
@if (in_array($row->code, old('ijin_usaha_id', json_decode($kjpp->ijin_usaha_id, true)))) {{ 'checked' }} @endif
|
||||
value="{{ $row->code }}" name="ijin_usaha_id[]" />
|
||||
value="{{ $row->code }}" name="ijin_usaha[]" />
|
||||
@else
|
||||
<input type="checkbox"
|
||||
@if (in_array($row->code, old('ijin_usaha_id', []))) {{ 'checked' }} @endif
|
||||
value="{{ $row->code }}" name="ijin_usaha_id[]" />
|
||||
value="{{ $row->code }}" name="ijin_usaha[]" />
|
||||
@endif
|
||||
<span class="switch-label">
|
||||
{{ $row->name }}
|
||||
@@ -373,11 +374,11 @@
|
||||
@if (isset($kjpp->jenis_aset_id))
|
||||
<input type="checkbox"
|
||||
@if (in_array($row->code, old('jenis_aset_id', json_decode($kjpp->jenis_aset_id, true)))) {{ 'checked' }} @endif
|
||||
value="{{ $row->code }}" name="jenis_aset_id[]" />
|
||||
value="{{ $row->code }}" name="jenis_jaminan[]" />
|
||||
@else
|
||||
<input type="checkbox"
|
||||
@if (in_array($row->code, old('jenis_aset_id', []))) {{ 'checked' }} @endif
|
||||
value="{{ $row->code }}" name="jenis_aset_id[]" />
|
||||
value="{{ $row->code }}" name="jenis_jaminan[]" />
|
||||
@endif
|
||||
<span class="switch-label">
|
||||
{{ $row->name }}
|
||||
|
||||
@@ -123,10 +123,10 @@
|
||||
return checkbox.outerHTML.trim();
|
||||
},
|
||||
},
|
||||
nomor: {
|
||||
code: {
|
||||
title: 'Nomor KJPP',
|
||||
},
|
||||
nama_kjpp: {
|
||||
name: {
|
||||
title: 'Nama KJPP',
|
||||
},
|
||||
jenis_kantor: {
|
||||
|
||||
Reference in New Issue
Block a user