@if ($transaction->type == \App\Util\Constant::CREDIT_APPLICATION_TYPE_SHOPPING)
Total Transaksi Pembelian
@elseif ($transaction->type == \App\Util\Constant::CREDIT_APPLICATION_TYPE_TRAVEL)
Harga Paket Umroh
@endif
Rp {{ getPriceNumber($transaction->orderGrandTotal) }},-
@if($transaction->downPaymentAmount > 0)
- Rp {{ getPriceNumber($transaction->downPaymentAmount) }},-
@endif
@if($page->processTab > 1)
Margin/Ujroh
Rp {{ getPriceNumber(isset($priceDetail->margin->amount) ? $priceDetail->margin->amount : 0) }},-
@endif
Harga Jual
@if(isset($priceDetail) && isset($priceDetail->subtotalWithMargin))
Rp {{ getPriceNumber($priceDetail->subtotalWithMargin) }}
@else
Rp {{ getPriceNumber($transaction->subtotal) }}
@endif
@if($page->processTab > 1)
@if(isset($priceDetail->downPayment->amount) && $priceDetail->downPayment->amount > 0)
Total Pembiayaan setelah urbun
Rp {{ getPriceNumber(isset($priceDetail->subtotalWithMargin) ? $priceDetail->subtotalWithMargin : 0) }},-
@else
Total Pembiayaan
Rp {{ getPriceNumber(isset($priceDetail->subtotalWithMargin) ? $priceDetail->subtotalWithMargin : 0) }}
@endif
Tenor Pembiayaan
{!! getPriceNumber(isset($priceDetail->period) ? $priceDetail->period : 0 ) !!} Bulan
@if(isset($priceDetail->installmentBreakdown))
@foreach($priceDetail->installmentBreakdown as $installmentBreakdown)
-
Kewajiban {{$installmentBreakdown->billingIndex}}/{{(int)$priceDetail->period}}
Jatuh tempo pada {{ \Carbon::createFromFormat('d-m-Y', $installmentBreakdown->dueDate)->format('d/m/Y') }}- Rp {{ getPriceNumber($installmentBreakdown->amount) }},-
@endforeach
@endif
Kewajiban per bulan
Rp {!! isset($priceDetail->installmentAmount) ? getPriceNumber($priceDetail->installmentAmount) : 0 !!},-
@endif