@php use App\Support\Money; $hours = $getState()['hours'] ?? []; $totalHours = array_sum(array_column($hours, 'hours')); $totalCost = array_sum(array_column($hours, 'rh_cost')); @endphp
@forelse ($hours as $row) @empty @endforelse @if (count($hours) > 0) @endif
Collaborateur Heures approuvées Coût RH alloué
{{ $row['name'] }} {{ number_format($row['hours'], 2, ',', ' ') }} h {{ Money::format($row['rh_cost']) }}
Aucune heure approuvée sur ce marché.
Total {{ number_format($totalHours, 2, ',', ' ') }} h {{ Money::format($totalCost) }}