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

{{ __('Choose F&B Sales Projection Method') }}

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

{{-- Foods Types --}} @php $order = 1 ; @endphp {{-- Foods Count TD --}} @php @endphp @php $order = $order +1 ; @endphp @foreach($foods as $index=>$food) {{-- Foods Types --}} @php $order = 2 ; @endphp {{-- Foods Count TD --}} @php $order = $order +1 ; @endphp @endforeach
{{ __('F&B Facility') }} {{ __('Select Projection Method') }}
{{ __('Same Method For All F&B Facilities') }}
{{ $food->getName() }}
{{-- End of Choose F&B Sales Projection Method --}} @php $currentSectionName = guest_capture_x_cover_value_per_guest_method ; @endphp {{-- start of Guest Capture % x Cover Value Per Guest Method --}}

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

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

@foreach($itemsInEachSection[$currentSectionName]??[] as $index=>$food) {{-- Foods Types --}} @php $order = 1 ; @endphp {{-- Foods Count TD --}} {{-- Daily Cover Count Per Facility --}} {{-- Total Guest Capacity --}} {{-- Cover Value --}} {{-- Choose Currency Td --}} {{-- Estimation Date --}} {{-- Cover Value Escalation Rate % --}} {{-- Cover Value At Operation Date --}} {{-- Cover Value Annual Escalation Rate % --}} @php $order = $order +1 ; @endphp @endforeach
{{ __('F&B Facility') }} {{ __('F&B Facility Count') }} {{ __('Guest Capacity') }} {{ __('Total Guest Capacity') }} {{ __('Cover Value Per Guest') }} {{ __('Choose Currency') }} {{ __('Estimation Date') }} {{ __('Cover Value Escalation Rate %') }} {{ __('Cover Value At Operation Date') }} {{ __('Cover Value Annual Escalation Rate %') }}
{{ $food->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=>$food) {{-- @foreach($foods as $index=>$food) --}} @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($food->getName()) }} {{ __('Guest Capture %') }} @php $currentVal = $food->getGuestCaptureCoverPercentage($year); $currentTotal[$year]=isset($currentTotal[$year]) ? $currentTotal[$year] + $currentVal : $currentVal; @endphp
%
{{-- end of Guest Capture % x Cover Value Per Guest Method --}} {{-- start of Guest Capture % x Meals Per Guest x Cover Value Per Meal Method --}} @php $currentSectionName = guest_capture_x_meals_per_guest_x_cover_value_per_meal_method ; @endphp

{{ __('Guest Capture % x Meals Per Guest x Cover Value Per Meal Method') }}

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

@foreach($itemsInEachSection[$currentSectionName]??[] as $index=>$food) {{-- Foods Types --}} @php $order = 1 ; @endphp {{-- Foods Count TD --}} {{-- Daily Cover Count Per Facility --}} {{-- Total Guest Capacity --}} {{-- Cover Value --}} {{-- Choose Currency Td --}} {{-- Estimation Date --}} {{-- Cover Value Escalation Rate % --}} {{-- Cover Value At Operation Date --}} {{-- Cover Value Annual Escalation Rate % --}} @php $order = $order +1 ; @endphp @endforeach
{{ __('F&B Facility') }} {{ __('F&B Facility Count') }} {{ __('Guest Capacity') }} {{ __('Total Guest Capacity') }} {{ __('Cover Value Per Meal') }} {{ __('Choose Currency') }} {{ __('Estimation Date') }} {{ __('Cover Value Escalation Rate %') }} {{ __('Cover Value At Operation Date') }} {{ __('Cover Value Annual Escalation Rate %') }}
{{ $food->getName() }}
{{-- --}}
{{-- --}}
{{-- --}} %
{{-- --}}
{{-- average_daily_rate_annual_escalation_rate --}} %
{{-- --}}

