fix(print-out) : perbaikan print out rap, sederhana, standar dan perbaikan tanda tangan dan name informasi rap
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user