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