{{ __('expert.plan_of', ['pseudo' => $owner->pseudo]) }}

{{ $owner->public_id }}

{{ __('expert.readonly') }} @if (! $cycle)

{{ __('expert.no_plan') }}

@else

{{ __('expert.cycle', ['from' => App\Support\Dates::format($cycle->starts_on), 'to' => App\Support\Dates::format($cycle->ends_on)]) }}

@if ($vision)

{{ $vision }}

@endif

{{ __('expert.objectives') }}

@forelse ($data['objective_rows'] as $row) @php $o = $row['objective']; @endphp @if (trim($o->title) !== '')

{{ $o->title }}

{{ $row['status']->label() }}

{{ $row['progress'] === null ? __('expert.unmeasured') : __('expert.progress', ['value' => (int) round($row['progress'] * 100)]) }}@if ($o->due_on) - {{ __('expert.due', ['date' => App\Support\Dates::format($o->due_on)]) }}@endif @if ($o->priority) - {{ $o->priority->label() }}@endif

{{ __('expert.actions_count', ['done' => $actions->where('objective_id', $o->id)->where('status', App\Enums\ActionStatus::Done)->count(), 'total' => $actions->where('objective_id', $o->id)->count()]) }}

@endif @empty

{{ __('expert.none_yet') }}

@endforelse

{{ __('expert.indicators') }}

{{ __('expert.actions_rate', ['done' => $data['actions']['done'], 'total' => $data['actions']['total'], 'late' => $data['actions']['late']]) }}

{{ __('expert.finance', ['planned' => App\Support\Money::format($data['finance']['outputs_planned']), 'actual' => App\Support\Money::format($data['finance']['outputs_actual']), 'savings' => App\Support\Money::format($data['finance']['savings']), 'balance' => App\Support\Money::format($data['finance']['balance'])]) }}

@if ($milestones->isNotEmpty())

{{ __('expert.milestones') }}

    @foreach ($milestones as $m)
  • {{ App\Support\Dates::format($m->due_on) }} - {{ $m->title }}
  • @endforeach
@endif @if ($risks->isNotEmpty())

{{ __('expert.risks') }}

    @foreach ($risks as $r)
  • {{ $r->title }}@if (trim((string) $r->fallback_plan) !== '') - {{ __('expert.plan_b') }} : {{ $r->fallback_plan }}@endif
  • @endforeach
@endif @endif