{{ __('onepage.title', ['year' => $cycle->yearLabel()]) }}

{{ __('onepage.period', ['from' => App\Support\Dates::format($cycle->starts_on), 'to' => App\Support\Dates::format($cycle->ends_on)]) }} - {{ auth()->user()->pseudo }} ({{ auth()->user()->public_id }})

{{ __('onepage.print') }}

{{ __('steps.one_page.instruction') }}

{{ __('onepage.vision') }}

{{ $vision ?: __('onepage.no_vision') }}

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

@forelse ($summary as $row)

{{ $loop->iteration }}. {{ $row->objective->title !== '' ? $row->objective->title : __('objectives.untitled') }}@if($row->objective->due_on) ({{ App\Support\Dates::format($row->objective->due_on) }})@endif

@empty

{{ __('onepage.no_objectives') }}

@endforelse

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

@foreach ($quarters as $q)

{{ __('onepage.quarter', ['n' => $q['n']]) }} : {{ $q['milestone'] ? $q['milestone']->title.' ('.App\Support\Dates::format($q['milestone']->due_on).')' : __('onepage.no_milestone') }}

@endforeach

{{ __('onepage.budget') }}

{{ App\Support\Money::format($budgetTotal) }}

{{ __('onepage.budget_note', ['projects' => App\Support\Money::format($projectsPlanned), 'fit' => $projectsPlanned === 0 ? __('onepage.budget_unset') : ($budgetTotal <= $projectsPlanned ? __('onepage.budget_fits') : __('onepage.budget_over'))]) }}

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

@forelse ($topRisks as $risk)

{{ $risk->title }}@if (trim((string) $risk->fallback_plan) !== '') - {{ __('onepage.plan_b') }} : {{ $risk->fallback_plan }}@endif

@empty

{{ __('onepage.risks_empty') }}

@endforelse

{{ __('onepage.routine') }}

@if ($routine?->bedtime_weekday && $routine?->wake_weekday)

{{ __('onepage.bedtime_wake', ['bed' => $routine->bedtime_weekday, 'wake' => $routine->wake_weekday]) }}

@endif @if ($focus)

{{ __('onepage.focus', ['text' => $focus]) }}

@endif @if (! ($routine?->bedtime_weekday) && ! $focus)

-

@endif

{{ __('onepage.review') }}

{{ $reviewAt ? App\Support\Dates::formatDateTime($reviewAt, $reviewAt->timezoneName).($reviewWith ? ' '.__('onepage.by', ['who' => $reviewWith]) : '') : __('onepage.no_review') }}

{{ __('onepage.first_action') }}

@if ($firstAction)

{{ $firstAction->title !== '' ? $firstAction->title : __('actions.untitled') }}

@if ($firstAction->starts_on ?? $firstAction->due_on)

{{ App\Support\Dates::format($firstAction->starts_on ?? $firstAction->due_on) }}

@endif @else

{{ __('onepage.no_action') }}

@endif

{{ __('onepage.table_title') }}

@foreach ($summary as $row)

{{ $loop->iteration }}. {{ $row->objective->title }}

@if ($row->action?->expected_result)

{{ __('onepage.col_result') }} : {{ $row->action->expected_result }}

@endif @if ($row->action?->title)

{{ __('onepage.col_action') }} : {{ $row->action->title }}

@endif @if ($row->action && ($row->action->starts_on ?? $row->action->due_on))

{{ __('onepage.col_date') }} : {{ App\Support\Dates::format($row->action->starts_on ?? $row->action->due_on) }}

@endif

{{ __('onepage.col_budget') }} : {{ App\Support\Money::format($row->objective->estimated_budget) }}

{{ __('onepage.col_risk') }} : {{ $riskByObjective[$row->objective->id]->title ?? '-' }}

@endforeach