@extends('layouts.authorized', ['isVue' => true]) @section('title', 'Detil Lender #'. $model->id) @inject('constant', '\App\Util\Constant') @inject('aclConstant', '\App\Util\AclConstant') @section('headerCustom') @php $id = 0; if (!empty($model->getKey())) $id = $model->getKey(); $formUrl = $model->getUrlDetails(['id' => $id]); $cancelUrl = $model->getUrlIndex(); $language = ''; $title = 'Detail Lender'; @endphp @endsection @section('cssCustom') @if (checkUserPermission(App\Util\AclConstant::VIEW_MASKED_DATA)) @endif @endsection @section('content')
@include('cms.form.errorbox') @foreach ($model::MASKED_FIELD as $maskedField) @endforeach
Ringkasan Lender {{\App\Util\Constant::INVESTOR_APPLICATION_STATUS_LABELS[@$model->status] }}
{{--
{!! generateMaskedDataHtml(maskString($model->mobilePhone, 6), $model->id, 'masked-mobilePhone', 'unmask-mobilePhone-btn') !!}
--}}
Ringkasan Pembiayaan
@if(@$totalPaidInvoice > 0) ({{@$countPaidInvoice}}) Rp {{getPriceNumber(@$totalPaidInvoice)}} @else - @endif
@if(@$totalActiveInvoice > 0) ({{$countActiveInvoice}}) Rp {{getPriceNumber(@$totalActiveInvoice)}} @else - @endif
@php($totalRepayment = $invoiceRepayment->where('repaymentStatus', \App\Util\Constant::INVOICE_REPAYMENT_STATUS_COMPLETE)->sum('margin')) @if($totalRepayment > 0) Rp {{getPriceNumber($totalRepayment)}} @else - @endif
@if ($model->type == \App\Util\Constant::INVESTOR_TYPE_COMPANY)
Company
@endif
 
{{ $model::FORM_GROUP_LABEL['identityCard'] }} RECHECK PRIVY STATUS @if (checkPermission(\App\Util\AclConstant::INVESTOR_APPLICATION_UPDATE)) REGISTER PRIVY @endif
@foreach($model::FORM_GROUP['identityCard'] 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 idCardImageStatus == $constant::YES) checked @endif disabled>
@if(!empty($model->labelHelp($key)))

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