@foreach($yearsWithItsMonths as $year=>$monthsForThisYearArray) @endforeach @php $currentTotal = []; @endphp @php @endphp @foreach($yearsWithItsMonths as $year=>$monthsForThisYearArray) @endforeach @php $newIndex = 0 ; @endphp @foreach($itemsInEachSection[$currentSectionName]??[] as $index=>$food) {{-- @foreach($foods as $index=>$food) --}} @php $order = 1 ; @endphp @foreach($yearsWithItsMonths as $year=>$monthsForThisYearArray) @php $order = $order +1 ; @endphp @endforeach @php $newIndex = $newIndex+1 ; @endphp @php $order = 1 ; @endphp @foreach($yearsWithItsMonths as $year=>$monthsForThisYearArray) @php $order = $order +1 ; @endphp @endforeach @php $newIndex = $newIndex+1 ; @endphp @endforeach
{{ __('Facility Types') }} {{ __('Input') }} {{ __('Yr-') }}{{$yearIndexWithYear[$year]}}
{{ __('Total Guest Count') }} @php @endphp
%
{{ str_to_upper($food->getName()) }}
{{ __('Guest Capture %') }}
@php $currentVal = old('guest_capture_cover_percentage') ?: $food->getGuestCaptureCoverPercentage($year); $currentTotal[$year]=isset($currentTotal[$year]) ? $currentTotal[$year] + $currentVal : $currentVal; @endphp
%
{{ __('Meal Per Guest') }}
@php $currentVal = $food->getMealPerGuest($year); $currentTotal[$year]=isset($currentTotal[$year]) ? $currentTotal[$year] + $currentVal : $currentVal; @endphp
#
{{-- end of Guest Capture % x Meals Per Guest x Cover Value Per Meal Method --}} {{-- start of Cover Count Target Per Day x Cover Value Method --}} @php $currentSectionName =cover_count_target_per_day_x_cover_value_method @endphp

{{ __('Cover Count Target Per Day x Cover Value Method') }}

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

@foreach($itemsInEachSection[$currentSectionName]??[] as $index=>$food) {{-- Foods Types --}} @php $order = 1 ; @endphp {{-- Foods Count TD --}} {{-- Daily Cover Count Per Facility --}} {{-- Total Guest Capacity --}} {{-- Cover Value --}} {{-- Choose Currency Td --}} {{-- Estimation Date --}} {{-- Cover Value Escalation Rate % --}} {{-- Cover Value At Operation Date --}} {{-- Cover Value Annual Escalation Rate % --}} @php $order = $order +1 ; @endphp @endforeach
{{ __('F&B Facility') }} {{ __('F&B Facility Count') }} {{ __('Guest Capacity') }} {{ __('Total Guest Capacity') }} {{ __('Cover Value') }} {{ __('Choose Currency') }} {{ __('Estimation Date') }} {{ __('Cover Value Escalation Rate %') }} {{ __('Cover Value At Operation Date') }} {{ __('Cover Value Annual Escalation Rate %') }}
{{ $food->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=>$food) {{-- @foreach($foods as $index=>$food) --}} @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($food->getName()) }} {{ __('Cover Count Target Per Day') }} @php $currentVal = $food->getCoverPerDay($year); $currentTotal[$year]=isset($currentTotal[$year]) ? $currentTotal[$year] + $currentVal : $currentVal; @endphp
#
{{-- end of Cover Count Target Per Day x Cover Value Method --}} {{-- start of Percenatge % From Rooms Revenues --}} @php $currentSectionName = percentage_from_rooms_revenue ; @endphp

{{ __('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=>$food) @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($food->getName()) }} {{ __('% From Rooms Revenues') }} @php $currentVal = $food->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'=>$foods, 'modelName'=>'food', 'isGeneralCollectionPolicy'=>$model->isFoodGeneralCollection(), 'isCollectionTermPerItem'=>$model->isFoodCollectionTermPerSalesChannel(), 'onlyGeneralExpense'=>isTotal($foods) ])
@endsection @section('js') @endsection