211 lines
9.5 KiB
PHP
211 lines
9.5 KiB
PHP
@extends('layouts.main')
|
|
|
|
@section('breadcrumbs')
|
|
{{ Breadcrumbs::render(request()->route()->getName()) }}
|
|
@endsection
|
|
|
|
@section('content')
|
|
<div class="w-full grid gap-5 lg:gap-7.5 mx-auto">
|
|
<div class="card pb-2.5">
|
|
<div class="card-header" id="basic_settings">
|
|
<h3 class="card-title">
|
|
Detail Penilai
|
|
</h3>
|
|
<div class="flex items-center gap-2">
|
|
<a href="{{ route('penilai.index') }}" class="btn btn-xs btn-info"><i class="ki-filled ki-exit-left"></i>
|
|
Back</a>
|
|
</div>
|
|
</div>
|
|
<div class="card-body grid gap-5">
|
|
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
|
|
<label class="form-label max-w-56">
|
|
Nomor Registrasi
|
|
</label>
|
|
<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>
|
|
</div>
|
|
<label class="form-label max-w-56">
|
|
Nama Debitur
|
|
</label>
|
|
<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>
|
|
</div>
|
|
</div>
|
|
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
|
|
<label class="form-label max-w-56">
|
|
Cabang
|
|
</label>
|
|
<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>
|
|
</div>
|
|
<label class="form-label max-w-56">
|
|
Alamat Jaminan
|
|
</label>
|
|
<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.
|
|
{{ $permohonan->debiture->village->name }}, Kec. {{ $permohonan->debiture->district->name }},
|
|
{{ ucwords(strtolower($permohonan->debiture->city->name)) }}, Kode Pos.
|
|
{{ $permohonan->debiture->postal_code }}</p>
|
|
</div>
|
|
</div>
|
|
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
|
|
<label class="form-label max-w-56">
|
|
Nama AO/Pemohon
|
|
</label>
|
|
<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>
|
|
</div>
|
|
<label class="form-label max-w-56">
|
|
Fasilitas Kredit
|
|
</label>
|
|
<div class="flex flex-wrap items-baseline w-full">
|
|
<p class="flex w-full text-gray-600 font-medium text-sm">
|
|
{{ $permohonan->jenisFasilitasKredit->name }}</p>
|
|
</div>
|
|
</div>
|
|
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
|
|
<label class="form-label max-w-56">
|
|
Tanggal Permohonan
|
|
</label>
|
|
<div class="flex flex-wrap items-baseline w-full">
|
|
<p class="flex w-full text-gray-600 font-medium text-sm">
|
|
{{ formatTanggalIndonesia($permohonan->created_at) }}</p>
|
|
</div>
|
|
<label class="form-label max-w-56">
|
|
CIF
|
|
</label>
|
|
<div class="flex flex-wrap items-baseline w-full">
|
|
<p class="flex w-full text-gray-600 font-medium text-sm">
|
|
{{ $permohonan->debiture->cif }}</p>
|
|
</div>
|
|
</div>
|
|
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
|
|
<label class="form-label max-w-56">
|
|
Tanggal Konfirmasi Kunjungan
|
|
</label>
|
|
<div class="flex flex-wrap items-baseline w-full">
|
|
<p class="flex w-full text-gray-600 font-medium text-sm">
|
|
{{ formatTanggalIndonesia($permohonan->penilaian->tanggal_kunjungan) }}</p>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
@foreach($permohonan->debiture->documents as $dokumen)
|
|
<div class="card">
|
|
<div class="card-body grid gap-5">
|
|
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
|
|
@php
|
|
$surveyor = $permohonan->penilaian->userPenilai->where('role', 'surveyor')->first();
|
|
$penilai = $permohonan->penilaian->userPenilai->where('role', 'penilai')->first();
|
|
|
|
@endphp
|
|
<label class="form-label max-w-56">
|
|
Surveyor
|
|
</label>
|
|
<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>
|
|
|
|
<p class="flex w-full text-gray-600 font-medium text-sm">{{ $permohonan->region->name }}</p>
|
|
</div>
|
|
<label class="form-label max-w-56">
|
|
Penilai
|
|
</label>
|
|
<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>
|
|
|
|
<p class="flex w-full text-gray-600 font-medium text-sm">
|
|
{{ $permohonan->region->name }}
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
|
|
<label class="form-label max-w-56">
|
|
Tujuan Penilaian
|
|
</label>
|
|
<p class="flex text-gray-600 font-medium text-sm w-full">
|
|
{{ $permohonan->tujuanPenilaian->name }}</p>
|
|
<label class="form-label max-w-56">
|
|
Jenis Jaminan
|
|
</label>
|
|
<p class="flex text-gray-600 font-medium text-sm w-full">
|
|
@foreach ($permohonan->debiture->documents as $document)
|
|
{{ $document->jenisjaminan->name }}
|
|
@endforeach
|
|
</p>
|
|
</div>
|
|
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
|
|
<label class="form-label max-w-56">
|
|
Tanggal Survei
|
|
</label>
|
|
<div class="flex flex-wrap items-baseline w-full">
|
|
<p class="flex w-full text-gray-600 font-medium text-sm">
|
|
{{ formatTanggalIndonesia($permohonan->created_at) }}</p>
|
|
</div>
|
|
</div>
|
|
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
|
|
<label class="form-label max-w-56">
|
|
Tanggal Laporan
|
|
</label>
|
|
<div class="flex flex-wrap items-baseline w-full">
|
|
<p class="flex w-full text-gray-600 font-medium text-sm">
|
|
{{ formatTanggalIndonesia($permohonan->created_at) }}</p>
|
|
</div>
|
|
</div>
|
|
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
|
|
<label class="form-label max-w-56">
|
|
No. Laporan
|
|
</label>
|
|
<div class="flex flex-wrap items-baseline w-full">
|
|
<p class="flex w-full text-gray-600 font-medium text-sm">
|
|
PJ/001/001</p>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5 w-full card-footer mt-2 ">
|
|
<div class="flex gap-5">
|
|
<a class="btn btn-primary" href="">
|
|
LAMPIRAN FOTO DAN DOKUMEN
|
|
</a>
|
|
|
|
<a class="btn btn-primary" href="">
|
|
KERTAS KERJA
|
|
</a>
|
|
<a class="btn btn-primary" href="">
|
|
PAPARAN
|
|
</a>
|
|
|
|
<a class="btn btn-primary" href="">
|
|
WORKSHEET
|
|
</a>
|
|
</div>
|
|
|
|
<div class="flex justify-end gap-5">
|
|
<a class="btn btn-success" href="">
|
|
SAVE
|
|
</a>
|
|
|
|
<a class="btn btn-success" href="">
|
|
REPORT
|
|
</a>
|
|
|
|
|
|
<a class="btn btn-success" href="">
|
|
PRINT OUT
|
|
</a>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
@endforeach
|
|
|
|
</div>
|
|
@endsection
|