@foreach ($photos as $index => $item)
-
-
+
@if (isset($item['path']))
 }})
+ alt="Gambar {{ $index + 1 }}" class="object-cover w-full h-full">
@else
Gambar tidak tersedia
@endif
-
+
{{ $item['name'] ?? 'Foto - ' . ($index + 1) }}
-
{{ $item['description'] ?? '-' }}
+
{{ $item['description'] ?? '-' }}
@endforeach
@@ -43,12 +43,12 @@
@@ -87,12 +87,12 @@
previewModal.className = 'fixed inset-0 bg-black bg-opacity-75 flex items-center justify-center z-50';
previewModal.innerHTML = `
-
${name}
-

-
`;
document.body.appendChild(previewModal);
@@ -109,7 +109,7 @@
@php
- $fotoTypes = ['upload_gs','foto_sentuh_tanahku','foto_gistaru', 'foto_bhumi', 'foto_argis_region', 'foto_tempat'];
+ $fotoTypes = ['upload_gs', 'foto_sentuh_tanahku', 'foto_gistaru', 'foto_bhumi', 'foto_argis_region', 'foto_tempat'];
$customLabels = [
'upload_gs' => 'Gambar Situasi',
@@ -139,27 +139,30 @@
@if ($adaFoto)
-
+
@if (isset($forminspeksi))
@forelse ($fotoTypes as $type)
-
- @php
- $imagePath = $forminspeksi[$type] ?? null;
- @endphp
+
+
+ {{ $customLabels[$type] ?? '' }}
+
+ @php
+ $imagePath = $forminspeksi[$type] ?? null;
+ @endphp
- @if ($imagePath && file_exists(storage_path('app/public/' . $imagePath)))
-
 }})
- @endif
-
{{ $customLabels[$type] ?? '' }}
+ @if ($imagePath && file_exists(storage_path('app/public/' . $imagePath)))
+
 }})
+ @endif
+
@empty
-
Tidak ada tipe foto yang tersedia
+
Tidak ada tipe foto yang tersedia
@endforelse
@endif
diff --git a/resources/views/penilai/components/lpj-sederhana-standar.blade.php b/resources/views/penilai/components/lpj-sederhana-standar.blade.php
index b928fa3..b4b4236 100644
--- a/resources/views/penilai/components/lpj-sederhana-standar.blade.php
+++ b/resources/views/penilai/components/lpj-sederhana-standar.blade.php
@@ -21,17 +21,17 @@
}
@include('lpj::assetsku.includenya')
-