@extends('layouts.dashboard') @section('css') @endsection @section('sub-header') {{ __('Management Fees Input Sheet') }} @endsection @section('content')
@csrf @php $modelName = lastSegmentInRequest() ; @endphp {{-- start of Percenatge % From Rooms Revenues --}} @php $currentSectionName = BASE_MANAGEMENT_FEES_AS_PERCENTAGE_FROM_REVENUES; @endphp

{{ __('Base Management Fees As % From Revenues') }}

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

@foreach($yearsWithItsMonths = getMaxNumberOfArray($yearsWithItsMonths) as $year=>$monthsForThisYearArray) @endforeach @php $currentTotal = []; @endphp @php @endphp @foreach($yearsWithItsMonths as $year=>$monthsForThisYearArray) @endforeach @for($instance=0 ; $instance<1 ; $instance++) @php $managementFee=$model->getManagementFeeForSection($modelName,$currentSectionName , $instance); @endphp @php $order = 1 ; @endphp @foreach($yearsWithItsMonths as $year=>$monthsForThisYearArray) @php $order = $order +1 ; @endphp @endforeach @endfor {{-- @include('admin.total-for-variable-expenses-as-percentage') --}}
{{ __('Expense Item Name') }} {{ __('Yr-') }}{{$yearIndexWithYear[$year]}}
{{ __('Total Revenues') }} @php @endphp
%
@php $currentVal = $managementFee ? $managementFee->getPayloadAtYear($year) : 0; $currentTotal[$year]=isset($currentTotal[$year]) ? $currentTotal[$year] + $currentVal : $currentVal; @endphp
%
{{-- end of Percenatge % From Rooms Revenues --}} {{-- start of Incentive Management Fees --}} @php $currentSectionName = INCENTIVE_MANAGEMENT_FEES_AS_PERCENTAGE_FROM_REVENUES; @endphp

{{ __('Incentive Management Fees As % From EBITDA') }}

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

@foreach($yearsWithItsMonths = getMaxNumberOfArray($yearsWithItsMonths) as $year=>$monthsForThisYearArray) @endforeach @php $currentTotal = []; @endphp @php @endphp @foreach($yearsWithItsMonths as $year=>$monthsForThisYearArray) @endforeach @for($instance=0 ; $instance<1 ; $instance++) @php $managementFee=$model->getManagementFeeForSection($modelName,$currentSectionName , $instance); @endphp @php $order = 1 ; @endphp @foreach($yearsWithItsMonths as $year=>$monthsForThisYearArray) @php $order = $order +1 ; @endphp @endforeach @endfor {{-- @include('admin.total-for-variable-expenses-as-percentage') --}}
{{ __('Expense Item Name') }} {{ __('Yr-') }}{{$yearIndexWithYear[$year]}}
@php $currentVal = $managementFee ? $managementFee->getPayloadAtYear($year) : 0; $currentTotal[$year]=isset($currentTotal[$year]) ? $currentTotal[$year] + $currentVal : $currentVal; @endphp
%
{{-- end of INCENTIVE_MANAGEMENT_FEES_AS_PERCENTAGE_FROM_REVENUES --}}
@endsection @section('js') @endsection