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:
24
resources/views/component/detail-lokasi.blade.php
Normal file
24
resources/views/component/detail-lokasi.blade.php
Normal file
@@ -0,0 +1,24 @@
|
||||
@if (is_array($details) && count($details) > 0)
|
||||
@foreach ($details as $value)
|
||||
@foreach ($value as $key => $item)
|
||||
@if (!empty($item))
|
||||
<tr>
|
||||
<td style="padding: 2px; width:25%;">
|
||||
{{ formatLabel($key) }}
|
||||
</td>
|
||||
<td style="width:1%; padding: 2px; vertical-align: top;">:</td>
|
||||
<td style="padding: 2px;">
|
||||
@if (strpos(strtolower($key), 'tanggal') !== false)
|
||||
{{ formatTanggalIndonesia($item) }}
|
||||
@else
|
||||
{{ $item }}
|
||||
@if ($key == 'luas_bangunan' || $key == 'luas_tanah')
|
||||
<span>m²</span>
|
||||
@endif
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@endforeach
|
||||
@endforeach
|
||||
@endif
|
||||
Reference in New Issue
Block a user