perbaikan laporan

This commit is contained in:
majid
2024-12-29 14:10:05 +07:00
parent 371de00add
commit c3362821c3
10 changed files with 596 additions and 728 deletions

View File

@@ -7,9 +7,7 @@
</h2>
@php
$imagePath = $statusLpj
? asset('storage/' . $item['path'])
: storage_path('app/public/' . $item['path']);
$imagePath = storage_path('app/public/' . $item['path']);
@endphp
@if ($statusLpj || file_exists(storage_path('app/public/' . $item['path'])))
@@ -27,9 +25,7 @@
</h2>
@php
$imagePath = $statusLpj
? asset('storage/' . $item['foto_rute_lainnya'])
: storage_path('app/public/' . $item['foto_rute_lainnya']);
$imagePath = storage_path('app/public/' . $item['foto_rute_lainnya']);
@endphp
@if ($statusLpj || file_exists(storage_path('app/public/' . $item['foto_rute_lainnya'])))
@@ -48,9 +44,7 @@
</h2>
@php
$imagePath = $statusLpj
? asset('storage/' . $item['foto_objek'])
: storage_path('app/public/' . $item['foto_objek']);
$imagePath = storage_path('app/public/' . $item['foto_objek']);
@endphp
@if ($statusLpj || file_exists(storage_path('app/public/' . $item['foto_objek'])))
@@ -70,9 +64,7 @@
</h2>
@php
$imagePath = $statusLpj
? asset('storage/' . $item['path'])
: storage_path('app/public/' . $item['path']);
$imagePath = storage_path('app/public/' . $item['path']);
@endphp
@if ($statusLpj || file_exists(storage_path('app/public/' . $item['path'])))
@@ -91,9 +83,7 @@
</h2>
@php
$imagePath = $statusLpj
? asset('storage/' . $item['path'])
: storage_path('app/public/' . $item['path']);
$imagePath = storage_path('app/public/' . $item['path']);
@endphp
@if ($statusLpj || file_exists(storage_path('app/public/' . $item['path'])))
@@ -110,9 +100,7 @@
</h2>
@php
$imagePath = $statusLpj
? asset('storage/' . $formFoto['foto_basement'])
: storage_path('app/public/' . $formFoto['foto_basement']);
$imagePath = storage_path('app/public/' . $formFoto['foto_basement']);
@endphp
@if ($statusLpj || file_exists(storage_path('app/public/' . $formFoto['foto_basement'])))
@@ -128,9 +116,7 @@
</h2>
@php
$imagePath = $statusLpj
? asset('storage/' . $formFoto['foto_gerbang'])
: storage_path('app/public/' . $formFoto['foto_gerbang']);
$imagePath = storage_path('app/public/' . $formFoto['foto_gerbang']);
@endphp
@if ($statusLpj || file_exists(storage_path('app/public/' . $formFoto['foto_gerbang'])))
@@ -146,9 +132,7 @@
</h2>
@php
$imagePath = $statusLpj
? asset('storage/' . $formFoto['pendamping'])
: storage_path('app/public/' . $formFoto['pendamping']);
$imagePath = storage_path('app/public/' . $formFoto['pendamping']);
@endphp
@if ($statusLpj || file_exists(storage_path('app/public/' . $formFoto['pendamping'])))