@extends('admin.layout.master') @section('custom_style') @endsection @section('content') @include('flash-message')
| {{__('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.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.room')}} | {{ $checkout_room }} |
|---|---|
| {{__('obs.expected')}} | |
| {{__('obs.early_check_out')}} | |
| {{__('obs.occupied')}} ({{__('obs.room')}}) | {{ $occupied_room }} |
| {{__('obs.bed')}} | {{ $checkout_bed }} |
|---|---|
| {{__('obs.expected')}} | |
| {{__('obs.early_check_out')}} | |
| {{__('obs.occupied')}} ({{__('obs.bed')}}) | {{ $occupied_bed }} |
| {{__('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.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')}} | {{ $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_name')}} |
{{__('obs.amount')}} |
@foreach ($users as $cashier=>$user)
{{user_name($cashier)}} | {{$user->sum('amount')}} |
{{__('obs.total')}} |
{{$users->collapse()->sum('amount')}} |
| {{cash_bank_name($cash_ledger)}} | {{$receive->sum('amount')}} |
| {{__('obs.total')}} | {{$collected_money->collapse()->sum('amount')}} |