Journal of F/O Transaction
Report Printed on: {{date('l, F d, Y')}}
@if($start_date == $end_date) Periode: {{date('d-m-Y', strtotime($start_date))}} @else From Date: {{date('d-m-Y', strtotime($start_date))}} To Date: {{date('d-m-Y', strtotime($end_date))}} @endif

@php $total_array_sum = 0; @endphp @foreach (config('custom.jenis_pembayaran') as $key=>$item) @if (@$summary_transactions[$key] > 0) @if ($key == 2) @if (isset($summary_transactions[$key])) @foreach ($summary_transactions[$key] as $tra) @php $total_array_sum += @$tra['nominal']; @endphp @endforeach @endif @else @php $total_array_sum += @$summary_transactions[$key]; @endphp @endif @endif @endforeach @if (@$summary_transactions['paid_outs']) @php $total_array_sum -= @$summary_transactions['paid_outs']; @endphp @endif
SUMMARY OF PAYMENT
{{$item}}
   {{$tra['nama']}}{{ribuanWithComma(@$tra['nominal']*-1)}}
{{$item}}{{ribuanWithComma(@$summary_transactions[$key]*-1)}}
Paid Out{{ribuanWithComma(@$summary_transactions['paid_outs'])}}
TOTAL{{ribuanWithComma($total_array_sum*-1)}}

@php $no = 1; $grandtotal_qty = 0; $grandtotal_amount = 0; @endphp @if(count($transactions) > 0) @foreach($transactions as $transaction) @php $total_qty = 0; $total_amount = 0; @endphp @foreach($transaction as $item_transaction) @if($item_transaction->jenis_pembayaran_id) {{-- --}} @if ($item_transaction->jenis_pembayaran_id == 5) @if ($item_transaction->segment != 14) @else @endif @else @endif @endif @if($item_transaction->jenis_deposit) {{-- --}} @if ($item_transaction->jenis_deposit == 5) @if ($item_transaction->segmentation != 14) @else @endif @else @endif @endif @if ($item_transaction->menu_id) @endif @endforeach @endforeach @else @endif
Date RmNo Bill No Payment Method Platform Voucher Department Qty Amount Guest Name
{{$item_transaction->transaction_date->format('d-m-Y')}} {{@$item_transaction->invoice->nomor_kamar}} {{@$item_transaction->invoice->no_invoice}}{{ @config('custom.jenis_pembayaran')[$item_transaction->jenis_pembayaran_id] }} (Settlement){{ @config('custom.segment_ratecodes')[$item_transaction->ledger->main_segment] }} (Settlement){{ @config('custom.segment_ratecodes')[14] }} (Settlement){{ @config('custom.jenis_pembayaran')[$item_transaction->jenis_pembayaran_id] }} (Settlement){{ @$item_transaction->platformPembayaran->nama }} {{$item_transaction->voucher}} FRONT OFFICE @php $total_qty += 1; $grandtotal_qty += 1; @endphp 1 @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->transaction_date->format('d-m-Y')}} {{@$invoice_array[$item_transaction->booking_id][$item_transaction->room_index]->nomor_kamar}} {{@$invoice_array[$item_transaction->booking_id][$item_transaction->room_index]->no_invoice}}{{ @config('custom.jenis_pembayaran')[$item_transaction->jenis_deposit] }} (Pembayaran / Deposit){{ @config('custom.segment_ratecodes')[$item_transaction->ledger->main_segment] }} (Pembayaran / Deposit){{ @config('custom.segment_ratecodes')[14] }}(Pembayaran / Deposit){{ @config('custom.jenis_pembayaran')[$item_transaction->jenis_deposit] }} (Pembayaran / Deposit){{ @$item_transaction->platform->nama }} {{$item_transaction->voucher}} FRONT OFFICE @php if ($item_transaction->jenis_transaksi == 1){ $total_qty += 1; $grandtotal_qty += 1; }else{ $total_qty -= 1; $grandtotal_qty -= 1; } @endphp {{($item_transaction->jenis_transaksi == 1 ? '' : '-')}}1 @php if ($item_transaction->jenis_transaksi == 1){ $total_amount -= $item_transaction->nominal; $grandtotal_amount -= $item_transaction->nominal; }else { $total_amount += $item_transaction->nominal; $grandtotal_amount += $item_transaction->nominal; } @endphp {{ ribuanWithComma(($item_transaction->jenis_transaksi == 1 ? -1 : 1) * ($item_transaction->nominal)) }} {{@$item_transaction->booking->nama}}
{{@dateFormat($item_transaction->transaction_date,'d-m-Y')}} {{@$item_transaction->main_invoice->nomor_kamar}} {{@$item_transaction->main_invoice->no_invoice ?? @$item_transaction->folioDummy->no_bill}} {{@$item_transaction->menu->nama}} Paid Out Item - FRONT OFFICE @php $total_qty += 1; $grandtotal_qty += 1; @endphp @php $total_amount += $item_transaction->grand_total; $grandtotal_amount += $item_transaction->grand_total; @endphp {{ ribuanWithComma(($item_transaction->grand_total)) }} {{@$item_transaction->main_invoice->bookings->nama ?? @$item_transaction->folioDummy->guestProfile->name}}
TOTAL {{ ribuanWithComma($total_qty) }} {{ ribuanWithComma($total_amount) }}
Grand TOTAL {{ ribuanWithComma($grandtotal_qty) }} {{ ribuanWithComma($grandtotal_amount) }}

No Transaction Today