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

{{ __('Variable Expenses 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<5 ; $instance++) @php $directExpense = $model->getDirectExpenseForSection($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 = $directExpense ? $directExpense->getPayloadAtYear($year) : 0; $currentTotal[$year]=isset($currentTotal[$year]) ? $currentTotal[$year] + $currentVal : $currentVal; @endphp
@include('admin.input-for-variable-expenses-as-percentage') %
{{-- end of Percenatge % From Rooms Revenues --}} @php $currentSectionName = fixed_monthly_expenses; @endphp {{-- start of Fixed Monthly Epenses --}}

{{ __('Fixed Monthly Epenses') }}

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

@php $currentTotal = []; @endphp {{-- @php @endphp @foreach($yearsWithItsMonths as $year=>$monthsForThisYearArray) @endforeach --}} @for($instance = 0 ; $instance<5 ; $instance++) @php $directExpense = $model->getDirectExpenseForSection($modelName,$currentSectionName , $instance); @endphp {{-- Choose Currency Td --}} {{-- Expense Per Night Sold --}} {{-- Estimation Date --}} {{-- Escalation Rate % --}} {{-- Night Expense At Operation Date --}} {{--Annual Escalation Rate % --}} @endfor
{{ __('Expense Item Name') }} {{ __('Choose Currency') }} {{ __('Repeating Monthly Epenses') }} {{ __('Estimation Date') }} {{ __('Escalation Rate %') }} {{ __('Expense At Operating Date') }} {{ __('Annual Escalation Rate') }} {{ __('Payment Terms') }}
{{ __('Total Guest Count') }} @php @endphp
%
{{-- --}}
{{-- --}}
{{-- --}} %
{{-- --}} {{-- % --}}
{{-- --}} %
{{-- end of Fixed Monthly Epenses --}} @include('admin.hospitality-sector.manpower-expense')
@endsection @section('js') @endsection