{{--
--}}
Date | @if (\Request::get('user_id') == 0)User | @endifRmNo | Bill No | Metode Pembayaran | Platform | Voucher | Department | Local Amount | Guest Name | Time | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{$item_transaction->transaction_date->format('d-m-Y')}} | @if (\Request::get('user_id') == 0){{@$item_transaction->user->nama}} | @endif{{@$item_transaction->invoice->nomor_kamar ?? '-'}} | {{@$item_transaction->invoice->no_invoice ?? '-'}} | {{ @config('custom.jenis_pembayaran')[$item_transaction->jenis_deposit] }} (Pembayaran / Deposit) | {{ @$item_transaction->platform->nama }} | {{ @$item_transaction->voucher }} | FRONT OFFICE | @php $total_amount -= $item_transaction->nominal; $grandtotal_amount -= $item_transaction->nominal; @endphp {{ ribuanWithComma(-1 * $item_transaction->nominal) }} | {{@$item_transaction->booking->nama ?? '-'}} | {{@$item_transaction->created_at->format('H:i:s')}} | ||||
{{$item_transaction->transaction_date->format('d-m-Y')}} | @if (\Request::get('user_id') == 0){{@$item_transaction->user->nama}} | @endif{{@$item_transaction->invoice->nomor_kamar}} | {{@$item_transaction->invoice->no_invoice}} | {{ @config('custom.jenis_pembayaran')[$item_transaction->jenis_pembayaran_id] }} {{$item_transaction->tipe_pembayaran == 2 ? '(Refund)' : '(Settlement)'}} | {{ @$item_transaction->platformPembayaran->nama }} | {{ @$item_transaction->voucher }} | FRONT OFFICE | @php if($item_transaction->tipe_pembayaran == 1){ $total_amount -= $item_transaction->nominal; $grandtotal_amount -= $item_transaction->nominal; } else{ $total_amount += $item_transaction->nominal; $grandtotal_amount += $item_transaction->nominal; } @endphp @if($item_transaction->tipe_pembayaran == 1) {{ ribuanWithComma(-1 * $item_transaction->nominal) }} @else {{ ribuanWithComma($item_transaction->nominal) }} @endif | {{$item_transaction->booking->nama}} | {{$item_transaction->created_at->format('H:i:s')}} | ||||
@if (\Request::get('user_id') == 0) | @endif | TOTAL | {{ ribuanWithComma($total_amount) }} @php $summary[$key] = $total_amount; @endphp | |||||||||||
@if (\Request::get('user_id') == 0) | @endif | Grand TOTAL | {{ ribuanWithComma($grandtotal_amount) }} | |||||||||||
Tidak Ada Transaksi Hari Ini |
SUMMARY OF CASH PAYMENT | |
---|---|
Cash | {{ribuanWithComma(@$summary['Cash'] ? $summary['Cash'] : 0)}} |
TOTAL | {{ribuanWithComma(@$summary['Cash'] ? $summary['Cash'] : 0)}} |
SUMMARY OF PAYMENT | |
---|---|
{{$val}} | {{ribuanWithComma(@$summary[config('custom.jenis_deposit.'.$key)] ?? 0)}} |
{{$platform_pembayaran->nama}} | {{ribuanWithComma(@$summary[$platform_pembayaran->id] ?? 0)}} |
@if (\Request::get('user_id') == 0)
SUMMARY PER USER | ||
---|---|---|
User | @foreach(config('custom.jenis_deposit') as $key => $val) @if(in_array($key, [1, 2, 3, 4, 5])){{$val}} | @endif @endforeach|
{{$item['name']}} | @foreach(config('custom.jenis_deposit') as $key => $val) @if(in_array($key, [1, 2, 3, 4, 5])) @if (isset($item[$key]['sum'])){{ribuanWithComma($item[$key]['sum']*-1)}} | @else0 | @endif @endif @endforeach