perbaikan alamat di menu show penilai
This commit is contained in:
@@ -155,12 +155,12 @@
|
|||||||
<div class="flex items-center justify-between mt-5">
|
<div class="flex items-center justify-between mt-5">
|
||||||
<div class="grid gap-5">
|
<div class="grid gap-5">
|
||||||
<h2 class=" font-semibold text-xl">
|
<h2 class=" font-semibold text-xl">
|
||||||
{{ $item['nama_objek'] }}
|
{{ $item['name_objek'] }}
|
||||||
</h2>
|
</h2>
|
||||||
<div class="flex items-center">
|
<div class="flex items-center">
|
||||||
|
|
||||||
|
|
||||||
<img src="{{ Storage::url($item['foto_object']) }}" alt="">
|
<img src="{{ Storage::url($item['foto_objek']) }}" alt="">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -22,13 +22,15 @@
|
|||||||
Nomor Registrasi
|
Nomor Registrasi
|
||||||
</label>
|
</label>
|
||||||
<div class="flex flex-wrap items-baseline w-full">
|
<div class="flex flex-wrap items-baseline w-full">
|
||||||
<p class="flex w-full text-gray-600 font-medium text-sm">{{ $permohonan->nomor_registrasi }}</p>
|
<p class="flex w-full text-gray-600 font-medium text-sm">
|
||||||
|
{{ isset($permohonan->nomor_registrasi) ? $permohonan->nomor_registrasi : '' }}</p>
|
||||||
</div>
|
</div>
|
||||||
<label class="form-label max-w-56">
|
<label class="form-label max-w-56">
|
||||||
Nama Debitur
|
Nama Debitur
|
||||||
</label>
|
</label>
|
||||||
<div class="flex flex-wrap items-baseline w-full">
|
<div class="flex flex-wrap items-baseline w-full">
|
||||||
<p class="flex w-full text-gray-600 font-medium text-sm">{{ $permohonan->debiture->name }}</p>
|
<p class="flex w-full text-gray-600 font-medium text-sm">
|
||||||
|
{{ isset($permohonan->debiture->name) ? $permohonan->debiture->name : '' }}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
|
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
|
||||||
@@ -36,16 +38,16 @@
|
|||||||
Cabang
|
Cabang
|
||||||
</label>
|
</label>
|
||||||
<div class="flex flex-wrap items-baseline w-full">
|
<div class="flex flex-wrap items-baseline w-full">
|
||||||
<p class="flex w-full text-gray-600 font-medium text-sm">{{ $permohonan->branch->name }}</p>
|
<p class="flex w-full text-gray-600 font-medium text-sm">
|
||||||
|
{{ isset($permohonan->branch->name) ? $permohonan->branch->name : '' }}</p>
|
||||||
</div>
|
</div>
|
||||||
<label class="form-label max-w-56">
|
<label class="form-label max-w-56">
|
||||||
Alamat Jaminan
|
Alamat Jaminan
|
||||||
</label>
|
</label>
|
||||||
<div class="flex flex-wrap items-baseline w-full">
|
<div class="flex flex-wrap items-baseline w-full">
|
||||||
<p class="flex w-full text-gray-600 font-medium text-sm">{{ $permohonan->debiture->address }}, Kel.
|
<p class="flex w-full text-gray-600 font-medium text-sm">
|
||||||
{{ $permohonan->debiture->village->name }}, Kec. {{ $permohonan->debiture->district->name }},
|
{{ formatAlamat($permohonan->debiture) }}
|
||||||
{{ ucwords(strtolower($permohonan->debiture->city->name)) }}, Kode Pos.
|
</p>
|
||||||
{{ $permohonan->debiture->postal_code }}</p>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
|
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
|
||||||
@@ -53,14 +55,16 @@
|
|||||||
Nama AO/Pemohon
|
Nama AO/Pemohon
|
||||||
</label>
|
</label>
|
||||||
<div class="flex flex-wrap items-baseline w-full">
|
<div class="flex flex-wrap items-baseline w-full">
|
||||||
<p class="flex w-full text-gray-600 font-medium text-sm">{{ $permohonan->user->name }}</p>
|
<p class="flex w-full text-gray-600 font-medium text-sm">
|
||||||
|
{{ isset($permohonan->user->name) ? $permohonan->user->name : '' }}</p>
|
||||||
</div>
|
</div>
|
||||||
<label class="form-label max-w-56">
|
<label class="form-label max-w-56">
|
||||||
Fasilitas Kredit
|
Fasilitas Kredit
|
||||||
</label>
|
</label>
|
||||||
<div class="flex flex-wrap items-baseline w-full">
|
<div class="flex flex-wrap items-baseline w-full">
|
||||||
<p class="flex w-full text-gray-600 font-medium text-sm">
|
<p class="flex w-full text-gray-600 font-medium text-sm">
|
||||||
{{ $permohonan->jenisFasilitasKredit->name }}</p>
|
{{ isset($permohonan->jenisFasilitasKredit->name) ? $permohonan->jenisFasilitasKredit->name : '' }}
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
|
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
|
||||||
@@ -76,7 +80,7 @@
|
|||||||
</label>
|
</label>
|
||||||
<div class="flex flex-wrap items-baseline w-full">
|
<div class="flex flex-wrap items-baseline w-full">
|
||||||
<p class="flex w-full text-gray-600 font-medium text-sm">
|
<p class="flex w-full text-gray-600 font-medium text-sm">
|
||||||
{{ $permohonan->debiture->cif }}</p>
|
{{ isset($permohonan->debiture->cif) ? $permohonan->debiture->cif : '' }}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
|
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
|
||||||
@@ -91,6 +95,8 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
@foreach ($permohonan->debiture->documents as $dokumen)
|
@foreach ($permohonan->debiture->documents as $dokumen)
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-body grid gap-5">
|
<div class="card-body grid gap-5">
|
||||||
@@ -105,17 +111,20 @@
|
|||||||
</label>
|
</label>
|
||||||
<div class="flex flex-wrap items-baseline w-full">
|
<div class="flex flex-wrap items-baseline w-full">
|
||||||
|
|
||||||
<p class="flex w-full text-gray-600 font-medium text-sm">{{ $surveyor->userPenilaiTeam->name }}
|
<p class="flex w-full text-gray-600 font-medium text-sm">
|
||||||
|
{{ $surveyor->userPenilaiTeam->name }}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p class="flex w-full text-gray-600 font-medium text-sm">{{ $permohonan->region->name }}</p>
|
<p class="flex w-full text-gray-600 font-medium text-sm">{{ $permohonan->region->name }}
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<label class="form-label max-w-56">
|
<label class="form-label max-w-56">
|
||||||
Penilai
|
Penilai
|
||||||
</label>
|
</label>
|
||||||
<div class="flex flex-wrap items-baseline w-full">
|
<div class="flex flex-wrap items-baseline w-full">
|
||||||
|
|
||||||
<p class="flex w-full text-gray-600 font-medium text-sm">{{ $penilai->userPenilaiTeam->name }}
|
<p class="flex w-full text-gray-600 font-medium text-sm">
|
||||||
|
{{ $penilai->userPenilaiTeam->name }}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p class="flex w-full text-gray-600 font-medium text-sm">
|
<p class="flex w-full text-gray-600 font-medium text-sm">
|
||||||
@@ -162,7 +171,7 @@
|
|||||||
</label>
|
</label>
|
||||||
<div class="flex flex-wrap items-baseline w-full">
|
<div class="flex flex-wrap items-baseline w-full">
|
||||||
<p class="flex w-full text-gray-600 font-medium text-sm">
|
<p class="flex w-full text-gray-600 font-medium text-sm">
|
||||||
PJ/001/001</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -190,7 +199,7 @@
|
|||||||
<div class="dropdown-content w-full max-w-56 py-2">
|
<div class="dropdown-content w-full max-w-56 py-2">
|
||||||
<div class="menu menu-default flex flex-col w-full">
|
<div class="menu menu-default flex flex-col w-full">
|
||||||
<div class="menu-item">
|
<div class="menu-item">
|
||||||
<a class="menu-link" href="#">
|
<a class="menu-link" href="{{ route('penilai.memo', $permohonan->id) }}">
|
||||||
<span class="menu-icon">
|
<span class="menu-icon">
|
||||||
<i class="ki-outline ki-badge">
|
<i class="ki-outline ki-badge">
|
||||||
</i>
|
</i>
|
||||||
@@ -201,7 +210,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="menu-item">
|
<div class="menu-item">
|
||||||
<a class="menu-link" href="#">
|
<a class="menu-link" href="{{ route('penilai.resume', $permohonan->id) }}">
|
||||||
<span class="menu-icon">
|
<span class="menu-icon">
|
||||||
<i class="ki-outline ki-profile-circle">
|
<i class="ki-outline ki-profile-circle">
|
||||||
</i>
|
</i>
|
||||||
@@ -258,6 +267,7 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
@endforeach
|
@endforeach
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
@@ -308,9 +318,9 @@
|
|||||||
denyButtonText: 'No',
|
denyButtonText: 'No',
|
||||||
}).then((result) => {
|
}).then((result) => {
|
||||||
if (result.isConfirmed) {
|
if (result.isConfirmed) {
|
||||||
|
window.location.href = "{{ route('penilai.standard', $permohonan->id) }}";
|
||||||
} else if (result.isDenied) {
|
} else if (result.isDenied) {
|
||||||
Swal.fire('Changes are not saved', '', 'info')
|
window.location.href = "{{ route('penilai.sederhana', $permohonan->id) }}";
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user