{{ __('objectives.limit_notice', ['count' => $activeCount, 'max' => $limit]) }}
@endif @forelse ($rows['objectives'] ?? [] as $id => $row) @php $c = $computed[$id]; $ro = ! $editable->contains($id); $statusVariant = match ($c->status) { \App\Enums\ObjectiveStatus::Achieved, \App\Enums\ObjectiveStatus::OnTrack => 'ok', \App\Enums\ObjectiveStatus::Watch => 'warn', \App\Enums\ObjectiveStatus::Late => 'bad', default => 'neutral', }; @endphp{{ __('objectives.objective_n', ['n' => $loop->iteration]) }}
{{ trim((string) ($row['title'] ?? '')) !== '' ? $row['title'] : __('objectives.untitled') }}
{{ __('objectives.current_value') }} : {{ $c->current === null ? __('objectives.no_measure') : rtrim(rtrim(number_format((float) $c->current, 2, ',', ' '), '0'), ',') }}
{{ __('objectives.progress') }} : {{ $c->progress === null ? '-' : round($c->progress * 100).' %' }}
{{ __('objectives.expected') }} : {{ $c->expected === null ? '-' : round($c->expected * 100).' %' }}
{{ $message }}
@enderror{{ __('objectives.current_hint') }}
@endunless @if ($c->history->isNotEmpty()){{ __('objectives.history') }}
{{ __('objectives.empty') }}