@foreach($data as $swimlane_id => $swimlane_cols) @foreach($swimlanes as $swimlane) @if ($swimlane['id'] == $swimlane_id && count($data) > 1)
{{ $swimlane['name'] }}
@endif @endforeach
@foreach($columns as $column)
@php $total_count = $swimlane_cols[$column['id']]['total_count'] ?? 0; @endphp
{{ $column['name'] }} @if ($total_count)(@if (!empty($column['limit']) && $total_count > $column['limit'])@endif{{ $total_count }}@if (!empty($column['limit']) && $total_count > $column['limit'])@endif{{ '' }}@if (!empty($column['limit']))/{{ $column['limit'] }}@endif)@endif
@if ($mailbox_id) @if ($mailbox_id != \Kanban::ALL_MAILBOXES) + {{ __('Add Conversation') }} @endif @else + {{ __('Add Card') }} @endif
@endforeach
@foreach($swimlane_cols as $column_id => $swimlane_col)
@include('kanban::partials/cards', ['cards' => $swimlane_col['cards'] ?? []]) {{-- Show closed --}} @if (!empty($swimlane_col['closed']))
{{ __('Show Closed') }} ({{ $swimlane_col['closed'] }})
@endif
@endforeach
@endforeach