Closing Shift FO
Report Printed on: {{date('l, F d, Y')}}
 
Printed By User: {{@ucwords(\Auth::user()->nama)}}
@php $no = 1; $grandtotal_qty = 0; $grandtotal_amount = 0; // $summary = array(); @endphp @if(count($items) > 0 || count($itemstransaksi) > 0) {{-- @foreach($transactions as $key => $transaction) --}} @php $total_qty = $total_qty_trans = 0; $total_amount = $total_amount_trans = 0; @endphp @if(count($items) > 0) @foreach($items as $item_transaction) @endforeach @endif @if (count($itemstransaksi) > 0) @foreach($itemstransaksi as $item_transaction) @endforeach @endif {{-- @endforeach --}} {{-- --}} @else @endif
Date Room No. Bill No. Payment Method Platform Voucher Department Amount Guest Name Time User
Payment \ Deposit
{{$item_transaction['date']->format('Y-m-d')}} {{$item_transaction['nomor_kamar']}} {{@$item_transaction['no_invoice']}} {{ $item_transaction['jenis'] }} {{ $item_transaction['platform'] }} {{ $item_transaction['voucher'] }} {{ $item_transaction['desc'] }} @php $total_amount -= $item_transaction['amount']; $grandtotal_amount -= $item_transaction['amount']; @endphp {{ ribuanWithComma(-1 * ($item_transaction['amount'])) }} {{@$item_transaction['guest']}} {{$item_transaction['date']->format('H:i:s')}} {{@$item_transaction['user']}}
TOTAL {{ ribuanWithComma($total_amount) }}
Transaction
{{$item_transaction['date']->format('Y-m-d')}} {{$item_transaction['nomor_kamar']}} {{@$item_transaction['no_invoice']}} {{ $item_transaction['jenis'] }} {{ $item_transaction['platform'] }} {{ $item_transaction['voucher'] }} {{ $item_transaction['desc'] }} @php $total_amount_trans += $item_transaction['amount']; $grandtotal_amount += $item_transaction['amount']; @endphp {{ ribuanWithComma(($item_transaction['amount'])) }} {{@$item_transaction['guest']}} {{$item_transaction['date']->format('H:i:s')}} {{@$item_transaction['user']}}
TOTAL {{ ribuanWithComma($total_amount_trans) }}
Grand TOTAL {{ ribuanWithComma($grandtotal_amount) }}

No Transactions


{{--
SUMMARY OF CASH PAYMENT
Cash{{@$summary['Cash'] ? $summary['Cash'] : 0}}
TOTAL{{@$summary['Cash'] ? $summary['Cash'] : 0}}
--}}
@foreach(config('custom.jenis_deposit') as $key => $val) @if(in_array($key, [1,3])) @endif @endforeach @foreach($platform_pembayarans as $platform_pembayaran) @endforeach
SUMMARY OF PAYMENT
{{$val}} {{ ribuanWithComma(@$summary[config('custom.jenis_deposit.'.$key)] ?? 0) }}
{{$platform_pembayaran->nama}} {{ ribuanWithComma(@$summary[$platform_pembayaran->id] ?? 0) }}
@if ($summary_trans)
@foreach($summary_trans as $key => $val) @endforeach
SUMMARY OF TRANSACTION
{{$key}} {{ ribuanWithComma(@$val ?? 0) }}
@endif