update form inspeksi and basic data inspeksi

This commit is contained in:
majid
2024-11-20 17:04:15 +07:00
parent 7e70608ba4
commit deaf9e8e1b
32 changed files with 1341 additions and 666 deletions

View File

@@ -10,7 +10,7 @@
<div class="card min-w-full">
<div class="card-header">
<h3 class="card-title">
Data Jaminan
Denah
</h3>
<div class="flex items-center gap-2">
<a href="{{ route('surveyor.show', ['id' => request('denah')]) }}?form=denah"
@@ -140,9 +140,10 @@
</label>
<div class="w-full grid gap-5">
<img id="foto_denah-preview"
src="{{ isset($formFoto['foto_denah']) ? asset('storage/' . old('foto_denah', $formFoto['foto_denah'])) : '#' }}"
alt="Gambar foto_denah" style="{{ isset($formFoto['foto_denah']) ? 'width: 30rem;' : 'display: none;' }}">
src="{{ isset($formDenah['foto_denah']) ? asset('storage/' . old('foto_denah', $formDenah['foto_denah'])) : '' }}"
alt="Gambar foto_denah" style="{{ isset($formDenah['foto_denah']) ? 'width: 30rem;' : 'display: none;' }}">
<div class="input-group w-full flex gap-2">
<input type="file"
@@ -175,9 +176,9 @@
</div>
</div>
@error('luas')
<em class="alert text-danger text-sm">{{ $message }}</em>
@enderror
<em id="error-luas" class="alert text-danger text-sm"></em>
</div>
</div>
<div class="flex justify-end gap-2" style="margin-right: 20px; margin-top: 20px">