@extends('layouts.dashboard') @section('css') @endsection @section('sub-header') {{ __('Start Up Expenses Projection Input Sheet') }} @endsection @section('content') @php $studyEndDate = $model->getOperationStartDateFormatted(); $studyEndDate = \Carbon\Carbon::make($studyEndDate)->format('m/d/Y') @endphp
@csrf {{-- --}} @php $modelName = lastSegmentInRequest() ; @endphp {{-- start of Disposable Expenses --}} @php $currentSectionName = start_up_cost; @endphp

{{ __('Start-up Cost') }}

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

@php $currentTotal = []; @endphp @for($instance = 0 ; $instance<3 ; $instance++) @php $directExpense=$model->getDirectExpenseForSection($modelName,$currentSectionName , $instance); $dueDays = $directExpense ? $directExpense->getDueDays() : 0 @endphp {{-- Choose Currency Td --}} @endfor
{{ __('Expense Item Name') }} {!! __('Currency') !!} {!! __('Cost Amount') !!} {!! __('Date') !!} {!! __('Cash Payment %') !!} {!! __('Deferred Payment %') !!} {{ __('Due Days') }}
{{-- {{ __('Date') }} @include('star') --}}
{{-- end of Disposable Expenses--}} {{-- start of Pre operating Expense --}} @php $currentSectionName = pre_operating_expense; @endphp

{{ __('Pre-operating Expense') }}

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

@foreach($studyStartDateToOperationStartDate = $hospitalitySector->studyStartDateToOperationStartDates() as $dateString=>$date) @endforeach @php $currentTotal = []; @endphp @for($instance=0 ; $instance<3 ; $instance++) @php $directExpense=$model->getDirectExpenseForSection($modelName,$currentSectionName , $instance); @endphp {{-- Choose Currency Td --}} @php $order = 1 ; @endphp @foreach($studyStartDateToOperationStartDate as $date) @php $order = $order +1 ; @endphp @endforeach @endfor
{{ __('Expense Name') }} {{ __('Currency') }} {{ formatDateForView($dateString) }}
@php $currentVal = $directExpense ? $directExpense->getManpowerPayloadAtDate($date) : 0; $currentTotal[$date]=isset($currentTotal[$date]) ? $currentTotal[$date] + $currentVal : $currentVal; @endphp
{{-- # --}}
{{-- end of Disposable Expenses--}}
@endsection @section('js') @endsection