@php $hasStages = false; @endphp
@foreach($pipelines as $pipeline)
@foreach($pipeline->stages as $stage)
@php $hasStages = true; @endphp
@endforeach
@endforeach
@if(!$hasStages)
@trans('crm.Pipeline Stages Not Configured')
@trans('crm.To use the Kanban board, you need to define stages for your sales pipeline first.')
@trans('crm.Go to Settings & Add Stages')