update semua form inspeksi

This commit is contained in:
majid
2024-11-19 10:50:21 +07:00
parent a79dd22311
commit d51fd932e7
22 changed files with 3643 additions and 1679 deletions

View File

@@ -187,8 +187,9 @@
<input id="foto_tempat" type="file" name="foto_tempat"
class="file-input file-input-bordered w-full" accept="image/*"
onchange="previewImage(this, 'argis-region-preview')">
<img id="argis-region-preview"
onchange="previewImage(this, 'foto_tempat-preview')">
<img id="foto_tempat-preview"
src="{{ asset('storage/' . (isset($forminspeksi['foto_tempat']) ? $forminspeksi['foto_tempat'] : '')) }}"
alt="Foto Argis Region" class="mt-2 max-w-full h-auto"
style="{{ isset($forminspeksi['foto_tempat']) ? '' : 'display: none;' }}">