@endif
@if($formType) @if($formType === 'Image') @include('admin.creditapplicationbusiness.part.ImageCustom') @elseif($formType === 'MaskedText') @include('admin.lender.part.MaskedText') @else @include('cms.form.field.'.$formType) @endif @else @endif @if ($formType == 'Image') @endif
{{ $model::FORM_GROUP_LABEL['personalInfo'] }}
@if($model->type == \App\Util\Constant::INVESTOR_TYPE_PERSONAL) @foreach($model::FORM_GROUP['personalInfoPersonal'] 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 @if(in_array($keyStatus, $model::FORM_STATUS)) @endif @endforeach @else @foreach($model::FORM_GROUP['personalInfoCompany'] 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 @if(in_array($keyStatus, $model::FORM_STATUS)) @endif @endforeach @endif
Jenis Data Input
@if(!empty($model->labelHelp($key)))

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

@endif
@if($formType) @if($formType === 'Image') @include('admin.creditapplicationbusiness.part.ImageCustom') @elseif($formType === 'MaskedText') @include('admin.lender.part.MaskedText') @else @include('cms.form.field.'.$formType) @endif @else @endif @if ($formType == 'Image') @endif $keyStatus == $constant::YES) checked @endif>
@if(!empty($model->labelHelp($key)))

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

@endif
@if($formType) @if($formType === 'Image') @include('admin.creditapplicationbusiness.part.ImageCustom') @elseif($formType === 'MaskedText') @include('admin.lender.part.MaskedText') @else @include('cms.form.field.'.$formType) @endif @else @endif @if ($formType == 'Image') @endif $keyStatus == $constant::YES) checked @endif>
{{ $model::FORM_GROUP_LABEL['identityCardAddress'] }}
@foreach($model::FORM_GROUP['identityCardAddress'] 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 @if(in_array($keyStatus, $model::FORM_STATUS)) @endif @endforeach
Jenis Data Input
@if(!empty($model->labelHelp($key)))

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

@endif
@if($formType) @if($formType === 'Image') @include('admin.creditapplicationbusiness.part.ImageCustom') @elseif($formType === 'MaskedText') @include('admin.lender.part.MaskedText') @else @include('cms.form.field.'.$formType) @endif @else @endif @if ($formType == 'Image') @endif $keyStatus == $constant::YES) checked @endif>
{{ $model::FORM_GROUP_LABEL['residingAddress'] }}
@foreach($model::FORM_GROUP['residingAddress'] 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 @if(in_array($keyStatus, $model::FORM_STATUS)) @endif @endforeach
Jenis Data Input
@if(!empty($model->labelHelp($key)))

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

@endif
@if($formType) @if($formType === 'Image') @include('admin.creditapplicationbusiness.part.ImageCustom') @else @include('cms.form.field.'.$formType) @endif @else @endif @if ($formType == 'Image') @endif $keyStatus == $constant::YES) checked @endif>
{{ $model::FORM_GROUP_LABEL['otherInfo'] }}
@foreach($model::FORM_GROUP['otherInfo'] 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 @if(in_array($keyStatus, $model::FORM_STATUS)) @endif @endforeach
Jenis Data Input
@if(!empty($model->labelHelp($key)))

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

@endif
@if($formType) @if($formType === 'Image') @include('admin.creditapplicationbusiness.part.ImageCustom') @else @include('cms.form.field.'.$formType) @endif @else @endif @if ($formType == 'Image') @endif $keyStatus == $constant::YES) checked @endif>
{{ $model::FORM_GROUP_LABEL['companyInfo'] }}
@foreach($model::FORM_GROUP['companyInfo'] 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 @if(in_array($keyStatus, $model::FORM_STATUS)) @endif @endforeach
Jenis Data Input
@if(!empty($model->labelHelp($key)))

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

@endif
@if($formType) @if($formType === 'Image') @include('admin.creditapplicationbusiness.part.ImageCustom') @else @include('cms.form.field.'.$formType) @endif @else @endif @if ($formType == 'Image') @endif $keyStatus == $constant::YES) checked @endif>
{{ $model::FORM_GROUP_LABEL['companyAddress'] }}
@foreach($model::FORM_GROUP['companyAddress'] 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 @if(in_array($keyStatus, $model::FORM_STATUS)) @endif @endforeach
Jenis Data Input
@if(!empty($model->labelHelp($key)))

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

@endif
@if($formType) @if($formType === 'Image') @include('admin.creditapplicationbusiness.part.ImageCustom') @else @include('cms.form.field.'.$formType) @endif @else @endif @if ($formType == 'Image') @endif $keyStatus == $constant::YES) checked @endif>
{{ $model::FORM_GROUP_LABEL['companyLocation'] }}
@foreach($model::FORM_GROUP['companyLocation'] 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 @if(in_array($keyStatus, $model::FORM_STATUS)) @endif @endforeach
Jenis Data Input
@if(!empty($model->labelHelp($key)))

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

@endif
@if($formType) @if($formType === 'Image') @include('admin.creditapplicationbusiness.part.ImageCustom') @else @include('cms.form.field.'.$formType) @endif @else @endif @if ($formType == 'Image') @endif $keyStatus == $constant::YES) checked @endif>
{{ $model::FORM_GROUP_LABEL['companyOtherInfo'] }}
@foreach($model::FORM_GROUP['companyOtherInfo'] 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 @if(in_array($keyStatus, $model::FORM_STATUS)) @endif @endforeach
Jenis Data Input
@if(!empty($model->labelHelp($key)))

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

@endif
@if($formType) @if($formType === 'Image') @include('admin.creditapplicationbusiness.part.ImageCustom') @else @include('cms.form.field.'.$formType) @endif @else @endif @if ($formType == 'Image') @endif $keyStatus == $constant::YES) checked @endif>
{{ $model::FORM_GROUP_LABEL['workInfo'] }}
@foreach($model::FORM_GROUP['workInfo'] 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 @if(in_array($keyStatus, $model::FORM_STATUS)) @endif @endforeach
Jenis Data Input
@if(!empty($model->labelHelp($key)))

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

@endif
@if($formType) @if($formType === 'Image') @include('admin.creditapplicationbusiness.part.ImageCustom') @else @include('cms.form.field.'.$formType) @endif @else @endif @if ($formType == 'Image') @endif $keyStatus == $constant::YES) checked @endif>
{{ $model::FORM_GROUP_LABEL['workCompanyInfo'] }}
@foreach($model::FORM_GROUP['workCompanyInfo'] 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 @if(in_array($keyStatus, $model::FORM_STATUS)) @endif @endforeach
Jenis Data Input
@if(!empty($model->labelHelp($key)))

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

@endif
@if($formType) @if($formType === 'Image') @include('admin.creditapplicationbusiness.part.ImageCustom') @else @include('cms.form.field.'.$formType) @endif @else @endif @if ($formType == 'Image') @endif $keyStatus == $constant::YES) checked @endif>
{{ $model::FORM_GROUP_LABEL['assetInfo'] }}
@foreach($model::FORM_GROUP['assetInfo'] 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 @if(in_array($keyStatus, $model::FORM_STATUS)) @endif @endforeach
Jenis Data Input
@if(!empty($model->labelHelp($key)))

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

@endif
@if($formType) @if($formType === 'Image') @include('admin.creditapplicationbusiness.part.ImageCustom') @else @include('cms.form.field.'.$formType) @endif @else @endif @if ($formType == 'Image') @endif $keyStatus == $constant::YES) checked @endif>
{{ $model::FORM_GROUP_LABEL['bankInfo'] }}
@foreach($model::FORM_GROUP['bankInfo'] 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 @if(in_array($keyStatus, $model::FORM_STATUS)) @endif @endforeach
Jenis Data Input
@if(!empty($model->labelHelp($key)))

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

@endif
@if($formType) @if($formType === 'Image') @include('admin.creditapplicationbusiness.part.ImageCustom') @else @include('cms.form.field.'.$formType) @endif @else @endif @if ($formType == 'Image') @endif $keyStatus == $constant::YES) checked @endif>
@if ($model->status == \App\Util\Constant::INVESTOR_APPLICATION_STATUS_APPROVED) {{-- expr --}} @endif
@tableconfig
-
 
