Rincian Barang

@foreach($transaction->transactionDetails as $transactionDetail)
@if($transactionDetail->type == \App\Util\Constant::TRANSACTION_DETAIL_TYPE_ITEM) @if(empty($transaction->merchant->logo)) @else product @endif @elseif($transactionDetail->type == \App\Util\Constant::TRANSACTION_DETAIL_TYPE_SHIPPING) service @elseif($transactionDetail->type == \App\Util\Constant::TRANSACTION_DETAIL_TYPE_DISCOUNT) discount @elseif($transactionDetail->type == \App\Util\Constant::TRANSACTION_DETAIL_TYPE_TAX) discount @elseif($transactionDetail->type == \App\Util\Constant::TRANSACTION_DETAIL_TYPE_SERVICE) discount @endif

{{ $transactionDetail->name }}

Jml: {{ getPriceNumber($transactionDetail->quantity) }}
Hrg: Rp {{ getPriceNumber($transactionDetail->value) }},-
@endforeach
@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)

Urbun (Uang Muka)

- 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