@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')}} {{@$data->nomor_kamar}} {{@$invoice_array[$data->booking_id][$data->room_index]->no_invoice ?? @$data->folioDummy->no_bill}} {{ @config('custom.jenis_pembayaran')[$data->jenis_deposit] }} (Pembayaran / 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 {{ ($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->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) {{ -1 * $data->nominal }} @else {{ $data->nominal }} @endif {{@$data->booking->nama}} {{$data->created_at->format('H:i:s')}}
TOTAL {{ $total_amount }} @php $summary[$key] = $total_amount; @endphp

Tidak Ada Transaksi Hari Ini