Files
lpj/resources/views/surveyor/components/pesawat.blade.php
2024-11-20 17:04:15 +07:00

929 lines
38 KiB
PHP

<div class="card bg-white rounded-lg shadow-md overflow-hidden">
<div class="card-body">
<div class="py-4 px-6">
<h1 class="text-md font-medium text-gray-900">Order Penilaian</h1>
</div>
<div class="grid gap-5 grid-cols-2">
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
<label class="form-label max-w-56">Tujuan Penilaian</label>
<div class="flex flex-wrap items-baseline w-full">
@if (isset($permohonan->tujuanPenilaian))
<p class="text-2sm text-gray-700">{{ $permohonan->tujuanPenilaian->name }}</p>
@endif
</div>
</div>
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
<label class="form-label max-w-56">Tanggal Survey</label>
<div class="flex flex-wrap items-base line w-full">
<p class="text-2sm text-gray-700">{{ $permohonan->created_at->format('d/m/Y') }}</p>
</div>
</div>
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
<label class="form-label max-w-56">Cab/Direktorat</label>
<div class="flex flex-wrap items-baseline w-full">
@if (isset($permohonan->branch))
<p class="text-2sm text-gray-700">{{ $permohonan->branch->name }}</p>
@endif
</div>
</div>
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
<label class="form-label max-w-56">AO</label>
<div class="flex flex-wrap items-baseline w-full">
@if (isset($permohonan->user))
<p class="text-2sm text-gray-700">{{ $permohonan->user->name }}</p>
@endif
</div>
</div>
</div>
</div>
</div>
<div class="card bg-white rounded-lg shadow-md overflow-hidden">
<div class="card-body">
<div class="py-4 px-6">
<h1 class="text-md font-medium text-gray-900">Identitas Debitur</h1>
</div>
<div class="grid gap-5">
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
<label class="form-label max-w-56">Nama Calon Debitur</label>
<div class="flex flex-wrap items-baseline w-full">
@if (isset($permohonan->debiture->name))
<p class="text-2sm text-gray-700">{{ $permohonan->debiture->name }}</p>
@endif
</div>
</div>
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
<label class="form-label max-w-56">Nama Wakil Debitur</label>
<div class="flex flex-wrap items-baseline w-full">
<input type="text" name="nama_wakil" class="input"
placeholder="Masukkan Hubungan Calon Debitur">
<em id="error-nama_wakil" class="alert text-danger text-sm"></em>
</div>
</div>
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
<label class="form-label max-w-56">Hubungan Calon Debitur</label>
<div class="flex flex-wrap items-baseline w-full">
<input type="text" name="hub_calon_debitur" class="input"
placeholder="Masukkan Hubungan Calon Debitur">
<em id="error-hub_calon_debitur" class="alert text-danger text-sm"></em>
</div>
</div>
</div>
{{-- lokasi jaminan --}}
@include('lpj::surveyor.components.lokasi-jaminan')
</div>
</div>
<div class="card bg-white rounded-lg shadow-md overflow-hidden">
<div class="card-body">
<div class="py-4 px-6">
<h1 class="text-md font-medium text-gray-900">Data Data Umum</h1>
</div>
<div class="grid gap-5">
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
<label class="form-label max-w-56">Jenis Pesawat</label>
<div class="flex flex-wrap items-baseline w-full">
<select
class="input tomselect w-full @error('hadapMataAngin') border-danger bg-danger-light @enderror"
name="hadapMataAngin">
<option value="">Select Model Kendaraan </option>
@if (isset($jenisPesawat))
@foreach ($jenisPesawat as $item)
<option value="{{ $item->name }}"
{{ old('hadapMataAngin') == $item->name ? 'selected' : '' }}>{{ $item->name }}
</option>
@endforeach
@endif
</select>
@error('jenisPesawat')
<em class="alert text-danger text-sm"></em>
@enderror
</div>
</div>
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
<label class="form-label max-w-56">Size</label>
<div class="flex flex-wrap items-baseline w-full">
<select
class="input tomselect w-full @error('hadapMataAngin') border-danger bg-danger-light @enderror"
name="hadapMataAngin">
<option value="">Select Model Kendaraan </option>
@if (isset($arahMataAngin))
@foreach ($arahMataAngin as $item)
<option value="{{ $item->name }}"
{{ old('hadapMataAngin') == $item->name ? 'selected' : '' }}>{{ $item->name }}
</option>
@endforeach
@endif
</select>
@error('hadapMataAngin')
<em class="alert text-danger text-sm"></em>
@enderror
</div>
</div>
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
<label class="form-label max-w-56">Kondisi</label>
<div class="flex flex-wrap items-baseline w-full">
<select
class="input tomselect w-full @error('hadapMataAngin') border-danger bg-danger-light @enderror"
name="hadapMataAngin">
<option value="">Select Model Kendaraan </option>
@if (isset($arahMataAngin))
@foreach ($arahMataAngin as $item)
<option value="{{ $item->name }}"
{{ old('hadapMataAngin') == $item->name ? 'selected' : '' }}>{{ $item->name }}
</option>
@endforeach
@endif
</select>
@error('hadapMataAngin')
<em class="alert text-danger text-sm"></em>
@enderror
</div>
</div>
@php
$inputDataJaminan = [];
$inputDataJaminan = [
[
'label' => 'Nama Pesawat',
'name' => 'nama_pesawat',
'index' => 0,
],
[
'label' => 'Model',
'name' => 'model',
'index' => 1,
],
[
'label' => 'Nomor Registrasi',
'name' => 'nomor_registrasi',
'index' => 2,
],
[
'label' => 'Tahun Pembuatan',
'name' => 'tahun_pembuatan',
'index' => 3,
],
[
'label' => 'Certificate of Airworthines (C of A)',
'name' => 'certificate_of_airworthines',
'index' => 4,
],
[
'label' => 'Certificate of Registration (C of A)',
'name' => 'certificate_of_registration',
'index' => 5,
],
[
'label' => 'Total Service Hours (TSN - Total Time Since New)',
'name' => 'total_service_hours',
'index' => 6,
],
[
'label' => 'Total Service Cycles (CSN - Cycle Since New)',
'name' => 'total_service_cycles',
'index' => 7,
],
];
@endphp
@if (count($inputDataJaminan) > 0)
@foreach ($inputDataJaminan as $item)
<!-- Nomor Lambung -->
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
<label class="form-label max-w-56">{{ $item['label'] }}</label>
<div class="flex flex-wrap items-baseline w-full">
<input type="text" name="bentuk_tanah" class="input"
placeholder="Masukkan {{ $item['label'] }}">
@error('bentuk_tanah')
<em class="alert text-danger text-sm"></em>
@enderror
</div>
</div>
@endforeach
@endif
</div>
</div>
</div>
<div class="card bg-white rounded-lg shadow-md overflow-hidden">
<div class="card-body">
<div class="py-4 px-6">
<h1 class="text-md font-medium text-gray-900">Maintainence Data</h1>
</div>
<div class="grid gap-5">
@php
$inputMaintenece = [
[
'label' => 'Last A Check',
'name' => 'last_a_check',
'index' => 0,
],
[
'label' => 'Next A Check',
'name' => 'next_a_check',
'index' => 1,
],
[
'label' => 'Last B Check',
'name' => 'last_b_check',
'index' => 2,
],
[
'label' => 'Next B Check',
'name' => 'next_b_check',
'index' => 3,
],
[
'label' => 'Last C Check',
'name' => 'last_c_check',
'index' => 4,
],
[
'label' => 'Next C Check',
'name' => 'next_c_check',
'index' => 5,
],
[
'label' => 'Next D Check (Overhaul)',
'name' => 'next_d_check',
'index' => 6,
],
[
'label' => 'Last D Check (Overhaul)',
'name' => 'last_d_check',
'index' => 7,
],
];
@endphp
@if (count($inputMaintenece) > 0)
@foreach ($inputMaintenece as $item)
<!-- Nomor Lambung -->
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
<label class="form-label max-w-56">{{ $item['label'] }}</label>
<div class="flex flex-wrap items-baseline w-full">
<input type="text" name="{{ $item['name'] }}" class="input"
placeholder="Masukkan {{ $item['label'] }}">
<em id="error_{{ $item['name'] }}" class="alert text-danger text-sm"></em>
</div>
</div>
@endforeach
@endif
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
<label class="form-label max-w-56">Deskripsi/Keterangan Lain Lain </label>
<div class="flex flex-wrap items-baseline w-full">
<textarea name="deskripsi_maintenence" id="" class="textarea"></textarea>
<em id="error_deskripsi_maintenence" class="alert text-danger text-sm"></em>
</div>
</div>
</div>
</div>
</div>
<div class="card bg-white rounded-lg shadow-md overflow-hidden">
<div class="card-body">
<div class="py-4 px-6">
<h1 class="text-md font-medium text-gray-900">Fungsi konfigurasi</h1>
</div>
<div class="grid gap-5">
@php
$inputFungsiKonfigurasi = [
[
'label' => 'Instrument Landing System (ILS)',
'name' => 'instrument_landing_system',
'index' => 0,
],
[
'label' => 'Traffic Collision Avoidance System (TCAS)',
'name' => 'traffic_collision_avoidance_system',
'index' => 1,
],
[
'label' => 'Windshear',
'name' => 'windshear',
'index' => 2,
],
[
'label' => 'Electronic Flight Instrument System (EFIS)',
'name' => 'electronic_flight',
'index' => 3,
],
[
'label' => 'Winglets ',
'name' => 'winglets',
'index' => 4,
],
];
@endphp
@if (count($inputFungsiKonfigurasi) > 0)
@foreach ($inputFungsiKonfigurasi as $item)
<!-- Nomor Lambung -->
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
<label class="form-label max-w-56">{{ $item['label'] }}</label>
<div class="flex flex-wrap items-baseline w-full">
<input type="text" name="{{ $item['name'] }}" class="input"
placeholder="Masukkan {{ $item['label'] }}">
<em id="error_{{ $item['name'] }}" class="alert text-danger text-sm"></em>
</div>
</div>
@endforeach
@endif
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
<label class="form-label max-w-56">Deskripsi/Keterangan Lain Lain </label>
<div class="flex flex-wrap items-baseline w-full">
<textarea name="deskripsi_konfigurasi" id="" class="textarea"></textarea>
<em id="error_deskripsi_konfigurasi" class="alert text-danger text-sm"></em>
</div>
</div>
</div>
</div>
</div>
<div class="card bg-white rounded-lg shadow-md overflow-hidden">
<div class="card-body">
<div class="py-4 px-6">
<h1 class="text-md font-medium text-gray-900">Kondisi Kabin pesawat</h1>
</div>
<div class="grid gap-5">
@php
$kondisiKabin = [
[
'label' => 'Maksimal Penumpang',
'name' => 'maksimal_penumpang',
'index' => 0,
],
[
'label' => 'Jumlah Kursi',
'name' => 'jumlah_kursi',
'index' => 1,
],
[
'label' => 'Kursi Pramugari/Pramugara',
'name' => 'kursi_pramugari_pramugara',
'index' => 2,
],
[
'label' => 'Kartu Fitur keselamatan',
'name' => 'kartu_fitur_keselamatan',
'index' => 3,
],
[
'label' => 'Sabuk Pengaman',
'name' => 'sabuk_pengaman',
'index' => 4,
],
[
'label' => 'Lampu Kabin',
'name' => 'lampu_kabin',
'index' => 5,
],
[
'label' => 'Lampu Pintu Keluar',
'name' => 'lampu_pintu_keluar',
'index' => 6,
],
[
'label' => 'Intercom Kabin',
'name' => 'intercom_kabin',
'index' => 7,
],
];
@endphp
@if (count($kondisiKabin) > 0)
@foreach ($kondisiKabin as $item)
<!-- Nomor Lambung -->
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
<label class="form-label max-w-56">{{ $item['label'] }}</label>
<div class="flex flex-wrap items-baseline w-full">
<input type="text" name="{{ $item['name'] }}" class="input"
placeholder="Masukkan {{ $item['label'] }}">
<em id="error_{{ $item['name'] }}" class="alert text-danger text-sm"></em>
</div>
</div>
@endforeach
@endif
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
<label class="form-label max-w-56">Deskripsi/Keterangan Lain Lain </label>
<div class="flex flex-wrap items-baseline w-full">
<textarea name="deskripsi_kabin" id="" class="textarea"></textarea>
<em id="error_deskripsi_kabin" class="alert text-danger text-sm"></em>
</div>
</div>
</div>
</div>
</div>
<div class="card bg-white rounded-lg shadow-md overflow-hidden">
<div class="card-body">
<div class="py-4 px-6">
<h1 class="text-md font-medium text-gray-900">Kondisi Struktur Pesawat</h1>
</div>
<div class="grid gap-5">
@php
$kondisiStrukturPesawat = [
[
'label' => 'Badan pesawat',
'name' => 'badan_pesawat',
'index' => 0,
],
[
'label' => 'Sayap Pesawat',
'name' => 'sayap_pesawat',
'index' => 1,
],
[
'label' => 'Ekor peswat',
'name' => 'ekor_pesawat',
'index' => 2,
],
[
'label' => 'Landing Gear',
'name' => 'landing_gear',
'index' => 3,
],
[
'label' => 'Sabuk Pengaman',
'name' => 'sabuk_pengaman',
'index' => 4,
],
[
'label' => 'Sistem Pengelasan',
'name' => 'sistem_pengelasan',
'index' => 5,
],
];
@endphp
@if (count($kondisiStrukturPesawat) > 0)
@foreach ($kondisiStrukturPesawat as $item)
<!-- Nomor Lambung -->
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
<label class="form-label max-w-56">{{ $item['label'] }}</label>
<div class="flex flex-wrap items-baseline w-full">
<input type="text" name="{{ $item['name'] }}" class="input"
placeholder="Masukkan {{ $item['label'] }}">
<em id="error_{{ $item['name'] }}" class="alert text-danger text-sm"></em>
</div>
</div>
@endforeach
@endif
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
<label class="form-label max-w-56">Deskripsi/Keterangan Lain Lain </label>
<div class="flex flex-wrap items-baseline w-full">
<textarea name="deskripsi_struktur" id="" class="textarea"></textarea>
<em id="error_deskripsi_struktur" class="alert text-danger text-sm"></em>
</div>
</div>
</div>
</div>
</div>
<div class="card bg-white rounded-lg shadow-md overflow-hidden">
<div class="card-body">
<div class="py-4 px-6">
<h1 class="text-md font-medium text-gray-900">Fungsi Navigasi dan Komunikasi</h1>
</div>
<div class="grid gap-5">
@php
$fungsiNavigasi = [
[
'label' => 'Gps',
'name' => 'gps',
'index' => 0,
],
[
'label' => 'Radar',
'name' => 'radar',
'index' => 1,
],
[
'label' => 'Radio Komunikasi',
'name' => 'radio_komunikasi',
'index' => 2,
],
[
'label' => 'Lampu Navigasi',
'name' => 'lampu_navigasi',
'index' => 3,
],
[
'label' => 'Sistem Autopilot',
'name' => 'sistem_autopilot',
'index' => 4,
],
];
@endphp
@if (count($fungsiNavigasi) > 0)
@foreach ($fungsiNavigasi as $item)
<!-- Nomor Lambung -->
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
<label class="form-label max-w-56">{{ $item['label'] }}</label>
<div class="flex flex-wrap items-baseline w-full">
<input type="text" name="{{ $item['name'] }}" class="input"
placeholder="Masukkan {{ $item['label'] }}">
<em id="error_{{ $item['name'] }}" class="alert text-danger text-sm"></em>
</div>
</div>
@endforeach
@endif
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
<label class="form-label max-w-56">Deskripsi/Keterangan Lain Lain </label>
<div class="flex flex-wrap items-baseline w-full">
<textarea name="deskripsi_navigasi" class="textarea"></textarea>
<em id="error_deskripsi_navigasi" class="alert text-danger text-sm"></em>
</div>
</div>
</div>
</div>
</div>
<div class="card bg-white rounded-lg shadow-md overflow-hidden">
<div class="card-body">
<div class="py-4 px-6">
<h1 class="text-md font-medium text-gray-900">Kondisi Sistem Bahan Bakar dan Hidrolic</h1>
</div>
<div class="grid gap-5">
@php
$kondisiSistem = [
[
'label' => 'Tangki Bahan Bakar',
'name' => 'tangki_bahan_bakar',
'index' => 0,
],
[
'label' => 'Saluran & Pipa Bahan Bakar',
'name' => 'saluran_pipa_bahan_bakar',
'index' => 1,
],
[
'label' => 'Pompa Bahan Bakar',
'name' => 'pompa_bahan_bakar',
'index' => 2,
],
[
'label' => 'Sistem Hidrolik Utama',
'name' => 'sistem_hidrolik_utama',
'index' => 3,
],
[
'label' => 'Sistem Pendigin Hidrolik',
'name' => 'sistem_pendigin_hidrolik',
'index' => 4,
],
];
@endphp
@if (count($kondisiSistem) > 0)
@foreach ($kondisiSistem as $item)
<!-- Nomor Lambung -->
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
<label class="form-label max-w-56">{{ $item['label'] }}</label>
<div class="flex flex-wrap items-baseline w-full">
<input type="text" name="{{ $item['name'] }}[]" class="input"
placeholder="Masukkan {{ $item['label'] }}">
<em id="error_{{ $item['name'] }}[]" class="alert text-danger text-sm"></em>
</div>
</div>
@endforeach
@endif
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
<label class="form-label max-w-56">Deskripsi/Keterangan Lain Lain </label>
<div class="flex flex-wrap items-baseline w-full">
<textarea name="deskripsi_hidrolik" id="" class="textarea"></textarea>
<em id="error_deskripsi_hidrolik" class="alert text-danger text-sm"></em>
</div>
</div>
</div>
</div>
</div>
<div class="card bg-white rounded-lg shadow-md overflow-hidden">
<div class="card-body">
<div class="py-4 px-6">
<h1 class="text-md font-medium text-gray-900">Kondisi Mesin dan Propulis</h1>
</div>
<div class="grid gap-5">
@php
$kondisiMesin = [
[
'label' => 'Mesin Utama',
'name' => 'mesin_utama',
'index' => 0,
],
[
'label' => 'Sistem Pendorong',
'name' => 'sistem_pendorong',
'index' => 1,
],
[
'label' => 'Sistem Pendigin Mesin',
'name' => 'sistem_pendigin_mesin',
'index' => 2,
],
[
'label' => 'Sistem pelumasan',
'name' => 'sistem_pelumasan',
'index' => 3,
],
[
'label' => 'Filter dan Perangkat Pendukung',
'name' => 'filter_dan_perangkat_pendukung',
'index' => 4,
],
];
@endphp
@if (count($kondisiMesin) > 0)
@foreach ($kondisiMesin as $item)
<!-- Nomor Lambung -->
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
<label class="form-label max-w-56">{{ $item['label'] }}</label>
<div class="flex flex-wrap items-baseline w-full">
<input type="text" name="{{ $item['name'] }}[]" class="input"
placeholder="Masukkan {{ $item['label'] }}">
<em id="error_{{ $item['name'] }}[]" class="alert text-danger text-sm"></em>
</div>
</div>
@endforeach
@endif
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
<label class="form-label max-w-56">Deskripsi/Keterangan Lain Lain </label>
<div class="flex flex-wrap items-baseline w-full">
<textarea name="deskripsi_kondisi_mesin" id="" class="textarea"></textarea>
<em id="error_deskripsi_kondisi_mesin" class="alert text-danger text-sm"></em>
</div>
</div>
</div>
</div>
</div>
<div class="card bg-white rounded-lg shadow-md overflow-hidden">
<div class="card-body">
<div class="py-4 px-6">
<h1 class="text-md font-medium text-gray-900">Fungsi keselamatan dan darurat</h1>
</div>
<div class="grid gap-5">
@php
$fungsiKeselamatan = [
[
'label' => 'Jaket pelampung',
'name' => 'jaket_pelampung',
'index' => 0,
],
[
'label' => 'Pintu darurat',
'name' => 'pintu_darurat',
'index' => 1,
],
[
'label' => 'Alat Pemadaman Kebakaran',
'name' => 'alat_pemadaman_kebakaran',
'index' => 2,
],
[
'label' => 'Sistem Alaram Darurat',
'name' => 'sistem_alaram_darurat',
'index' => 3,
],
[
'label' => 'Sekoci',
'name' => 'sekoci',
'index' => 4,
],
[
'label' => 'Masker Oksigen',
'name' => 'masker_oxigen',
'index' => 5,
],
[
'label' => 'Sabuk Pengaman',
'name' => 'sabuk_pengaman',
'index' => 6,
],
];
@endphp
@if (count($fungsiKeselamatan) > 0)
@foreach ($fungsiKeselamatan as $item)
<!-- Nomor Lambung -->
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
<label class="form-label max-w-56">{{ $item['label'] }}</label>
<div class="flex flex-wrap items-baseline w-full">
<input type="text" name="{{ $item['name'] }}[]" class="input"
placeholder="Masukkan {{ $item['label'] }}">
<em class="alert text-danger text-sm"></em>
</div>
</div>
@endforeach
@endif
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
<label class="form-label max-w-56">Deskripsi/Keterangan Lain Lain </label>
<div class="flex flex-wrap items-baseline w-full">
<textarea name="deskripsi_fungsi_keselamatan" id="" class="textarea"></textarea>
<em id="error_deskripsi_fungsi_keselamatan" class="alert text-danger text-sm"></em>
</div>
</div>
</div>
</div>
</div>
<div class="card bg-white rounded-lg shadow-md overflow-hidden">
<div class="card-body">
<div class="py-4 px-6">
<h1 class="text-md font-medium text-gray-900">Interior dan Sistem Pendukung Kabin</h1>
</div>
<div class="grid gap-5">
@php
$inputStrukturPeswat = [
[
'label' => 'Sistem ventilasi & AC',
'name' => 'sistem_ventilasi_ac',
'index' => 0,
],
[
'label' => 'Sistem Penerangan Kabin',
'name' => 'sistem_penerangan_kabin',
'index' => 1,
],
[
'label' => 'Panel Informasi Penumpang',
'name' => 'panel_informasi_penumpang',
'index' => 2,
],
[
'label' => 'Sistem Hiburan Kabin',
'name' => 'sistem_hiburan_kabin',
'index' => 3,
],
];
@endphp
@if (count($inputStrukturPeswat) > 0)
@foreach ($inputStrukturPeswat as $item)
<!-- Nomor Lambung -->
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
<label class="form-label max-w-56">{{ $item['label'] }}</label>
<div class="flex flex-wrap items-baseline w-full">
<input type="text" name="{{ $item['name'] }}[]" class="input"
placeholder="Masukkan {{ $item['label'] }}">
<em id="error_{{ $item['name'] }}[]" class="alert text-danger text-sm"></em>
</div>
</div>
@endforeach
@endif
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
<label class="form-label max-w-56">Deskripsi/Keterangan Lain Lain </label>
<div class="flex flex-wrap items-baseline w-full">
<textarea name="deskripsi_Interior" id="" class="textarea"></textarea>
<em id="error_deskripsi_Interior" class="alert text-danger text-sm"></em>
</div>
</div>
</div>
</div>
</div>
<div class="card bg-white rounded-lg overflow-hidden">
<div class="card-body">
<div class=" py-4 ">
<h1 class="text-md font-medium text-gray-900">Analisis Fakta</h1>
</div>
<div class="grid gap-5">
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
<label class="form-label max-w-56">Faktor Positif</label>
<div id="fakta-positif-container" class="flex flex-wrap items-baseline w-full">
<div class="fakta_positif flex items-center gap-2 mt-2 textarea-group w-full">
<textarea class="textarea mt-2" name="fakta_positif[]" rows="3">{{ old('fakta_positif.0', $forminspeksi['fakta_positif'][0] ?? '') }}</textarea>
<button class="btn btn-danger btn-sm remove-btn" type="button" style="display: none;">
<i class="ki-outline ki-trash"></i>
</button>
<em id="error-fakta_positif" class="alert text-danger text-sm"></em>
</div>
<button type="button" class="btn btn-primary btn-sm mt-5"
onclick="addClonableItem('fakta-positif-container', 'fakta_positif')">
<i class="ki-outline ki-plus"></i>
</button>
</div>
</div>
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
<label class="form-label max-w-56">Faktor Negatif</label>
<div id="fakta-negatif-container" class="flex flex-wrap items-baseline w-full">
<div class="fakta_negatif flex items-center gap-2 mt-2 textarea-group w-full">
<textarea class="textarea mt-2" name="fakta_negatif[]" rows="3">{{ old('fakta_negatif.0', $forminspeksi['fakta_negatif'][0] ?? '') }}</textarea>
<button class="btn btn-danger btn-sm remove-btn" type="button" style="display: none;">
<i class="ki-outline ki-trash"></i>
</button>
<em id="error-fakta_negatif" class="alert text-danger text-sm"></em>
</div>
<button type="button" class="btn btn-primary btn-sm mt-5"
onclick="addClonableItem('fakta-negatif-container', 'fakta_negatif')">
<i class="ki-outline ki-plus"></i>
</button>
</div>
</div>
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
<label class="form-label max-w-56">Catatan Yang Perlu Diperhatikan</label>
<div id="catatan-container" class="flex flex-wrap items-baseline w-full">
<div class="catatan flex items-center gap-2 mt-2 textarea-group w-full">
<textarea class="textarea mt-2" name="catatan[]" rows="3">{{ old('catatan.0', $forminspeksi['catatan'][0] ?? '') }}</textarea>
<button class="btn btn-danger btn-sm remove-btn" type="button" style="display: none;">
<i class="ki-outline ki-trash"></i>
</button>
<em id="error-catatan" class="alert text-danger text-sm"></em>
</div>
<button type="button" onclick="addClonableItem('catatan-container', 'catatan')"
class="btn btn-primary btn-sm mt-5 ">
<i class="ki-outline ki-plus"></i>
</button>
</div>
</div>
</div>
</div>
</div>