fix(surveyor): perbaikan nama tanda tangan dan free text lainnya
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
</style>
|
||||
|
||||
<div class="signature-pad-container mx-auto border p-4 max-w-md sm:max-w-lg lg:max-w-xl">
|
||||
<h3 class="signature-title text-lg sm:text-xl font-semibold mb-2">{{ ucfirst($type) }}</h3>
|
||||
<h3 class="signature-title text-md sm:text-lg mb-2 uppercase">{{ ucfirst($type) }}</h3>
|
||||
<div class="w-full aspect-w-2 aspect-h-1">
|
||||
<canvas
|
||||
id="signature-pad-{{ $type }}"
|
||||
|
||||
@@ -270,7 +270,7 @@
|
||||
|
||||
<div class="flex items-center gap-2">
|
||||
<label for="jarak_makam" class="form-label max-w-56">Jarak</label>
|
||||
<input type="number" class="input mt-2" name="jarak_makam"
|
||||
<input type="text" class="input mt-2" name="jarak_makam"
|
||||
value="{{ old('jarak_makam', $forminspeksi['lingkungan']['jarak_makam'] ?? '') }}"
|
||||
placeholder="Km" />
|
||||
</div>
|
||||
@@ -313,7 +313,7 @@
|
||||
style="{{ old('dekat_tps', $forminspeksi['lingkungan']['dekat_tps'] ?? '') == 'ya' ? 'display:flex;' : 'display:none;' }}">
|
||||
<div class="flex items-center gap-2">
|
||||
<label for="jarak_tps" class="form-label max-w-56">Jarak</label>
|
||||
<input type="number" id="jarak_tps" class="input mt-2" name="jarak_tps"
|
||||
<input type="text" id="jarak_tps" class="input mt-2" name="jarak_tps"
|
||||
value="{{ old('jarak_tps', $forminspeksi['lingkungan']['jarak_tps'] ?? '') }}"
|
||||
placeholder="Km" />
|
||||
</div>
|
||||
|
||||
@@ -46,6 +46,11 @@
|
||||
<input type="checkbox"
|
||||
{{ isset($forminspeksi['lingkungan']['perkerasan_jalan']['perkerasan_jalan']) && in_array($item->name, $forminspeksi['lingkungan']['perkerasan_jalan']['perkerasan_jalan']) ? 'checked' : '' }}>
|
||||
{{ $item->name }}
|
||||
|
||||
@if ($item->name == 'Lainnya')
|
||||
{{ isset($forminspeksi['lingkungan']['perkerasan_jalan']['lainnya']) ? ' (' . $forminspeksi['lingkungan']['perkerasan_jalan']['lainnya'] . ')' : '' }}
|
||||
@endif
|
||||
|
||||
</label>
|
||||
</td>
|
||||
@endforeach
|
||||
@@ -150,6 +155,10 @@
|
||||
<input type="checkbox"
|
||||
{{ isset($forminspeksi['lingkungan']['terletak_diarea']['terletak_diarea']) && in_array($item->name, $forminspeksi['lingkungan']['terletak_diarea']['terletak_diarea'] ?? '') ? 'checked' : '' }}>
|
||||
{{ $item->name }}
|
||||
|
||||
@if ($item->name == 'Lainnya')
|
||||
{{ isset($forminspeksi['lingkungan']['terletak_diarea']['lainnya']) ? ' (' . $forminspeksi['lingkungan']['terletak_diarea']['lainnya'] . ')' : '' }}
|
||||
@endif
|
||||
</label>
|
||||
</td>
|
||||
@endforeach
|
||||
@@ -198,7 +207,7 @@
|
||||
- Nama Makam:
|
||||
{{ $forminspeksi['lingkungan']['nama_makam'] ?? '' }}
|
||||
, Jarak Makam:
|
||||
{{ $forminspeksi['lingkungan']['jarak_makam'] ?? '' }} Km
|
||||
{{ $forminspeksi['lingkungan']['jarak_makam'] ?? '' }}
|
||||
@endif
|
||||
</label>
|
||||
<label class="checkbox-label">
|
||||
@@ -225,7 +234,7 @@
|
||||
{{ $forminspeksi['lingkungan']['nama_tps'] ?? '' }}
|
||||
, Jarak TPS:
|
||||
{{ $forminspeksi['lingkungan']['jarak_tps'] ?? '' }}
|
||||
km
|
||||
|
||||
@endif
|
||||
</label>
|
||||
<label class="checkbox-label">
|
||||
|
||||
@@ -91,7 +91,12 @@
|
||||
<input type="checkbox"
|
||||
{{ isset($forminspeksi['tanah']['bentuk_tanah']['bentuk_tanah']) && in_array($item->name, $forminspeksi['tanah']['bentuk_tanah']['bentuk_tanah']) ? 'checked' : '' }}>
|
||||
{{ $item->name }}
|
||||
|
||||
@if ($item->name == 'Lainnya')
|
||||
{{ isset($forminspeksi['tanah']['bentuk_tanah']['lainnya']) ? ' (' . $forminspeksi['tanah']['bentuk_tanah']['lainnya'] . ')' : '' }}
|
||||
@endif
|
||||
</label>
|
||||
|
||||
</td>
|
||||
@endforeach
|
||||
</tr>
|
||||
@@ -147,6 +152,13 @@
|
||||
<input type="checkbox"
|
||||
{{ isset($forminspeksi['tanah']['ketinggian_tanah']['ketinggian']) && in_array($item->name, $forminspeksi['tanah']['ketinggian_tanah']['ketinggian']) ? 'checked' : '' }}>
|
||||
{{ $item->name }}
|
||||
|
||||
@if ($item->name == 'Lebih Tinggi')
|
||||
{{ isset($forminspeksi['tanah']['ketinggian_tanah']['lebih_tinggi']) ? ' (' . $forminspeksi['tanah']['ketinggian_tanah']['lebih_tinggi'] . ')' : '' }}
|
||||
@endif
|
||||
@if ($item->name == 'Lebih Rendah')
|
||||
{{ isset($forminspeksi['tanah']['ketinggian_tanah']['lebih_rendah']) ? ' (' . $forminspeksi['tanah']['ketinggian_tanah']['lebih_rendah'] . ')' : '' }}
|
||||
@endif
|
||||
</label>
|
||||
</td>
|
||||
@endforeach
|
||||
@@ -211,6 +223,10 @@
|
||||
<input type="checkbox"
|
||||
{{ isset($forminspeksi['tanah']['posisi_kavling']['posisi_kavling']) && in_array($item->name, $forminspeksi['tanah']['posisi_kavling']['posisi_kavling']) ? 'checked' : '' }}>
|
||||
{{ $item->name }}
|
||||
|
||||
@if ($item->name == 'Lainnya')
|
||||
{{ isset($forminspeksi['tanah']['posisi_kavling']['lainnya']) ? ' (' . $forminspeksi['tanah']['posisi_kavling']['lainnya'] . ')' : '' }}
|
||||
@endif
|
||||
</label>
|
||||
</td>
|
||||
@endforeach
|
||||
|
||||
Reference in New Issue
Block a user