{{-- Change Stage dialog. Shared by the board, the list and the record (ChangesStage). --}} @if ($stageOpp) {{ __('Move to :stage', ['stage' => \App\Models\Opportunity::STAGES[$stageTarget] ?? $stageTarget]) }} @endif @if ($stageOpp && $stageCheck)

{{ $stageOpp->title }} · {{ \App\Models\Opportunity::STAGES[$stageOpp->stage] ?? $stageOpp->stage }} {{ \App\Models\Opportunity::STAGES[$stageTarget] ?? $stageTarget }}

@if (! $stageCheck->allowed)

{{ __('Still needed before this move') }}

    @foreach ($stageCheck->missing as $field => $message)
  • {{ $message }}
  • @endforeach
@if (array_diff(array_keys($stageCheck->missing), ['next_action', 'next_action_due', 'reason', 'review_on']) !== [])

{{ __('Fill these in on the opportunity, then move it again.') }} {{ __('Edit the opportunity') }}

@endif
@endif
@if (in_array($stageTarget, \App\Models\Opportunity::OPEN_STAGES, true))
@endif @if ($stageTarget === 'lost')
@endif @if ($stageTarget === 'deferred')
@endif @if (in_array($stageTarget, ['lost', 'deferred'], true))
@endif @if ($stageReasonLabel)
@endif
@endif
{{ __('Cancel') }} {{ __('Move') }} {{ __('Moving…') }}