@extends('admin.layout.master') @section('custom_style') @endsection @section('content') @include('flash-message')
@if ($errors->any())
@endif
{{__('obs.night_audit_summary')}}
@if($date)
{{__('obs.check_in_status_by_room')}}
{{__('obs.direct_check_in')}} {{ $direct_chekin_room }}
{{__('obs.by_reservation')}} {{ $chekin_by_reservation_room }}
{{__('obs.total')}} {{ $direct_chekin_room+$chekin_by_reservation_room }}
{{__('obs.expected_checkin_room')}} {{ $expected_chekin_room }}
{{__('obs.check_in_status_by_bed')}}
{{__('obs.direct_check_in')}} {{ $direct_chekin_bed }}
{{__('obs.by_reservation')}} {{ $chekin_by_reservation_bed }}
{{__('obs.total')}} {{ $direct_chekin_bed + $chekin_by_reservation_bed }}
{{__('obs.expected_checkin_bed')}} {{ $expected_chekin_bed }}
{{__('obs.check_out_status_by_room')}}
{{-- --}}
{{__('obs.room')}} {{ $checkout_room }}
{{__('obs.expected')}}
{{__('obs.early_check_out')}}
{{__('obs.occupied')}} ({{__('obs.room')}}) {{ $occupied_room }}
{{__('obs.check_out_status_by_bed')}}
{{-- --}}
{{__('obs.bed')}} {{ $checkout_bed }}
{{__('obs.expected')}}
{{__('obs.early_check_out')}}
{{__('obs.occupied')}} ({{__('obs.bed')}}) {{ $occupied_bed }}
{{__('obs.summary')}}({{__('obs.room')}})
{{-- --}} {{-- --}} {{-- --}} {{-- --}}
{{__('obs.check_in')}} {{__('obs.check_out')}} {{__('obs.occupied')}}{{__('obs.vacant')}}{{__('obs.total')}}
{{ $direct_chekin_room+$chekin_by_reservation_room }} {{ $checkout_room }} {{ $occupied_room }}{{ $vacant_room }}
{{__('obs.summary')}}({{__('obs.bed')}})
{{-- --}} {{-- --}} {{-- --}} {{-- --}}
{{__('obs.check_in')}} {{__('obs.check_out')}} {{__('obs.occupied')}}{{__('obs.vacant')}}{{__('obs.total')}}
{{ $direct_chekin_bed + $chekin_by_reservation_bed }} {{ $checkout_bed }} {{ $occupied_bed }}{{ $vacant_bed }}
{{--
{{__('obs.bill')}}
{{__('obs.bill')}} {{ $invoices->where('voucher_type', 3)->where('type', 0)->sum('amount') }}
(-){{__('obs.commision')}} {{ $invoices->whereIn('ledger_id', [getInitDataWithKeyWord('commission')->ledger_id, getInitDataWithKeyWord('discount')->ledger_id])->where('voucher_type', 3)->where('type', 1)->sum('amount') }}
{{__('obs.net_total')}} {{ $invoices->where('ledger_id', '!=', getInitDataWithKeyWord('commission')->ledger_id)->where('ledger_id', '!=', getInitDataWithKeyWord('discount')->ledger_id)->where('voucher_type', 3)->where('type', 1)->sum('amount') }}
#{{__('obs.user')}}
@foreach ($users as $cashier=>$user) @endforeach
{{__('obs.user_name')}}
{{__('obs.amount')}}
{{user_name($cashier)}} {{$user->sum('amount')}}
{{__('obs.total')}}
{{$users->collapse()->sum('amount')}}
{{__('obs.method')}}#
@foreach ($collected_money as $cash_ledger=>$receive ) @endforeach
{{cash_bank_name($cash_ledger)}} {{$receive->sum('amount')}}
{{__('obs.total')}} {{$collected_money->collapse()->sum('amount')}}
--}}
@endif
@endsection @section('script') @endsection