F/O Payment Journal by User (s)
Report Printed on: {{date('l, F d, Y', strtotime(date('Y-m-d')))}} {{date('H:i:s')}}
Period: {{$periode}}
@php $no = 1; $grandtotal_qty = 0; $grandtotal_amount = 0; $summary = array(); @endphp @if(count($transactions) > 0) @foreach($transactions as $key_user => $group_users) @foreach($group_users['data'] as $group_date => $group_metode) @foreach($group_metode as $key => $datas) @php $total_qty = 0; $total_amount = 0; @endphp @foreach($datas as $data) @if($data->jenis_deposit) @endif @if($data->jenis_pembayaran_id) @endif @endforeach @endforeach @endforeach @endforeach @else @endif
Date Room Number Bill Number Payment Method Platform Voucher Department Local Amount Guest Name Time
User: {{$group_users['user']->nama}}
{{$data->transaction_date->format('d-m-Y')}} {{@$invoice_array[$data->booking_id][$data->nomor_kamar]->nomor_kamar}} {{@$invoice_array[$data->booking_id][$data->nomor_kamar]->no_invoice ?? @$data->folioDummy->no_bill}} {{ @config('custom.jenis_pembayaran')[$data->jenis_deposit] }} (Payment / Deposit) {{ @$data->platform->nama }} {{ @$data->voucher }} FRONT OFFICE @php if ($data->jenis_transaksi == 0) { $total_amount += $data->nominal; $grandtotal_amount += $data->nominal; }else { $total_amount -= $data->nominal; $grandtotal_amount -= $data->nominal; } // $total_amount -= $data->nominal; // $grandtotal_amount -= $data->nominal; @endphp {{ ribuanWithComma( ($data->jenis_transaksi == 0 ? 1 : -1) * $data->nominal) }} {{@$data->booking->nama ?? @$data->folioDummy->guestProfile->name}} {{$data->created_at->format('H:i:s')}}
{{$data->transaction_date->format('d-m-Y')}} {{@$data->invoice->nomor_kamar}} {{@$data->invoice->no_invoice}} {{ @config('custom.jenis_pembayaran')[$data->jenis_pembayaran_id] }} {{$data->tipe_pembayaran == 2 ? '(Refund)' : '(Settlement)'}} {{ @$data->platformPembayaran->nama }} {{ @$data->voucher }} FRONT OFFICE @php if($data->tipe_pembayaran == 1){ $total_amount -= $data->nominal; $grandtotal_amount -= $data->nominal; } else{ $total_amount += $data->nominal; $grandtotal_amount += $data->nominal; } @endphp @if($data->tipe_pembayaran == 1) {{ ribuanWithComma(-1 * $data->nominal) }} @else {{ ribuanWithComma($data->nominal) }} @endif {{@$data->booking->nama}} {{$data->created_at->format('H:i:s')}}
TOTAL {{ ribuanWithComma($total_amount) }} @php $summary[$key] = $total_amount; @endphp

Tidak Ada Transaksi Hari Ini