{{date('d-m-Y', strtotime($invoice_detail->date))}}
1
{{$invoice_detail->description}}
{{ribuanWithComma($invoice_detail->harga_satuan)}}
{{ribuanWithComma($invoice_detail->total)}}
@php $balance_due += $invoice_detail->total; @endphp
@php
$no++;
$idx_item++;
@endphp
@endif
@endforeach
@endif
@if($folio_dummy->deposits)
@foreach($folio_dummy->deposits as $deposit)
@if(($deposit->jenis_transaksi == 1) && is_null($deposit->deleted_at) ? 'checked' : '')
jenis_transaksi == 1) && is_null($deposit->deleted_at) ? 'checked' : ''}}
>
@endif
jenis_transaksi == 1) && is_null($deposit->deleted_at) ? '' : 'disabled'}}>
jenis_transaksi == 1) && is_null($deposit->deleted_at) ? '' : 'disabled'}}>
jenis_transaksi == 1) && is_null($deposit->deleted_at) ? '' : 'disabled'}}>
jenis_transaksi == 1) && is_null($deposit->deleted_at) ? '' : 'disabled'}}>
jenis_transaksi == 1) && is_null($deposit->deleted_at) ? '' : 'disabled'}}>
jenis_transaksi == 1) && is_null($deposit->deleted_at) ? '' : 'disabled'}}>
jenis_transaksi == 1) && is_null($deposit->deleted_at) ? '' : 'disabled'}}>
jenis_transaksi == 1) && is_null($deposit->deleted_at) ? '' : 'disabled'}}
>
jenis_transaksi == 1) && is_null($deposit->deleted_at) ? '' : 'disabled'}}>
jenis_transaksi == 1) && is_null($deposit->deleted_at) ? '' : 'disabled'}}>
@php
$bank_transfer = @$deposit->transferAkunting->rekeningBank->nama_bank.' A.N. '.$deposit->nama;
@endphp
platform->nama ? @$deposit->platform->nama : (@$deposit->segmentation ? config('custom.segment_ratecodes')[@$deposit->segmentation] : '')}} by {{ $deposit->nama }} {{ $deposit->voucher ? '/'.$deposit->voucher : '' }} {{ $deposit->description ? '- '.$deposit->description : '' }}"
{{($deposit->jenis_transaksi == 1) && is_null($deposit->deleted_at) ? '' : 'disabled'}}
>
jenis_transaksi == 1) && is_null($deposit->deleted_at) ? '' : 'disabled'}}>
{{ config('custom.jenis_transaksi')[$deposit->jenis_transaksi] }} | {{ $deposit->user->nama }}
{{ date('d-m-Y', strtotime($deposit->transaction_date)) }}
{{ config('custom.jenis_deposit')[$deposit->jenis_deposit].' '.$deposit->bank }} {{$deposit->deposit_reservasi == 1 ? "Deposit" : "Payment" }} {{@$deposit->platform->nama ? @$deposit->platform->nama : (@$deposit->segmentation ? ' - '.config('custom.segment_ratecodes')[@$deposit->segmentation] : '')}} by {{ $deposit->nama }} {{ $deposit->voucher ? '/'.$deposit->voucher : '' }} {{ $deposit->description ? '- '.$deposit->description : '' }}
{{-- Pembayaran {{ config('custom.jenis_deposit')[$deposit->jenis_deposit].' '.($deposit->jenis_deposit != 3 ? @$deposit->platform->nama.' '.$deposit->voucher : $bank_transfer) }} --}}
jenis_transaksi == 1) && is_null($deposit->deleted_at) ? '' : 'disabled'}}
>
@if($deposit->jenis_transaksi == 1)
{{ ribuanWithComma($deposit->nominal *-1 ) }}
@php $balance_due -= $deposit->nominal; @endphp
@else
{{ ribuanWithComma($deposit->nominal *-1 ) }}
@php $balance_due += $deposit->nominal; @endphp
@endif
@if (\Auth::user()->role==1)
@if($folio_dummy->status == 0)
@if($deposit->jenis_transaksi == 1 && is_null($deposit->deleted_at))
@else
@endif
@else
@endif
@endif
@php
$no++;
$idx_item++;
@endphp
@endforeach
@endif
@if($folio_dummy->pembayaranPOS)
@foreach($folio_dummy->pembayaranPOS as $pembayaran_pos)
@if (@$pembayaran_pos->cart->status != 2)
@php $balance_due += $pembayaran_pos->nominal; @endphp
{{-- @php
$bank_transfer = @$deposit->transferAkunting->rekeningBank->nama_bank.' A.N. '.$deposit->nama;
@endphp --}}
Posting | {{@$pembayaran_pos->cart->user->nama}}
{{ date( 'd-m-Y', strtotime($pembayaran_pos->cart->transaction_date) ) }}
{{ ribuanWithComma($pembayaran_pos->nominal) }}
{{ ribuanWithComma($pembayaran_pos->nominal) }}
@php
$no++;
$idx_item++;
@endphp
@endif
@endforeach
@endif
@if($folio_dummy->shopTransactions)
@foreach($folio_dummy->shopTransactions as $shop_transaction)
@php
$harga_satuan = $shop_transaction->grand_total / $shop_transaction->jumlah;
@endphp
@if(($shop_transaction->jenis_transaksi == 1) && is_null($shop_transaction->deleted_at) ? 'checked' : '')
jenis_transaksi == 1) && is_null($shop_transaction->deleted_at) ? 'checked' : ''}}
>
@endif
jenis_transaksi == 1) && is_null($shop_transaction->deleted_at) ? '' : 'disabled'}}>
jenis_transaksi == 1) && is_null($shop_transaction->deleted_at) ? '' : 'disabled'}}>
jenis_transaksi == 1) && is_null($shop_transaction->deleted_at) ? '' : 'disabled'}}>
jenis_transaksi == 1) && is_null($shop_transaction->deleted_at) ? '' : 'disabled'}}>
jenis_transaksi == 1) && is_null($shop_transaction->deleted_at) ? '' : 'disabled'}}>
jenis_transaksi == 1) && is_null($shop_transaction->deleted_at) ? '' : 'disabled'}}>
jenis_transaksi == 1) && is_null($shop_transaction->deleted_at) ? '' : 'disabled'}}>
jenis_transaksi == 1) && is_null($shop_transaction->deleted_at) ? '' : 'disabled'}}>
jenis_transaksi == 1) && is_null($shop_transaction->deleted_at) ? '' : 'disabled'}}>
jenis_transaksi == 1) && is_null($shop_transaction->deleted_at) ? '' : 'disabled'}}>
jenis_transaksi == 1) && is_null($shop_transaction->deleted_at) ? '' : 'disabled'}}
>
{{ config('custom.jenis_transaksi')[$shop_transaction->jenis_transaksi] }} | {{ $shop_transaction->user->nama }}
{{ date('d-m-Y',strtotime($shop_transaction->transaction_date)) }}
jenis_transaksi == 1) && is_null($shop_transaction->deleted_at) ? '' : 'disabled'}}>
{{ ribuanWithComma($shop_transaction->jumlah) }}
{{ ribuanWithComma($harga_satuan) }}
jenis_transaksi == 1) && is_null($shop_transaction->deleted_at) ? '' : 'disabled'}}
>
@if($shop_transaction->jenis_transaksi == 1)
{{ ribuanWithComma($shop_transaction->grand_total) }}
@php $balance_due += $shop_transaction->grand_total; @endphp
@else
{{ ribuanWithComma($shop_transaction->grand_total *-1 ) }}
@php $balance_due -= $shop_transaction->grand_total; @endphp
@endif
@if (\Auth::user()->role==1)
@if($folio_dummy->status == 0)
@if($shop_transaction->jenis_transaksi == 1 && is_null($shop_transaction->deleted_at))
@else
@endif
@else
@endif
@endif
@php
$no++;
$idx_item++;
@endphp
@endforeach
@endif
@else