@extends('cms.layouts.authorized', ['isVue' => true]) @section('title', 'Detil Borrower #' . $model->id) @inject('constant', '\App\Util\Constant') @section('headerCustom') @php $id = 0; if (!empty($model->getKey())) { $id = $model->getKey(); } $formUrl = $model->getUrlDetails(['id' => $id]); $cancelUrl = route('userAnchor.scf.creditapplicationbusinesses'); $language = ''; $title = 'Detail Penerima Pembiayaan'; $creditApplication = $model->creditApplication; @endphp @endsection @section('cssCustom') @endsection @section('content') @include('cms.form.errorbox')
Ringkasan Borrower {{ $constant::CREDIT_APPLICATION_STATUS_LABELS[$model->creditapplication->status] }}
 
@if ( $creditApplication->status == Constant::CREDIT_APPLICATION_STATUS_APPROVED && empty($model->singleBusinessNumber) && empty($model->businessGuarantee))
{{--
Title
--}}
Jenis Data Input
singleBusinessNumberStatus == $constant::YES) checked @endif>
@foreach (GetBusinessGuarantees() as $key => $value) @php $checked = ''; if (in_array($key, $businessGuarantee)) { $checked = 'checked'; } @endphp
@endforeach
businessGuaranteeStatus == $constant::YES) checked @endif>
 
 
@if (checkPermission(\App\Util\AclConstant::CREDIT_APPLICATION_BUSINESS_UPDATE)) @endif
@endif
 
{{ $model::FORM_GROUP_LABEL['identityCard'] }}
@foreach ($creditApplication::FORM_GROUP['identityCard'] as $key) @continue($key == 'idCardImage') @php $keyStatus = $key . 'Status'; if (!isset($listItem)) { $listItem = ''; } if (!isset($listName)) { $listName = ''; } if (!isset($listIndex)) { $listIndex = ''; } $formType = $creditApplication->formType($key); if (strpos($formType, 'Image') !== false) { $imageCount = substr($formType, 6) - 1; $formType = 'Image'; } @endphp @endforeach
Jenis Data Input idCardImageStatus == $constant::YES) checked @endif disabled>
@if (!empty($creditApplication->labelHelp($key)))

({{ $creditApplication->labelHelp($key) }})

@endif @if (in_array($key, $creditApplication->warningList))

( {{ $key == 'idCardImage' && !empty($creditApplication->privyNotes) ? $creditApplication->privyNotes : $creditApplication::FORM_LABEL_WARNING[$key] }} )

