@extends('layouts.main') @section('content') @include('partials.breadcrumb', ['breadcrumbTitle' => 'Forecasting Tool']) @include('reports.new-hire.partials.forecasting-submenu')
@include('reports.new-hire.filters.forecasting-tool-filter') @if ($forecastingData)
@include('partials.success') @if($startMonth!='' || $endMonth!='')

New Hires Forecasting @if($startMonth!='') - {{ $startMonth }} @endif @if($endMonth!='') - {{ $endMonth }} @endif

@endif
@foreach ($forecastingData as $department =>$forecastingDataRow) @php $total_cost = array_sum(array_column($forecastingDataRow,'cost_cal')); @endphp @endforeach
Department Total Cost New Hires
{{$department}} ${{$total_cost}} {{ $forecastingDataRow[0]['quantity_needed'] }}
@forelse ($forecastingDataRow as $forecastingEach) @empty @endforelse
Hardware Standard Technical Specs Average Value Quantity Needed Total Cost Quantity Reserved for New Hires Quantity Available Purchase Indicator
{{ $forecastingEach['hardware_standard'] }} {{ $forecastingEach['tech_spec'] }} {{ $forecastingEach['avg_value'] }} {{ $forecastingEach['quantity_needed'] }} {{ $forecastingEach['cost'] }} {{ $forecastingEach['quantity_reserved'] }} {{ $forecastingEach['quantity_available'] }} {{ $forecastingEach['purchase_indicator'] }}
No details available in the system.
@endif
@stop @section('help-links') @include('help.help-links',['helpLink'=>config('help-links.help_links.new_hire_forecasting'),'helpTitle'=>config('help-links.help_titles.new_hire_forecasting')]) @endsection @section('after_scripts') @include('reports.new-hire.scripts.forecasting-tool-script') @stop