@if($model->currentCreditDetail)
Tipe
{{ $constant::CREDIT_APPLICATION_TYPE_LABELS[$model->currentCreditDetail->type] }}
Status Pembiayaan
{{ $constant::CREDIT_DETAIL_STATUS_LABELS[$model->currentCreditDetail->status] }}
Dokumen Waad
@if (!empty($model->currentCreditDetail->fileContract))
Lihat Dokumen
@endif
@if(!empty($model->currentCreditDetail->privyDocumentStatus))
Privy Status
@else
Signed Document
@if(!empty($model->currentCreditDetail->signedFileContract))
Lihat Dokumen
@endif
@if($model->currentCreditDetail->privyDocumentStatus != $privyConstant::DOCUMENT_STATUS_COMPLETED)
@if(!empty($model->currentCreditDetail->signedFileContract))
@endif
@endif
@endif
Plafond
@if($invoice)
Plafond |
Rp {{ getPriceNumber($cab->totalPlafond) }} |
Saldo |
Rp {{ getPriceNumber($model->currentCreditDetail->usedCreditPlafond) }} |
@else
|
Angsuran per bulan |
Plafond |
@foreach($model->currentCreditDetail->creditDetailBreakdowns as $creditDetailBreakdown)
@if ($creditDetailBreakdown->creditPlafond == 0)
@continue
@endif
{{ (int)$creditDetailBreakdown->creditPeriod }} Bulan |
Rp {{ getPriceNumber($creditDetailBreakdown->creditLimit) }} |
Rp {{ getPriceNumber($creditDetailBreakdown->creditPlafond) }} |
@endforeach
Saldo |
@foreach($model->currentCreditDetail->creditDetailBreakdowns as $creditDetailBreakdown)
@if ($creditDetailBreakdown->creditPlafond == 0)
@continue
@endif
Rp {{ getPriceNumber($creditDetailBreakdown->creditRemaining) }} |
@endforeach
@endif
@endif
Riwayat Pengajuan Pembiayaan
No Aplikasi |
Tipe |
Plafond |
Status |
Tgl Pengajuan |
Tgl Persetujuan/Penolakan |
Tgl Berakhir |
Alasan Penolakan/Revert Status |
Aksi |
@foreach($model->creditApplications as $creditApplication)
{{ $creditApplication->id }} |
{{ $constant::CREDIT_APPLICATION_TYPE_LABELS[$creditApplication->type] }} |
@if(!empty($model->currentCreditDetail->creditApplicationId) && $model->currentCreditDetail->creditApplicationId == $creditApplication->id)
@if ($model->currentCreditDetail->type == Constant::CREDIT_APPLICATION_TYPE_SHOPPING)
Rp {{ getPriceNumber($creditApplication->creditDetail->creditDetailBreakdowns->sum('creditPlafond')) }}
@elseif ($model->currentCreditDetail->type == Constant::CREDIT_APPLICATION_TYPE_TRAVEL)
Rp {{ getPriceNumber($creditApplication->creditDetail->creditDetailBreakdowns->max('creditPlafond')) }}
@endif
@else
N/A
@endif
{{-- Rp {{ getPriceNumber($creditApplication->totalMonthlyCreditPlafond) }} --}}
|
{{ $constant::CREDIT_APPLICATION_STATUS_LABELS[$creditApplication->status] }} |
{{ $creditApplication->createdAt }} |
{{ empty($creditApplication->approvedAt) ? $creditApplication->rejectedAt : $creditApplication->approvedAt }} |
{{ empty($creditApplication->creditDetail->expiryDate) ? 'N/A' : $creditApplication->creditDetail->expiryDate }} |
{{ empty($creditApplication->remarks) ? 'N/A' : $creditApplication->remarks }} |
@if($invoice)
Detail |
@else
Detail |
@endif
@endforeach
@if($model->currentCreditDetail)
Data Pribadi
Field |
Input |
@php
$creditApplication = $model->currentCreditDetail->creditApplication;
@endphp
@foreach($creditApplication::FORM_GROUP['personalInfo'] as $key)
@if ($key == 'lastEducation')
{{ @$creditApplication::FORM_LABEL[$key] }} |
{{ @\App\Util\Constant::CREDIT_APPLICATION_LAST_EDUCATION_LABELS[$creditApplication->$key] }} |
@elseif ($key == 'maritalCondition')
{{ @$creditApplication::FORM_LABEL[$key] }} |
{{ @\App\Util\Constant::CREDIT_APPLICATION_MARITAL_CONDITION_LABELS[$creditApplication->$key] }} |
@else
{{ @$creditApplication::FORM_LABEL[$key] }} |
{{ @$creditApplication->$key }} |
@endif
@endforeach
Alamat Domisili
Field |
Input |
@php
$creditApplication = $model->currentCreditDetail->creditApplication;
@endphp
@foreach($creditApplication::FORM_GROUP['personalAddress'] as $key)
{{ $creditApplication::FORM_LABEL[$key] }} |
{{ $creditApplication->$key }} |
@endforeach
Dokumen Lainnya
Field |
Input |
@php
$creditApplication = $model->currentCreditDetail->creditApplication;
@endphp
@foreach($creditApplication::FORM_GROUP['personalAdditionalDoc'] as $key)
{{ $creditApplication::FORM_LABEL[$key] }} |
{{-- {{ $creditApplication->$key }} | --}}
{{ $creditApplication->$key }} |
@endforeach
Kontak Darurat 1
Field |
Input |
@php
$creditApplication = $model->currentCreditDetail->creditApplication;
@endphp
@foreach($creditApplication::FORM_GROUP['emergencyContact'] as $key)
{{ $creditApplication::FORM_LABEL[$key] }} |
{{ $creditApplication->$key }} |
@endforeach
Kontak Darurat 2
Field |
Input |
@php
$creditApplication = $model->currentCreditDetail->creditApplication;
@endphp
@foreach($creditApplication::FORM_GROUP['emergencyContactAlt'] as $key)
{{ $creditApplication::FORM_LABEL[$key] }} |
{{ $creditApplication->$key }} |
@endforeach
Dokumen Pendukung
Field |
Input |
@php
$creditApplication = $model->currentCreditDetail->creditApplication;
@endphp
Keterangan |
{{ $creditApplication->documentText }} |
Dokumen |
@foreach ($creditApplication->documentAttachmentList as $document)
{{ $document->name }}
@endforeach
|
@else
Belum memiliki plafond
@endif
Riwayat Transaksi
@tableconfig
@tableajax(route('admin.transactionsData', ['status' => 'ALL', 'customerDetailId' => $model->id]))
ID |
Tgl. Transaksi |
Merchant |
No. Order |
Penerima Pembiayaan |
Total Order |
Total Loan |
Tipe |
Tenor |
Status Transaksi |
Status Repayment |
Aksi |
@endtableajax
Daftar Pengingat
@tableconfig
@tableajax(route('admin.notificationsData', ['customerDetailId' => $model->id]))
Judul |
Pesan |
Tanggal |
@endtableajax