perbaikan data pembanding

This commit is contained in:
majid
2025-01-13 10:48:07 +07:00
parent 8db7e5d654
commit 0f4a0a12ee
4 changed files with 105 additions and 91 deletions

View File

@@ -240,11 +240,11 @@
<td class="px-4 py-2">Provinsi</td>
<td class="px-4 py-2">
<select id="province_code" name="province_code" class="input w-full">
<option value="">Select Province</option>
@foreach ($provinces as $province)
@php
$selectedProvince =
$inspectionData['alamat']['sesuai']['province_code'] ?? null;
@endphp
@@ -274,7 +274,7 @@
<select id="city_code" name="city_code" class="select w-full">
@php
$selectedCity = $inspectionData['alamat']['sesuai']['city_code'] ?? null;
@endphp
<option value="">Pilih Kota/Kabupaten</option>
@@ -330,7 +330,7 @@
<td class="px-4 py-2">
<select id="village_code" name="village_code" class="select w-full">
@php
$selectedDesa =
$inspectionData['alamat']['sesuai']['village_code'] ?? null;
@endphp
@@ -364,7 +364,7 @@
value="{{ $inspectionData['harga'] ?? '' }}">
</td>
<td class="px-4 py-2">
<input type="text" name="harga_pembanding[]" class="input currency-format">
<input type="text" name="harga_pembanding[]" class="input currency">
</td>
</tr>
<tr>
@@ -414,4 +414,4 @@
</tbody>
</table>
</div>
</div>
</div>