@php $pipelineColors = array_keys(getColorList()); @endphp @if($pipelines->count() > 0) @foreach($pipelines as $pipeline) @php $color = "primary"; if(in_array($pipeline->color, $pipelineColors)) { $color = $pipeline->color; } @endphp @endforeach
Note: If any contacts are already assigned to a pipeline, they will be removed from that contact.
@else

No pipelines are added.

Manage Pipelines
@endif
@if($pipelines->count() > 0) @endif