perbaikkan alat berat

This commit is contained in:
majid
2025-03-10 16:14:32 +07:00
parent 1450b8e2c8
commit 0dee937f07
3 changed files with 30 additions and 119 deletions

View File

@@ -54,6 +54,7 @@
<label for="province_code" class="form-label max-w-56">Provinsi</label>
<div class="flex flex-wrap items-baseline w-full">
<select id="province_code" name="province_code" class="input w-full">
<option value="">Pilih Provinsi</option>
@foreach ($provinces as $item)
<option value="{{ $item->code }}" {{ ($forminspeksi['alamat']['sesuai']['province_code'] ?? '') == $item->code ? 'selected' : '' }}>{{ $item->name }}</option>
@@ -69,7 +70,7 @@
<option value="">Pilih Kota/Kabupaten</option>
@if(isset($cities))
@foreach ($cities as $item)
<option value="{{ $item->code }}" {{ ($forminspeksi['alamat']['sesuai']['city_code'] ?? '') == $item->code ? 'selected' : '' }}>{{ $item->name }}</option>
<option value="{{ $item->code }}" {{ $forminspeksi['alamat']['sesuai']['city_code'] == $item->code ? 'selected' : '' }}>{{ $item->name }}</option>
@endforeach
@endif
</select>