Updates user data and improves UI components

Updates user data display across multiple views to handle migrated data.

Improves UI components by adding a detail location component and refining print layouts.
Also, it fixes minor bugs and enhances data presentation in reports and forms.
This commit is contained in:
majid
2025-05-09 14:32:48 +07:00
parent d1ce5f2d55
commit f81cdbb50d
11 changed files with 129 additions and 63 deletions

View File

@@ -343,10 +343,34 @@
</td>
</tr>
<tr>
<td style="width: 25%; padding: 2px; vertical-align: top;">Alamat</td>
<td style="width: 1%; vertical-align: top;">:</td>
<td style="vertical-align: top;">
@if ($permohonan->is_mig == 1)
<table style="margin: 0">
@if (@isset($dokumen))
@foreach ($dokumen->detail as $detail)
@if (!empty($detail->name) && isset($detail->details) && !empty($detail->dokumen_jaminan))
<tr>
<td width="25%"><strong>{{ $detail->name ?? '' }}</strong></td>
</tr>
@endif
@if (isset($detail->details) && $detail->name == 'LOKASI JAMINAN')
@php
$details = json_decode($detail->details, true);
@endphp
@include('lpj::component.detail-lokasi', ['details' => $details])
@endif
@endforeach
@endif
</table>
@else
<table style="margin: 0">
<tr>
<td width="25%">Terletak di</td>
@@ -369,8 +393,10 @@
<td>{{ $alamat['province_code'] ?? '' }}</td>
</tr>
</table>
@endif
</td>
</tr>
</table>
<table