perbaikan back halaman di otorisator so dan penambahan nilai likuidasi di resume
This commit is contained in:
@@ -12,9 +12,20 @@
|
||||
<i class="ki-filled ki-exit-left"></i> Back
|
||||
</a>
|
||||
@else
|
||||
<a href="{{ url()->previous() }}" class="btn btn-xs btn-info">
|
||||
<i class="ki-filled ki-exit-left"></i> Back
|
||||
</a>
|
||||
@php
|
||||
use Illuminate\Support\Facades\Route;
|
||||
@endphp
|
||||
@if (Auth::user()->hasAnyRole(['administrator', 'senior-officer', 'EO Appraisal', 'DD Appraisal']) &&
|
||||
Route::currentRouteName('otorisator.show'))
|
||||
<a href="{{ route('otorisator.show', ['id' => $permohonan->id, 'type' => 'Pelaporan']) }}"
|
||||
class="btn btn-xs btn-info">
|
||||
<i class="ki-filled ki-exit-left"></i> Back
|
||||
</a>
|
||||
@elseif (Auth::user()->hasAnyRole(['administrator', 'surveyor']) && Route::currentRouteName('penilai.show'))
|
||||
<a href="{{ route('penilai.show', $permohonan->id) }}" class="btn btn-xs btn-info">
|
||||
<i class="ki-filled ki-exit-left"></i> Back
|
||||
</a>
|
||||
@endif
|
||||
@endif
|
||||
{{-- <a href="{{ route('surveyor.show', ['id' => request('inspeksi')]) }}" class="btn btn-xs btn-info">
|
||||
<i class="ki-filled ki-exit-left"></i> Back
|
||||
|
||||
@@ -527,17 +527,16 @@
|
||||
|
||||
<tr>
|
||||
@php
|
||||
$hubCadebPenghuni = $forminspeksi['asset']['hub_cadeb_penghuni'] ?? null;
|
||||
|
||||
$cekHub =
|
||||
isset($forminspeksi['asset']['hub_cadeb_penghuni']) &&
|
||||
$forminspeksi['asset']['hub_cadeb_penghuni'] === 'sesuai'
|
||||
? 'sesuai'
|
||||
: 'tidak sesuai';
|
||||
$cekHub = $hubCadebPenghuni === 'sesuai' ? 'sesuai' : 'tidak sesuai';
|
||||
|
||||
$hubCadeb = isset($forminspeksi['asset']['hub_cadeb_penghuni'][$cekHub])
|
||||
? $forminspeksi['asset']['hub_cadeb_penghuni']['tidak sesuai']
|
||||
: $forminspeksi['asset']['hub_cadeb_penghuni']['sesuai'];
|
||||
$hubCadeb =
|
||||
is_array($hubCadebPenghuni) && isset($hubCadebPenghuni[$cekHub])
|
||||
? $hubCadebPenghuni[$cekHub]
|
||||
: $hubCadebPenghuni[$cekHub] ?? null;
|
||||
@endphp
|
||||
|
||||
<td><strong>Hubungan Penghuni Jaminan dengan Debitur</strong></td>
|
||||
<td>
|
||||
@if (isset($basicData['hubPenghuni']))
|
||||
|
||||
Reference in New Issue
Block a user