Merge branch 'staging' into feature/senior-officer

This commit is contained in:
majid
2025-01-01 19:51:27 +07:00

View File

@@ -324,14 +324,16 @@
</div>
<div class="">
@if (isset($formFoto) && isset($formFoto['rute_menuju_lokasi']) && is_array($formFoto['rute_menuju_lokasi']))
@foreach ($formFoto['rute_menuju_lokasi'] as $item)
@foreach ($formFoto['rute_menuju_lokasi']['rute_menuju_lokasi'][0] as $item)
<div class="flex items-center justify-between mt-5">
<div class="grid gap-5">
<h2 class="text-gray-600 font-semibold text-xl">
{{ $item['name_rute'] . ' ' . $loop->index + 1 }}
{{ ($item['name'] ?? "") . ' ' . $loop->index + 1 }}
</h2>
<div class="flex items-center">
<img src="{{ Storage::url($item['foto_rute']) }}" alt="">
@if(isset($item['path']))
<img src="{{ Storage::url($item['path']) }}" alt="">
@endif
</div>
</div>
</div>