@can('create crm features') @endcan
@foreach($stages as $stage)

{{ $stage['name'] }} ({{ count($stage['records']) }})

@foreach($stage['records'] as $record)
{{ $record['title'] }}
@canany(['view crm features', 'edit crm features', 'delete crm features']) @can('view crm features') @endcan @can('edit crm features') @endcan @can('delete crm features') @endcan @endcanany
{{ $record['votes_count'] }}
{{ $record['comments_count'] }}
@endforeach
@endforeach
@includeWhen($sortable, 'laravel-crm::livewire.kanban-board.sortable', [ 'sortable' => $sortable, 'sortableBetweenStages' => $sortableBetweenStages, ])