@endif
@if ($formType) @include( 'userAnchor.scf.creditapplicationbusiness.part.' . $formType) @else @endif @if ($formType == 'Image') @endif
{{ $model::FORM_GROUP_LABEL['personalInfo'] }}
@php $key = 'position'; @endphp @foreach ($creditApplication::FORM_GROUP_BUSINESS['personalInfo'] as $key) @php $keyStatus = $key . 'Status'; if (!isset($listItem)) { $listItem = ''; } if (!isset($listName)) { $listName = ''; } if (!isset($listIndex)) { $listIndex = ''; } $formType = $creditApplication->formType($key); if (strpos($formType, 'Image') !== false) { $imageCount = substr($formType, 6) - 1; $formType = 'Image'; } @endphp @endforeach
Jenis Data Input
@include('cms.form.field.Select') @if (in_array('positionStatus', $model::FORM_STATUS)) positionStatus == $constant::YES) checked @endif> @endif
@if ($formType) @include( 'userAnchor.scf.creditapplicationbusiness.part.' . $formType) @else @endif @if (in_array($keyStatus, $creditApplication::FORM_STATUS)) $keyStatus == $constant::YES) checked @endif> @endif @if ($formType == 'Image') @endif
{{ $model::FORM_GROUP_LABEL['personalAddress'] }}
@foreach ($creditApplication::FORM_GROUP_BUSINESS['personalAddress'] as $key) @php $keyStatus = $key . 'Status'; if (!isset($listItem)) { $listItem = ''; } if (!isset($listName)) { $listName = ''; } if (!isset($listIndex)) { $listIndex = ''; } $formType = $creditApplication->formType($key); if (strpos($formType, 'Image') !== false) { $imageCount = substr($formType, 6) - 1; $formType = 'Image'; } @endphp @endforeach
Jenis Data Input addressStatus == $constant::YES) checked @endif>
@if ($formType) @include( 'userAnchor.scf.creditapplicationbusiness.part.' . $formType) @else @endif @if ($formType == 'Image') @endif
{{ $model::FORM_GROUP_LABEL['businessIdentity'] }}
@foreach ($model::FORM_GROUP['businessIdentity'] as $key) @continue($creditApplication->status == Constant::CREDIT_APPLICATION_STATUS_APPROVED && $key == 'singleBusinessNumber' && empty($model->singleBusinessNumber)) @php $keyStatus = $key . 'Status'; if (!isset($listItem)) { $listItem = ''; } if (!isset($listName)) { $listName = ''; } if (!isset($listIndex)) { $listIndex = ''; } $formType = $model->formType($key); if (strpos($formType, 'Image') !== false) { $imageCount = substr($formType, 6) - 1; $formType = 'Image'; } @endphp @endforeach @if ( $creditApplication->status != Constant::CREDIT_APPLICATION_STATUS_APPROVED || ($creditApplication->status == Constant::CREDIT_APPLICATION_STATUS_APPROVED && !empty($model->businessGuarantee))) @endif
Jenis Data Input
@if ($formType) @if ($formType === 'Image') @include('userAnchor.scf.creditapplicationbusiness.part.ImageCustom') @else @include('cms.form.field.' . $formType) @endif @else @endif @if (in_array($keyStatus, $model::FORM_STATUS)) $keyStatus == $constant::YES) checked @endif> @endif @if ($formType == 'Image') @endif
@foreach (GetBusinessGuarantees() as $key => $value) @php $checked = ''; if (in_array($key, $businessGuarantee)) { $checked = 'checked'; } @endphp
@endforeach
businessGuaranteeStatus == $constant::YES) checked @endif>
{{ $model::FORM_GROUP_LABEL['businessAddress'] }}
@foreach ($model::FORM_GROUP['businessAddress'] as $key) @php $keyStatus = $key . 'Status'; if (!isset($listItem)) { $listItem = ''; } if (!isset($listName)) { $listName = ''; } if (!isset($listIndex)) { $listIndex = ''; } $formType = $model->formType($key); if (strpos($formType, 'Image') !== false) { $imageCount = substr($formType, 6) - 1; $formType = 'Image'; } @endphp @endforeach
Jenis Data Input businessAddressStatus == $constant::YES) checked @endif>
@if ($formType) @include('cms.form.field.' . $formType) @else @endif @if ($formType == 'Image') @endif
{{ $model::FORM_GROUP_LABEL['currentAddress'] }}
@foreach ($model::FORM_GROUP['currentAddress'] as $key) @php $keyStatus = $key . 'Status'; if (!isset($listItem)) { $listItem = ''; } if (!isset($listName)) { $listName = ''; } if (!isset($listIndex)) { $listIndex = ''; } $formType = $model->formType($key); if (strpos($formType, 'Image') !== false) { $imageCount = substr($formType, 6) - 1; $formType = 'Image'; } @endphp @endforeach
Jenis Data Input currentAddressStatus == $constant::YES) checked @endif>
@if ($formType) @include('cms.form.field.' . $formType) @else @endif @if ($formType == 'Image') @endif
{{ $model::FORM_GROUP_LABEL['shareHolderInfo'] }}
@foreach ($model::FORM_GROUP['shareHolderInfo'] as $key) @php $keyStatus = $key . 'Status'; if (!isset($listItem)) { $listItem = ''; } if (!isset($listName)) { $listName = ''; } if (!isset($listIndex)) { $listIndex = ''; } $formType = $model->formType($key); if (strpos($formType, 'Image') !== false) { $imageCount = substr($formType, 6) - 1; $formType = 'Image'; } @endphp @endforeach
Jenis Data Input
@if ($formType) @if ($formType === 'Image') @include('userAnchor.scf.creditapplicationbusiness.part.ImageCustom') @else @include('cms.form.field.' . $formType) @endif @else @endif @if (in_array($keyStatus, $model::FORM_STATUS)) $keyStatus == $constant::YES) checked @endif> @endif @if ($formType == 'Image') @endif
Susunan Komisaris dan Direksi
@foreach ($model->directors as $key => $director) @php $directorPosition = $director->position; @endphp @endforeach
# Nama Posisi Foto E-KTP
{{ $key + 1 }} @php $daysDifference = 0; if (!empty($model)) { $daysDifference = $model->createdAt->diffIndays(\Carbon::now()); } @endphp
isDisabled('idCardImage') }} accept=".jpg,.jpeg,.png"> @if ($daysDifference < 90) @if (empty($director->idCardImage)) @else @if (empty($director->isDisabled('idCardImage'))) @endif @endif @else {{ $director->idCardImage }} @endif
{{ $model::FORM_GROUP_LABEL['businessPermit1'] }}
@foreach ($model::FORM_GROUP['businessPermit1'] as $key) @php $keyStatus = $key . 'Status'; if (!isset($listItem)) { $listItem = ''; } if (!isset($listName)) { $listName = ''; } if (!isset($listIndex)) { $listIndex = ''; } $formType = $model->formType($key); if (strpos($formType, 'Image') !== false) { $imageCount = substr($formType, 6) - 1; $formType = 'Image'; } @endphp @endforeach
Jenis Data Input
@if ($formType) @if ($formType === 'Image') @include('userAnchor.scf.creditapplicationbusiness.part.ImageCustom') @else @include('cms.form.field.' . $formType) @endif @else @endif @if (in_array($keyStatus, $model::FORM_STATUS)) $keyStatus == $constant::YES) checked @endif> @endif @if ($formType == 'Image') @endif
{{ $model::FORM_GROUP_LABEL['businessPermit2'] }}
@foreach ($model::FORM_GROUP['businessPermit2'] as $key) @php $keyStatus = $key . 'Status'; if (!isset($listItem)) { $listItem = ''; } if (!isset($listName)) { $listName = ''; } if (!isset($listIndex)) { $listIndex = ''; } $formType = $model->formType($key); if (strpos($formType, 'Image') !== false) { $imageCount = substr($formType, 6) - 1; $formType = 'Image'; } @endphp @endforeach
Jenis Data Input
@if ($formType) @if ($formType === 'Image') @include('userAnchor.scf.creditapplicationbusiness.part.ImageCustom') @else @include('cms.form.field.' . $formType) @endif @else @endif @if (in_array($keyStatus, $model::FORM_STATUS)) $keyStatus == $constant::YES) checked @endif> @endif @if ($formType == 'Image') @endif
{{ $model::FORM_GROUP_LABEL['managerialInfo'] }}
@foreach ($model::FORM_GROUP['managerialInfo'] as $key) @php $keyStatus = $key . 'Status'; if (!isset($listItem)) { $listItem = ''; } if (!isset($listName)) { $listName = ''; } if (!isset($listIndex)) { $listIndex = ''; } $formType = $model->formType($key); if (strpos($formType, 'Image') !== false) { $imageCount = substr($formType, 6) - 1; $formType = 'Image'; } @endphp @endforeach
Jenis Data Input
@if ($formType) @include('cms.form.field.' . $formType) @else @endif @if (in_array($keyStatus, $model::FORM_STATUS)) $keyStatus == $constant::YES) checked @endif> @endif @if ($formType == 'Image') @endif
{{ $model::FORM_GROUP_LABEL['transactionRecord'] }}
@foreach ($model::FORM_GROUP['transactionRecord'] as $key) @php $keyStatus = $key . 'Status'; if (!isset($listItem)) { $listItem = ''; } if (!isset($listName)) { $listName = ''; } if (!isset($listIndex)) { $listIndex = ''; } $formType = $model->formType($key); if (strpos($formType, 'Image') !== false) { $imageCount = substr($formType, 6) - 1; $formType = 'Image'; } @endphp @endforeach
Jenis Data Input
@if ($formType) @include('cms.form.field.' . $formType) @else @endif @if (in_array($keyStatus, $model::FORM_STATUS)) $keyStatus == $constant::YES) checked @endif> @endif @if ($formType == 'Image') @endif
{{ $model::FORM_GROUP_LABEL['financeInfo'] }}
@foreach ($model::FORM_GROUP['financeInfo'] as $key) @php $keyStatus = $key . 'Status'; if (!isset($listItem)) { $listItem = ''; } if (!isset($listName)) { $listName = ''; } if (!isset($listIndex)) { $listIndex = ''; } $formType = $model->formType($key); if (strpos($formType, 'Image') !== false) { $imageCount = substr($formType, 6) - 1; $formType = 'Image'; } @endphp @endforeach
Jenis Data Input
@if ($formType) @include('cms.form.field.' . $formType) @else @endif @if (in_array($keyStatus, $model::FORM_STATUS)) $keyStatus == $constant::YES) checked @endif> @endif @if ($formType == 'Image') @endif
{{ $model::FORM_GROUP_LABEL['additionalContact'] }}
@foreach ($model::FORM_GROUP['additionalContact'] as $key) @php $keyStatus = $key . 'Status'; if (!isset($listItem)) { $listItem = ''; } if (!isset($listName)) { $listName = ''; } if (!isset($listIndex)) { $listIndex = ''; } $formType = $model->formType($key); if (strpos($formType, 'Image') !== false) { $imageCount = substr($formType, 6) - 1; $formType = 'Image'; } @endphp @endforeach
Jenis Data Input additionalContactNameStatus == $constant::YES) checked @endif>
@if ($formType) @include('cms.form.field.' . $formType) @else @endif @if ($formType == 'Image') @endif
{{ $model::FORM_GROUP_LABEL['personalGuarantee'] }}
@foreach ($model::FORM_GROUP['personalGuarantee'] as $key) @php $keyStatus = $key . 'Status'; if (!isset($listItem)) { $listItem = ''; } if (!isset($listName)) { $listName = ''; } if (!isset($listIndex)) { $listIndex = ''; } $formType = $model->formType($key); if (strpos($formType, 'Image') !== false) { $imageCount = substr($formType, 6) - 1; $formType = 'Image'; } @endphp @endforeach
Jenis Data Input personalGuaranteeNameStatus == $constant::YES) checked @endif>
@if ($formType) @include('cms.form.field.' . $formType) @else @endif @if ($formType == 'Image') @endif
@tableconfig
@tableajax(route('userAnchor.scf.creditapplicationbusiness.invoiceListData', ['id' => $creditApplication->id])) ID Tgl. Pengajuan Nomor Invoice Nilai Pokok Invoice Nilai Pokok Pembiayaan Status @endtableajax
@tableconfig
@tableajax(route('userAnchor.scf.creditapplicationbusiness.invoiceListData', ['id' => $creditApplication->id])) ID Tgl. Pengajuan Nomor Invoice Nilai Pokok Invoice Nilai Pokok Pembiayaan Status @endtableajax
Dokumen Usaha
Jenis Data Input
@if ($model->establishmentDeedDocument !== null)
{{ $model->establishmentDeedDocument }}
@else
Tidak ada Dokumen
@endif
establishmentDeedDocumentStatus == $constant::YES) checked @endif>
@if ($model->amendmentDeedDocument !== null)
{{ $model->amendmentDeedDocument }}
@else
Tidak ada Dokumen
@endif
amendmentDeedDocumentStatus == $constant::YES) checked @endif>
@if ($model->validitySheetDocument !== null)
{{ $model->validitySheetDocument }}
@else
Tidak ada Dokumen
@endif
validitySheetDocumentStatus == $constant::YES) checked @endif>
@if ($model->businessPermitDocument !== null)
{{ $model->businessPermitDocument }}
@else
Tidak ada Dokumen
@endif
businessPermitDocumentStatus == $constant::YES) checked @endif>
Dokumen Pendukung
 
{!! !empty($creditApplication->documentText) ? '

Link : ' . $creditApplication->documentText . '

' : '' !!}
@{{ attachment.name.length > 50 ? attachment.name.substr(0, 35) + '.....' + attachment.name.substr(-10) : attachment.name }}
 
 
@if (checkPermission(\App\Util\AclConstant::CREDIT_APPLICATION_BUSINESS_UPDATE)) @endif
@endsection @section('modal') @endsection @section('jsCustom') @js('/assets/admin/js/creditapplicationbusiness-detail.js') @endsection