fix(print-out) : perbaikan print out rap, sederhana, standar dan perbaikan tanda tangan dan name informasi rap

This commit is contained in:
majid
2025-02-05 15:18:05 +07:00
parent ac431a3c3c
commit 821324e8a1
5 changed files with 115 additions and 34 deletions

View File

@@ -1295,7 +1295,7 @@
</table>
<div class="section">
<div class="judul">
<h6 class="border" style="text-align: center">
<h6 class="border" style="text-align: center;">
PETA
</h6>
</div>
@@ -1308,6 +1308,7 @@
array_unshift($fotoTypes, 'foto_tempat');
}
@endphp
@if (isset($forminspeksi))
@php $counter = 0; @endphp
@foreach ($fotoTypes as $type)
@@ -1316,12 +1317,13 @@
@endphp
@if ($imagePath && file_exists(storage_path('app/public/' . $imagePath)))
@if ($counter % 2 == 0)
<div class="photo-row clearfix">
<div class="photo-row clearfix"
>
@endif
<div class="photo-items" style="float: left; width: 48%; margin-right: 2%; padding: 5px; text-align: center; border: 1px solid #ddd; page-break-inside: avoid;">
<img src="{{ storage_path('app/public/' . $imagePath) }}"
alt="{{ $type }}"
style="width: 50%; height: 40%; object-fit: contain; margin-bottom: 10px;">
<div class="photo-item border"
>
<img src="{{ storage_path('app/public/' . $imagePath) }}" alt="{{ $type }}"
class="photo-image">
<p style="margin: 0; font-size: 14px;">
{{ Str::title(str_replace('_', ' ', $type)) }}
</p>