295 lines
11 KiB
PHP
295 lines
11 KiB
PHP
<tr>
|
|
<td style="text-align: center; border: 1px solid #000;">
|
|
F
|
|
</td>
|
|
<td style="text-align: center; border: 1px solid #000;">
|
|
SARANA PELENGKAP DAN LINKUNGAN
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: center; border: 1px solid #000;">
|
|
</td>
|
|
<td>
|
|
<table>
|
|
<tr>
|
|
<td width="25%">Jarak Jalan Utama</td>
|
|
<td>{{ $forminspeksi['lingkungan']['jarak_jalan_utama'] ?? '' }}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Jalan Lingkungan</td>
|
|
<td>{{ $forminspeksi['lingkungan']['jalan_linkungan'] ?? '' }}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Jarak CBD Point</td>
|
|
<td>{{ $forminspeksi['lingkungan']['jarak_cbd_point'] ?? '' }}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Nama CBD Point</td>
|
|
<td>{{ $forminspeksi['lingkungan']['nama_cbd_point'] ?? '' }}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Lebar Perkerasan Jalan</td>
|
|
<td>{{ $forminspeksi['lingkungan']['lebar_perkerasan_jalan'] ?? '' }}</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;"><strong>Sarana Pelengkap</strong></td>
|
|
<td>
|
|
@if (isset($basicData['saranaPelengkap']))
|
|
<table class="checkbox-list">
|
|
<tr>
|
|
@foreach ($basicData['saranaPelengkap'] as $index => $item)
|
|
@if ($index % 3 == 0 && $index > 0)
|
|
</tr>
|
|
<tr>
|
|
@endif
|
|
<td class="checkbox-item">
|
|
<label class="checkbox-label">
|
|
<input type="checkbox" name="sarana_pelengkap[]" value="{{ $item->name }}"
|
|
{{ isset($forminspeksi['bangunan']['sarana_pelengkap']) && in_array($item->name, $forminspeksi['bangunan']['sarana_pelengkap']) ? 'checked' : '' }}>
|
|
{{ $item->name }}
|
|
|
|
@if (isset($forminspeksi['bangunan']['sarana_pelengkap']) &&
|
|
in_array($item->name, $forminspeksi['bangunan']['sarana_pelengkap']))
|
|
@php
|
|
$inputValues = isset($forminspeksi['bangunan']['sarana_pelengkap_input'][$index])
|
|
? $forminspeksi['bangunan']['sarana_pelengkap_input'][$index]
|
|
: null;
|
|
@endphp
|
|
@if ($inputValues)
|
|
<span class="label-checkbox"> - {{ $inputValues }}</span>
|
|
@endif
|
|
@endif
|
|
</label>
|
|
</td>
|
|
@endforeach
|
|
</tr>
|
|
</table>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;"><strong>Lapisan Perkerasan Jalan</strong></td>
|
|
<td>
|
|
@if (isset($basicData['perkerasanJalan']))
|
|
<table class="checkbox-list">
|
|
<tr>
|
|
@foreach ($basicData['perkerasanJalan'] as $index => $item)
|
|
@if ($index % 3 == 0 && $index > 0)
|
|
</tr>
|
|
<tr>
|
|
@endif
|
|
<td class="checkbox-item">
|
|
<label class="checkbox-label">
|
|
<input type="checkbox"
|
|
{{ isset($forminspeksi['lingkungan']['perkerasan_jalan']['perkerasan_jalan']) && in_array($item->name, $forminspeksi['lingkungan']['perkerasan_jalan']['perkerasan_jalan']) ? 'checked' : '' }}>
|
|
{{ $item->name }}
|
|
</label>
|
|
</td>
|
|
@endforeach
|
|
</tr>
|
|
</table>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="vertical-align: top;"><strong>Lapisan Perkerasan Jalan</strong></td>
|
|
<td>
|
|
@if (isset($basicData['laluLintasLokasi']))
|
|
<table class="checkbox-list">
|
|
<tr>
|
|
@foreach ($basicData['laluLintasLokasi'] as $index => $item)
|
|
@if ($index % 3 == 0 && $index > 0)
|
|
</tr>
|
|
<tr>
|
|
@endif
|
|
<td class="checkbox-item">
|
|
<label class="checkbox-label">
|
|
<input type="checkbox"
|
|
{{ isset($forminspeksi['lingkungan']['lalu_lintas']) && in_array($item->name, $forminspeksi['lingkungan']['lalu_lintas']) ? 'checked' : '' }}>
|
|
{{ $item->name }}
|
|
</label>
|
|
</td>
|
|
@endforeach
|
|
</tr>
|
|
</table>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="vertical-align: top;"><strong>Golongan Masyarakat Sekitar</strong></td>
|
|
<td>
|
|
@if (isset($basicData['golMasySekitar']))
|
|
<table class="checkbox-list">
|
|
<tr>
|
|
@foreach ($basicData['golMasySekitar'] as $index => $item)
|
|
@if ($index % 3 == 0 && $index > 0)
|
|
</tr>
|
|
<tr>
|
|
@endif
|
|
<td class="checkbox-item">
|
|
<label class="checkbox-label">
|
|
<input type="checkbox"
|
|
{{ isset($forminspeksi['lingkungan']['gol_mas_sekitar']) && in_array($item->name, $forminspeksi['lingkungan']['gol_mas_sekitar']) ? 'checked' : '' }}>
|
|
{{ $item->name }}
|
|
</label>
|
|
</td>
|
|
@endforeach
|
|
</tr>
|
|
</table>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="vertical-align: top;"><strong>Terletak di Daerah</strong></td>
|
|
<td>
|
|
@if (isset($basicData['terletakDiArea']))
|
|
<table class="checkbox-list">
|
|
<tr>
|
|
@foreach ($basicData['terletakDiArea'] as $index => $item)
|
|
@if ($index % 3 == 0 && $index > 0)
|
|
</tr>
|
|
<tr>
|
|
@endif
|
|
<td class="checkbox-item">
|
|
<label class="checkbox-label">
|
|
<input type="checkbox"
|
|
{{ isset($forminspeksi['lingkungan']['terletak_diarea']) && in_array($item->name, $forminspeksi['lingkungan']['terletak_diarea']) ? 'checked' : '' }}>
|
|
{{ $item->name }}
|
|
</label>
|
|
</td>
|
|
@endforeach
|
|
</tr>
|
|
</table>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="vertical-align: top;"><strong>Disekitar Lokasi</strong></td>
|
|
<td>
|
|
<div class="checkbox-item">
|
|
<label class="checkbox-label">
|
|
<input type="radio" name="disekitar_lokasi" value="Telah ada bangunan"
|
|
{{ ($forminspeksi['lingkungan']['disekitar_lokasi'] ?? '') == 'ya' ? 'checked' : '' }}>
|
|
Telah ada bangunan
|
|
@if (($forminspeksi['lingkungan']['disekitar_lokasi'] ?? '') == 'ya')
|
|
- Kondisi Bangunan:
|
|
{{ $forminspeksi['lingkungan']['kondisi_bagunan_disekitar_lokasi'] ?? '' }}
|
|
, Sifat Bangunan:
|
|
{{ $forminspeksi['lingkungan']['sifat_bagunan_disekitar_lokasi'] ?? '' }}
|
|
@endif
|
|
</label>
|
|
<label class="checkbox-label">
|
|
<input type="radio" name="disekitar_lokasi" value="Belum ada bangunan"
|
|
{{ ($forminspeksi['lingkungan']['disekitar_lokasi'] ?? '') == 'tidak' ? 'checked' : '' }}>
|
|
Belum ada bangunan
|
|
</label>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td style="vertical-align: top;"><strong>Dekat Makam</strong></td>
|
|
<td>
|
|
<div class="checkbox-item">
|
|
<label class="checkbox-label">
|
|
<input type="radio" name="disekitar_lokasi" value="ya"
|
|
{{ ($forminspeksi['lingkungan']['dekat_makam'] ?? '') == 'ya' ? 'checked' : '' }}>
|
|
Ya
|
|
@if (($forminspeksi['lingkungan']['dekat_makam'] ?? '') == 'ya')
|
|
- Nama Makam:
|
|
{{ $forminspeksi['lingkungan']['nama_makam'] ?? '' }}
|
|
, Jarak Makam:
|
|
{{ $forminspeksi['lingkungan']['jarak_makam'] ?? '' }}
|
|
@endif
|
|
</label>
|
|
<label class="checkbox-label">
|
|
<input type="radio" name="disekitar_lokasi" value="tidak"
|
|
{{ ($forminspeksi['lingkungan']['dekat_makam'] ?? '') == 'tidak' ? 'checked' : '' }}>
|
|
Tidak
|
|
</label>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td style="vertical-align: top;"><strong>Dekat TPS</strong></td>
|
|
<td>
|
|
<div class="checkbox-item">
|
|
<label class="checkbox-label">
|
|
<input type="radio" name="disekitar_lokasi" value="ya"
|
|
{{ ($forminspeksi['lingkungan']['dekat_tps'] ?? '') == 'ya' ? 'checked' : '' }}>
|
|
Ya
|
|
@if (($forminspeksi['lingkungan']['dekat_tps'] ?? '') == 'ya')
|
|
- Nama TPS:
|
|
{{ $forminspeksi['lingkungan']['nama_tps'] ?? '' }}
|
|
, Jarak TPS:
|
|
{{ $forminspeksi['lingkungan']['jarak_tps'] ?? '' }}
|
|
@endif
|
|
</label>
|
|
<label class="checkbox-label">
|
|
<input type="radio" name="disekitar_lokasi" value="tidak"
|
|
{{ ($forminspeksi['lingkungan']['dekat_tps'] ?? '') == 'tidak' ? 'checked' : '' }}>
|
|
Tidak
|
|
</label>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="vertical-align: top;"><strong>Merupakan Daerah</strong></td>
|
|
<td>
|
|
@if (isset($basicData['merupakanDaerah']))
|
|
<table class="checkbox-list">
|
|
<tr>
|
|
@foreach ($basicData['merupakanDaerah'] as $index => $item)
|
|
@if ($index % 3 == 0 && $index > 0)
|
|
</tr>
|
|
<tr>
|
|
@endif
|
|
<td class="checkbox-item">
|
|
<label class="checkbox-label">
|
|
<input type="checkbox"
|
|
{{ isset($forminspeksi['lingkungan']['merupakan_daerah']) && in_array($item->name, $forminspeksi['lingkungan']['merupakan_daerah']) ? 'checked' : '' }}>
|
|
{{ $item->name }}
|
|
</label>
|
|
</td>
|
|
@endforeach
|
|
</tr>
|
|
</table>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="vertical-align: top;"><strong>Fasilitas Umum Dekat Lokasi</strong></td>
|
|
<td>
|
|
@if (isset($basicData['fasilitasObjek']))
|
|
<table class="checkbox-list">
|
|
<tr>
|
|
@foreach ($basicData['fasilitasObjek'] as $index => $item)
|
|
@if ($index % 3 == 0 && $index > 0)
|
|
</tr>
|
|
<tr>
|
|
@endif
|
|
<td class="checkbox-item">
|
|
<label class="checkbox-label">
|
|
<input type="checkbox"
|
|
{{ isset($forminspeksi['lingkungan']['fasilitas_dekat_object']) && in_array($item->name, $forminspeksi['lingkungan']['fasilitas_dekat_object']) ? 'checked' : '' }}>
|
|
{{ $item->name }}
|
|
</label>
|
|
</td>
|
|
@endforeach
|
|
</tr>
|
|
</table>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|