Booking Journal by Billno
Report Printed on: {{date('l, F d, Y')}}
Printed By : {{\Auth::user()->nama}}
Periode : {{ $periode}}
@if(count($bills) > 0) @php $total_qty = 0; $total_sales = 0; $total_payment = 0; @endphp @foreach($bills as $bill) @foreach($bill as $key => $item_bill) @if($item_bill->booking_detail_id) @php $total_qty += $item_bill->qty; $total_sales += $item_bill->total; $total_payment += 0; @endphp @endif @if($item_bill->menu_id) @php if ($item_bill->jenis_transaksi == 1) { $total_qty += $item_bill->jumlah; $total_sales += $item_bill->grand_total; $total_payment += 0; }else { $total_qty -= $item_bill->jumlah; $total_sales -= $item_bill->grand_total; $total_payment -= 0; } @endphp @endif @if($item_bill->cart_id) @php $total_qty += $item_bill->jumlah; $total_sales += $item_bill->nominal; $total_payment += 0; @endphp @endif @if($item_bill->jenis_deposit) @php if ($item_bill->jenis_transaksi == 1) { $total_qty += 1; $total_sales += 0; $total_payment -= $item_bill->nominal; }else { $total_qty -= 1; $total_sales -= 0; $total_payment += $item_bill->nominal; } @endphp @endif @if($item_bill->jenis_pembayaran_id) @php if($item_bill->tipe_pembayaran == 1){ $total_qty += 1; $total_sales += 0; $total_payment -= $item_bill->nominal; } else{ $total_qty += 1; $total_sales += 0; $total_payment += $item_bill->nominal; } @endphp @endif @endforeach @endforeach @else @endif
Date Room No No. Bill Department Description Qty Sales Payment Time GuestName
{{ formatDate($item_bill->date) }} {{ $item_bill->room_no }} {{ @$item_bill->invoice->no_invoice }} FO {{ $item_bill->description }} {{ $item_bill->qty }} {{ ribuanWithComma($item_bill->total) }} 0 {{ $item_bill->created_at ? $roomrate->created_at->format('H:i:s') : '' }} {{ @$item_bill->invoice->nama_pelanggan }}
{{ formatDate($item_bill->transaction_date) }} {{ @$item_bill->kamar->no_kamar }} {{ @$item_bill->main_invoice->no_invoice }} FO {{ @$item_bill->menu->nama }} {{ $item_bill->jenis_transaksi == 1 ? '' : '-' }}{{ $item_bill->jumlah }} {{ $item_bill->jenis_transaksi == 1 ? '' : '-' }}{{ ribuanWithComma($item_bill->grand_total) }} 0 {{ $item_bill->created_at ? $item_bill->created_at->format('H:i:s') : '' }} {{ @$item_bill->main_invoice->nama_pelanggan }}
{{ formatDate($item_bill->transaction_date) }} {{ @$invoice_array[$item_bill->booking_id][$item_bill->room_index]->nomor_kamar }} {{ @$invoice_array[$item_bill->booking_id][$item_bill->room_index]->no_invoice }} POS Outlet Bill : {{ @$item_bill->cart->order_flag }} 1 {{ ribuanWithComma($item_bill->nominal) }} 0 {{ $item_bill->created_at ? $item_bill->created_at->format('H:i:s') : '' }} {{ @$item_bill->main_invoice->nama_pelanggan }}
{{ formatDate($item_bill->transaction_date) }} {{ @$invoice_array[$item_bill->booking_id][$item_bill->room_index]->nomor_kamar }} {{ @$invoice_array[$item_bill->booking_id][$item_bill->room_index]->no_invoice }} FO Pembayaran {{ config('custom.jenis_deposit')[$item_bill->jenis_deposit].' '.$item_bill->bank }} A.N. {{ $item_bill->nama }} {{ $item_bill->jenis_transaksi == 1 ? '' : '-' }}1 0 {{ $item_bill->jenis_transaksi == 1 ? '-' : '' }}{{ ribuanWithComma($item_bill->nominal) }} {{ $item_bill->created_at ? $item_bill->created_at->format('H:i:s') : '' }} {{ @$item_bill->booking->nama }}
{{ formatDate($item_bill->transaction_date) }} {{ @$item_bill->invoice->nomor_kamar }} {{ @$item_bill->invoice->no_invoice }} FO {{$item_bill->tipe_pembayaran == 1 ? 'Pembayaran' : 'Refund'}} {{ config('custom.jenis_pembayaran')[$item_bill->jenis_pembayaran_id].' '.$item_bill->bank }} A.N. {{ @$item_bill->booking->nama }} 1 0 {{$item_bill->tipe_pembayaran == 1 ? '-' : ''}}{{ ribuanWithComma($item_bill->nominal) }} {{ $item_bill->created_at ? $item_bill->created_at->format('H:i:s') : '' }} {{ @$item_bill->booking->nama }}
TOTAL {{ribuanWithComma($total_qty)}} {{ribuanWithComma($total_sales)}} {{ribuanWithComma($total_payment)}}

NO DATA