@extends('admin.layout.master') @section('custom_style') @endsection @section('content') @include('flash-message')
@if ($errors->any())
@endif
{{ Form::open(['route' => ['night_audit'], 'method' => 'get', 'class' => 'form-horizontal', 'enctype' => 'multipart/form-data']) }}
Night Audit Summary
{{ Form::text('date', null, ['class' => 'form-control fd_bs_datepicker', 'id' => 'audit_date', 'required']) }}
{{ Form::close() }} @if($date)
Check In Status By Room
Direct Check In {{ $direct_chekin_room }}
By Reservation {{ $chekin_by_reservation_room }}
Total {{ $direct_chekin_room - +$chekin_by_reservation_room }}
Expected {{ $expected_chekin_room }}
Check In Status By Bed
Direct Check In {{ $direct_chekin_bed }}
By Reservation {{ $chekin_by_reservation_bed }}
Total {{ $direct_chekin_bed + $chekin_by_reservation_bed }}
Expected {{ $expected_chekin_bed }}
Check Out Status By Room
Total {{ $checkout_room }}
Expected
Early Check Out
Occupied (Room) {{ $occupied_room }}
Check Out Status By Bed
Total {{ $checkout_bed }}
Expected
Early Check Out
Occupied (Bed)
Summary(Room)
Check In Check Out Occupied Vacant Total
{{ $direct_chekin_room - +$chekin_by_reservation_room }} {{ $checkout_room }} {{ $occupied_room }} {{ $vacant_room }}
Summary(Bed)
Check In Check Out Occupied Vacant Total
{{ $direct_chekin_bed + $chekin_by_reservation_bed }} {{ $checkout_bed }} {{ $occupied_bed }} {{ $vacant_bed }}
#You
Bill {{ $invoices->where('voucher_type', 3)->where('type', 0)->sum('amount') }}
(-)Commision {{ $invoices->whereIn('ledger_id', [getInitDataWithKeyWord('commission')->ledger_id, getInitDataWithKeyWord('discount')->ledger_id])->where('voucher_type', 3)->where('type', 1)->sum('amount') }}
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') }}
#User
@foreach ($users as $cashier=>$user) @endforeach
User Name
Amount
{{user_name($cashier)}} {{$user->sum('amount')}}
Total
{{$users->collapse()->sum('amount')}}
#Method
@foreach ($collected_money as $cash_ledger=>$receive ) @endforeach
{{cash_bank_name($cash_ledger)}} {{$receive->sum('amount')}}
Total {{$collected_money->collapse()->sum('amount')}}
{{ Form::open(['route' => ['day_close'], 'method' => 'post', 'class' => 'form-horizontal', 'enctype' => 'multipart/form-data','id'=>'day_close_form']) }} {{ Form::hidden('date',request()->date,['class'=>'form-control','id'=>'close_date'] )}}
{{ Form::textarea('remarks',null,['class'=>'form-control','id'=>'remarks','rows'=>1] )}}
{{ Form::close() }}
@endif
@endsection @section('script') @endsection