{{-- Commitment integrity strip: milestones whose due date was pushed out of the period, and milestones added mid-period. Kept compact — it's an honesty note, not a section. Expects: $slippage: array{pushedOut: object[], addedMidPeriod: object[]} $showProjects: bool --}} @php $showProjects = $showProjects ?? false; @endphp @if (!empty($slippage['pushedOut']) || !empty($slippage['addedMidPeriod']))
{{ __('subtitles.changed_this_period') }} @foreach ($slippage['pushedOut'] as $milestone)
{{ $tpl->escape($milestone->headline) }} @if ($showProjects)({{ $tpl->escape($milestone->projectName) }})@endif {{ sprintf(__('text.slippage_moved_out'), $milestone->dueDateMoves, $milestone->dueDate?->formatDateForUser() ?? '—') }}
@endforeach @foreach ($slippage['addedMidPeriod'] as $milestone)
{{ $tpl->escape($milestone->headline) }} @if ($showProjects)({{ $tpl->escape($milestone->projectName) }})@endif {{ __('text.slippage_added_mid_period') }}
@endforeach
@endif