@extends('layouts.dashboard') @section('css') @endsection @section('sub-header') {{ __('Entertainment Feasibilities & Multi-years Financial Plan Table') }} @endsection @section('content')
@csrf

{{ __('Study Main Information') }}

{{ __('Study Start Date') }} @include('star')
{{ __('Study End Date') }}
{{ __('Development / Construction Start Date') }}
{{ __('Operation Start Date') }}
@php $mainCurrencies[] = $currencies[0]??[]; @endphp


{{-- Accommodation & Rooms Section --}}

{{ __('Accommodation & Rooms Revenue Stream') }}

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

@if(isset($model) && $model->rooms->count() && $model->rooms->first()->room_type_id == $company->getTotalRoomId() ) @foreach($model->rooms as $room) @include('admin.quick-pricing-calculator.form.room' , [ 'room'=>$room , 'onlyTotal'=>true , 'removeRepeater'=>true ]) @endforeach @else @include('admin.quick-pricing-calculator.form.room' , [ 'onlyTotal'=>true, 'removeRepeater'=>true ]) @endif
@if(isset($model) && $model->rooms->count() && $model->rooms->first()->room_type_id != $company->getTotalRoomId() ) @foreach($model->rooms as $room) @include('admin.quick-pricing-calculator.form.room' , [ 'room'=>$room ]) @endforeach @else @include('admin.quick-pricing-calculator.form.room' , [ ]) @endif
@if(! isset($disabled) || ! $disabled)
{{ __('Add') }}
@endif
{{-- Food & Beverage Section --}}

{{ __('Food & Beverage (F&B) Revenue Stream') }}

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

{{--
--}} {{--
--}}
@if(isset($model) && $model->foods->count() && $model->foods->first()->food_type_id == $company->getTotalFoodId() ) @foreach($model->foods as $food) @include('admin.quick-pricing-calculator.form.foods' , [ 'food'=>$food , 'onlyTotal'=>true , 'removeRepeater'=>true ]) @endforeach @else @include('admin.quick-pricing-calculator.form.foods' , [ 'onlyTotal'=>true , 'removeRepeater'=>true ]) @endif
@if(isset($model) && $model->foods->count() ) @foreach($model->foods as $food) @include('admin.quick-pricing-calculator.form.foods' , [ 'food'=>$food ]) @endforeach @else @include('admin.quick-pricing-calculator.form.foods' , [ ]) @endif
{{ __('Add') }}
{{-- Casino Section --}}

{{ __('Gaming Revenue Stream') }}

hasCasinoSection()) checked @elseif(!isset($model)) checked @endif >
{{ __('Show/Hide') }}

{{--
--}} {{--
--}}
@if(isset($model) && $model->casinos->count() && $model->casinos->first()->casino_type_id == 0 ) @foreach($model->casinos as $casino) @include('admin.quick-pricing-calculator.form.casino' , [ 'casino'=>$casino , 'onlyTotal'=>true , 'removeRepeater'=>true ]) @endforeach @else @include('admin.quick-pricing-calculator.form.casino' , [ 'onlyTotal'=>true , 'removeRepeater'=>true ]) @endif
@if(isset($model) && $model->casinos->count() ) @foreach($model->casinos as $casino) @include('admin.quick-pricing-calculator.form.casino' , [ // 'positions'=>[] , 'casino'=>$casino ]) @endforeach @else @include('admin.quick-pricing-calculator.form.casino' , [ // 'positions'=>[] ]) @endif
{{ __('Add') }}
{{-- Meeting Space Section --}}

{{ __('Gathering & Meeting Space Revenue Stream') }}

hasMeetingSection()) checked @elseif(!isset($model)) checked @endif >
{{ __('Show/Hide') }}

{{--
--}} {{--
--}}
@if(isset($model) && $model->meetings->count() && $model->meetings->first()->meeting_type_id == 0 ) @foreach($model->meetings as $meeting) @include('admin.quick-pricing-calculator.form.meeting' , [ 'meeting'=>$meeting , 'onlyTotal'=>true , 'removeRepeater'=>true ]) @endforeach @else @include('admin.quick-pricing-calculator.form.meeting' , [ 'onlyTotal'=>true , 'removeRepeater'=>true ]) @endif
@if(isset($model) && $model->meetings->count() ) @foreach($model->meetings as $meeting) @include('admin.quick-pricing-calculator.form.meeting' , [ // 'positions'=>[] , 'meeting'=>$meeting ]) @endforeach @else @include('admin.quick-pricing-calculator.form.meeting' , [ // 'positions'=>[] ]) @endif
{{ __('Add') }}
{{-- Other Facilities Section --}}

{{ __('Other Facilities Revenue Stream') }}

hasOtherSection()) checked @elseif(!isset($model)) checked @endif >
{{ __('Show/Hide') }}

@if(isset($model) && $model->others->count() && $model->others->first()->other_type_id == 0 ) @foreach($model->others as $other) @include('admin.quick-pricing-calculator.form.other' , [ 'other'=>$other , 'onlyTotal'=>true , 'removeRepeater'=>true ]) @endforeach @else @include('admin.quick-pricing-calculator.form.other' , [ 'onlyTotal'=>true , 'removeRepeater'=>true ]) @endif
@if(isset($model) && $model->others->count() ) @foreach($model->others as $other) @include('admin.quick-pricing-calculator.form.other' , [ // 'positions'=>[] , 'other'=>$other ]) @endforeach @else @include('admin.quick-pricing-calculator.form.other' , [ // 'positions'=>[] ]) @endif
{{ __('Add') }}

{{ __('Do you want to add Reservation Channels to your PLan ?') }}

hasSalesChannels()) checked @elseif(!isset($model)) @endif >
{{ __('Show/Hide') }}

@if(isset($model) && $model->salesChannels->count() ) @foreach($model->salesChannels as $index=>$salesChannel) @include('admin.quick-pricing-calculator.form.sales-channels' , [ // 'positions'=>[] , 'salesChannel'=>$salesChannel, 'index'=>$index ]) @endforeach @else @include('admin.quick-pricing-calculator.form.sales-channels' , [ 'index'=>0 ]) @endif
{{ __('Add') }}
{{--
--}}
@endsection @section('js') @endsection