@extends(\Auth::user()->role != 10 ? 'layout' : 'layoutfrontdesk') @section('title', 'FO Payment Journal By User') @section('css') @endsection @section('content')
{{-- Room sales --}}

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
Number Date Room Number Bill Number Payment Method Platform Voucher Shift Department Local Amount Guest Name Time
User: {{$group_users['user']->nama}}
{{$data->transaction_date->format('d-m-Y')}} {{@$invoice_array[$data->booking_id][$data->room_index]->nomor_kamar}} {{@$invoice_array[$data->booking_id][$data->room_index]->no_invoice ?? @$data->folioDummy->no_bill}} {{ $data->jenis_deposit != 5 ? @config('custom.jenis_pembayaran')[$data->jenis_deposit] : @config('custom.jenis_pembayaran')[$data->jenis_deposit] }} (Payment / Deposit) {{ @$data->platform->nama }} {{ @$data->voucher }} {{ @$data->shiftFO->shift ? @$data->shiftFO->shift : "-" }} 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; } @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}} {{ $data->jenis_pembayaran_id != 5 ? @config('custom.jenis_pembayaran')[$data->jenis_pembayaran_id] : @config('custom.jenis_pembayaran')[$data->jenis_pembayaran_id] }} {{$data->tipe_pembayaran == 2 ? '(Refund)' : '(Settlement)'}} {{ @$data->platformPembayaran->nama }} {{ @$data->voucher }} {{ @$data->shiftFO->shift ? @$data->shiftFO->shift : "-" }} 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

@endsection @section('js') @endsection