Select Subscription Plan

@foreach ($projectTypes as $project_type)

{{ $project_type->name ?? '' }}

    @php $plans_col = $plans->where('project_type_id', $project_type->id); @endphp @if ( $plans_col->isNotEmpty() ) @foreach ($plans_col as $key => $plan) @php $is_active = in_array($plan->id, ($plan_ids ?? []) ); @endphp @if (!isset($plan_ids) || $is_active)
  • @endif @endforeach @else
  • No plan found for {{$project_type->name ?? ''}}!
  • @endif
@endforeach