@foreach($employeeCosts->values()->chunk(14) as $employeeCostsPage)
@foreach($employeeCostsPage as $employeeCost) @endforeach
Dipendente Ruolo Stima tempo progetto (%) Stima ore dedicate al progetto CLO Costo allocato ai progetti
{{ $employeeCost->name }} @if($employeeCost->role) {{ $employeeCost->role->label() }} @else — @endif {{ \Illuminate\Support\Number::percentage($employeeCost->project_percent * 100) }} {{ \Illuminate\Support\Number::format($employeeCost->project_hours, 2, null, 'it') }} {{ \Illuminate\Support\Number::currency($employeeCost->clo, 'EUR', 'it') }} {{ \Illuminate\Support\Number::currency(isset($project) ? $employeeCost->allocatedCostValueForProject($project) : $employeeCost->allocatedCostValue(), 'EUR', 'it') }}
@if($loop->last)
Totale costo personale dipendente allocato
{{ \Illuminate\Support\Number::currency($allocatedTotal, 'EUR', 'it') }}
@endif
@endforeach