@foreach($boardColumns as $key=>$column)
{{ ucwords($column->column_name) }}
@foreach($column->tasks as $task)
{{ ucfirst($task->heading) }} @if ($task->is_private) @endif
@if (!is_null($task->project_id))
{{ ucfirst($task->project->project_name) }}
@endif @if (!is_null($task->label) && count($task->label) > 0)
@foreach($task->label as $key => $label) @endforeach
@endif
@foreach ($task->users as $item) user @endforeach
@if($task->due_date) @if($task->due_date->endOfDay()->isPast()) {{ $task->due_date->format($global->date_format) }} @elseif($task->due_date->setTimezone($global->timezone)->isToday()) @lang('app.today') @else {{ $task->due_date->format($global->date_format) }} @endif @else @endif {{ count($task->comments) }} @if(count($task->subtasks) > 0) {{ count($task->completedSubtasks) }} / {{ count($task->subtasks) }} @endif
@endforeach
@endforeach