@tableajax(route('admin.investorapplication.getInvoicePayment', ['investorPicDetailId' => $model->investorPicDetailId])) ID Invoice Nilai Invoice Nama PT Borrower Tgl. Pengajuan Nilai Pembiayaan Payor Tenor Ujroh Status Pembiayaan Status Payment Status Repayment Action @endtableajax
@tableconfig
-
 

Total Dana yang Disalurkan

Rp {{getPriceNumber(@$totalPaidInvoice)}}

@tableajax(route('admin.investorapplication.getInvoicePayment', ['investorPicDetailId' => $model->investorPicDetailId, 'type' => 'PAID'])) Tanggal Nominal Keterangan @endtableajax
@tableconfig
-
 

Total Pengembalian

Pokok

Rp {{getPriceNumber(@$invoiceRepayment->sum('amount'))}}

Margin/Ujroh

Rp {{getPriceNumber(@$invoiceRepayment->sum('margin'))}}

Pengembalian Dana Diterima

Pokok

Rp {{getPriceNumber(@$invoiceRepayment->where('repaymentStatus', \App\Util\Constant::INVOICE_REPAYMENT_STATUS_COMPLETE)->sum('amount'))}}

Margin/Ujroh

Rp {{getPriceNumber(@$invoiceRepayment->where('repaymentStatus', \App\Util\Constant::INVOICE_REPAYMENT_STATUS_COMPLETE)->sum('margin'))}}

@tableajax(route('admin.investorapplication.getInvoiceRepayment', ['investorPicDetailId' => $model->investorPicDetailId])) Tanggal ID Invoice Pokok (Rp) Margin/Ujroh Net (Rp) Keterangan Status Repayment Attachment Action @endtableajax
@if($model->status == $constant::INVESTOR_APPLICATION_STATUS_APPROVED)
Buat Pengembalian Dana
Rekening Tujuan Pencairan {{@$model->bankAccountNumber}}
Nama Bank {{@$model->bankName}}
Cabang {{@$model->bankBranch}}
Nama Pemilik Rekening {{@$model->bankAccountName}}
@endif
@if(!empty($cancelUrl)) Batal @endif @if (checkPermission(\App\Util\AclConstant::INVESTOR_APPLICATION_UPDATE)) @if($model->status == $constant::INVESTOR_APPLICATION_STATUS_PENDING || $model->status == $constant::INVESTOR_APPLICATION_STATUS_VERIFICATION) @endif @endif
@if(($model->status == $constant::INVESTOR_APPLICATION_STATUS_VERIFICATION) && checkPermission(\App\Util\AclConstant::INVESTOR_APPLICATION_UPDATE))
@endif @if(($model->status == $constant::INVESTOR_APPLICATION_STATUS_VERIFICATION_ANALYST) && checkPermission(\App\Util\AclConstant::INVESTOR_APPLICATION_UPDATE))
@endif @if(($model->status == $constant::INVESTOR_APPLICATION_STATUS_VERIFICATION_CEO) && checkPermission(\App\Util\AclConstant::INVESTOR_APPLICATION_APPROVAL_CEO))
@endif {{--@if($model->status == $constant::INVESTOR_APPLICATION_STATUS_REJECTED)--}} {{--
--}} {{----}} {{--
--}} {{--@endif--}}
Dokumen Pendukung
 
@{{ attachment.name.length > 50 ? attachment.name.substr(0, 35) + '.....' + attachment.name.substr(-10) : attachment.name}}
 
 
@if (checkPermission(\App\Util\AclConstant::INVESTOR_APPLICATION_UPDATE)) @endif
@endsection @section('modal') @endsection @section('jsCustom') @endsection @if (checkUserPermission($aclConstant::VIEW_MASKED_DATA)) @if ($model::MASKED_FIELD && count($model::MASKED_FIELD) > 0) @foreach ($model::MASKED_FIELD as $maskedField) @push('jsCustom2') @endpush @endforeach @endif @endif