penambahan inputan dekat lainnya,pihak bank dan buka galery foto dimobile
This commit is contained in:
@@ -80,6 +80,18 @@
|
||||
</button>
|
||||
<em id="error-debitur_perwakilan" class="alert text-danger text-sm"></em>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5" style="margin-top: 20px">
|
||||
<label class="form-label max-w-56">Pihak Bank</label>
|
||||
<div id="perwakilan" class="flex items-baseline w-full gap-5">
|
||||
<div class="flex gap-4 items-center w-full">
|
||||
<input class="input" type="text" placeholder="Masukan Pihak Bank Selain Pj" type="text"
|
||||
name="pihak_bank" id="lat"
|
||||
value="{{ old('pihak_bank', isset($forminspeksi['asset']['pihak_bank']) ? $forminspeksi['asset']['pihak_bank'] : '') }}">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -251,7 +263,7 @@
|
||||
<button class="accordion-toggle py-4 group "
|
||||
data-accordion-toggle="#accordion_detail_jaminan_{{ $loop->index }}">
|
||||
<span class="text-base text-gray-900 font-medium">
|
||||
Dokument Kepemilikan
|
||||
Dokumen Kepemilikan
|
||||
</span>
|
||||
<i class="ki-outline ki-plus text-gray-600 text-2sm accordion-active:hidden block">
|
||||
</i>
|
||||
@@ -408,8 +420,8 @@
|
||||
|
||||
<div class="mt-2">
|
||||
<div class="flex flex-wrap items-baseline w-full text-sm">
|
||||
<input type="hidden" name="hub_cadeb_penghuni_sesuai"
|
||||
value="ditempati sendiri" id="">
|
||||
<input type="hidden" name="hub_cadeb_penghuni_sesuai" value="ditempati sendiri"
|
||||
id="">
|
||||
</div>
|
||||
|
||||
<div class="flex-wrap items-stretch">
|
||||
@@ -440,7 +452,7 @@
|
||||
|
||||
|
||||
<input id="hub_penghuni_tidak_sesuai" class="input" name="hub_penghuni_tidak_sesuai"
|
||||
placeholder="Masukkan Hubungin penghuni jaminan"
|
||||
placeholder="Masukkan Hubungan penghuni jaminan"
|
||||
value="{{ old('hub_penghuni_tidak_sesuai', isset($selectedData) ? $selectedData : '') }}"
|
||||
style="{{ old('hub_penghuni_tidak_sesuai', $selectedData ?? false) ? '' : 'display: none;' }}">
|
||||
</div>
|
||||
@@ -509,11 +521,11 @@
|
||||
|
||||
function createAlamat(data) {
|
||||
const createElementAlamat = document.getElementById('alamat_form');
|
||||
createElementAlamat.style.display = 'block';
|
||||
|
||||
|
||||
if (data == 'sesuai') {
|
||||
createElementAlamat.innerHTML = `
|
||||
<div class="grid gap-2.5 w-full">
|
||||
<div class="grid gap-2.5 w-full" >
|
||||
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5 w-full">
|
||||
<label for="address" class="form-label max-w-56">Terletak di.</label>
|
||||
<div class="flex flex-wrap items-baseline w-full">
|
||||
@@ -562,6 +574,7 @@
|
||||
}
|
||||
|
||||
if (data === 'tidak sesuai') {
|
||||
createElementAlamat.style.display = 'block';
|
||||
createElementAlamat.innerHTML = `
|
||||
<div class="grid gap-2.5 w-full">
|
||||
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5 w-full">
|
||||
|
||||
Reference in New Issue
Block a user