@extends('layouts.dashboard') @section('css') @endsection @section('sub-header') {{ __('Other Revenues Sales Projection Input Sheet') }} @endsection @section('content')
@csrf {{-- Start Choose F&B Sales Projection Method --}}

{{ __('Choose Other Revenues Sales Projection Method') }}

{{ __('Show/Hide') }}

{{-- Others Types --}} @php $order = 1 ; @endphp {{-- Others Count TD --}} @php $order = $order +1 ; @endphp @foreach(count($others) ? $others : generateTotalOtherInstance($model) as $index=>$other) {{-- Others Types --}} @php $order = 2 ; @endphp {{-- Others Count TD --}} @php $order = $order +1 ; @endphp @endforeach
{{ __('Other Revenues Facility') }} {{ __('Select Projection Method') }}
{{ __('Same Method For All Other Revenues Facilities') }}
{{ $other->getName() }}
{{-- End of Choose F&B Sales Projection Method --}} {{-- --}} @php $currentSectionName = guest_capture_x_charges_per_guest_method ; @endphp {{-- start of Guest Capture % x Charges Per Guest Method --}}

{{ __('Guest Capture % x Charges Per Guest Method') }}

{{ __('Show/Hide') }}

@foreach($itemsInEachSection[$currentSectionName]??[] as $index=>$other) {{-- Others Types --}} @php $order = 1 ; @endphp {{-- Other Revenues Facility Count TD --}} {{-- Charges Per Guest --}} {{-- Choose Currency Td --}} {{-- Estimation Date --}} {{-- Charges Per Guest Escalation Rate % --}} {{-- Charges Value Per Guest At Operation Date --}} {{-- Charges Value Per Guest Annual Escalation Rate % --}} @php $order = $order +1 ; @endphp @endforeach
{{ __('Other Revenues Facility') }} {{ __('Other Revenues Facility Count') }} {{ __('Charges Per Guest') }} {{ __('Choose Currency') }} {{ __('Estimation Date') }} {{ __('Charges Per Guest Escalation Rate %') }} {{ __('Charges Per Guest At Operation Date') }} {{ __('Charges Per Guest Annual Escalation Rate %') }}
{{ $other->getName() }}
{{-- --}}
{{-- --}}
{{-- --}} %
{{-- --}}
{{-- average_daily_rate_annual_escalation_rate --}} %
{{-- --}}

@foreach($yearsWithItsMonths as $year=>$monthsForThisYearArray) @endforeach @php $currentTotal = []; @endphp @php @endphp @foreach($yearsWithItsMonths as $year=>$monthsForThisYearArray) @endforeach @foreach($itemsInEachSection[$currentSectionName]??[] as $index=>$other) @php $order = 1 ; @endphp @foreach($yearsWithItsMonths as $year=>$monthsForThisYearArray) @php $order = $order +1 ; @endphp @endforeach @endforeach
{{ __('Facility Types') }} {{ __('Input') }} {{ __('Yr-') }}{{$yearIndexWithYear[$year]}}
{{ __('Total Guest Count') }} @php @endphp
%
{{ str_to_upper($other->getName()) }} {{ __('Guest Capture %') }} @php $currentVal = $other->getGuestCaptureCoverPercentage($year); $currentTotal[$year]=isset($currentTotal[$year]) ? $currentTotal[$year] + $currentVal : $currentVal; @endphp
%
{{-- end of Guest Capture % x Charges Per Guest Method --}} @php $currentSectionName = percentage_from_rooms_revenue ; @endphp {{-- start of Percenatge % From Rooms Revenues --}}

{{ __('Percenatge % From Rooms Revenues') }}

{{ __('Show/Hide') }}

@foreach($yearsWithItsMonths as $year=>$monthsForThisYearArray) @endforeach @php $currentTotal = []; @endphp @php @endphp @foreach($yearsWithItsMonths as $year=>$monthsForThisYearArray) @endforeach @foreach($itemsInEachSection[$currentSectionName]??[] as $index=>$other) @php $order = 1 ; @endphp @foreach($yearsWithItsMonths as $year=>$monthsForThisYearArray) @php $order = $order +1 ; @endphp @endforeach @endforeach
{{ __('Facility Types') }} {{ __('Input') }} {{ __('Yr-') }}{{$yearIndexWithYear[$year]}}
{{ __('Total Rooms Revenues') }} @php @endphp
%
{{ str_to_upper($other->getName()) }} {{ __('% From Rooms Revenues') }} @php $currentVal = $other->getPercentageFromRevenue($year); $currentTotal[$year]=isset($currentTotal[$year]) ? $currentTotal[$year] + $currentVal : $currentVal; @endphp
%
{{-- end of Percenatge % From Rooms Revenues --}} @include('admin.hospitality-sector.collection-policy',[ 'collectionPolicyFirstLabel'=>__('Collection Terms Per Facility'), 'firstHeader'=>__('Facility Name'), 'collectionPolicyItems'=>$others, 'modelName'=>'other', 'isGeneralCollectionPolicy'=>$model->isOtherGeneralCollection(), 'isCollectionTermPerItem'=>$model->isOtherCollectionTermPerSalesChannel(), 'onlyGeneralExpense'=>isTotal($others) ])
@endsection @section('js') @endsection