@if (user()->permission('task_labels') == 'all')
@endif
@if($viewMilestonePermission =='all' || $viewMilestonePermission =='owned' || $viewMilestonePermission =='added' && user()->id == $project->client_id)
@foreach ($milestones as $item)
@endforeach
@endif
@if (user()->permission('change_status') == 'all')
@foreach ($taskboardColumns as $item)
@endforeach
@endif
@endif
@if ($addTaskFilePermission == 'all' || $addTaskFilePermission == 'added')
@endif
@if (isset($fields) && count($fields) > 0)
@foreach ($fields as $field)
@if ($field->type == 'text')
@elseif($field->type == 'password')
@elseif($field->type == 'number')
@elseif($field->type == 'textarea')
@elseif($field->type == 'radio')
@elseif($field->type == 'select')
{!! Form::select('custom_fields_data[' . $field->name . '_' . $field->id . ']', $field->values, isset($editUser) ? $editUser->custom_fields_data['field_' . $field->id] : '', ['class' => 'form-control select-picker']) !!}
@elseif($field->type == 'date')
@elseif($field->type == 'checkbox')
@endif
@endforeach
@endif