@if (user()->permission('task_labels') == 'all')
@endif
@if (in_array('projects', user_modules()))
@if($project)
@if(in_array($viewMilestonePermission,['all','owned','added']) || user()->id == $project->client_id)
@foreach ($milestones as $item)
@endforeach
@endif
@endif
@endif
@if (user()->permission('change_status') == 'all')
@foreach ($taskboardColumns as $item)
@php
if ($item->slug == 'completed' || $item->slug == 'incomplete') {
if ($item->slug == 'completed') {
$icon = "".__('app.' . $item->slug);
}
elseif($item->slug == 'incomplete'){
$icon = "".__('app.' . $item->slug);
}
}
else {
if ($item->slug == 'to_do') {
$icon = "".$item->column_name;
}
elseif($item->slug == 'doing'){
$icon = "".$item->column_name;
}
else {
$icon = "". $item->column_name;
}
}
@endphp
@endforeach
@endif