@if( $field->type == 'text')
{{$project->custom_fields_data['field_'.$field->id] ?? '-'}}
@elseif($field->type == 'password')
{{$project->custom_fields_data['field_'.$field->id] ?? '-'}}
@elseif($field->type == 'number')
{{$project->custom_fields_data['field_'.$field->id] ?? '-'}}
@elseif($field->type == 'textarea')
{{$project->custom_fields_data['field_'.$field->id] ?? '-'}}
@elseif($field->type == 'radio')
{{ !is_null($project->custom_fields_data['field_'.$field->id]) ? $project->custom_fields_data['field_'.$field->id] : '-' }}
@elseif($field->type == 'select')
{{ (!is_null($project->custom_fields_data['field_'.$field->id]) && $project->custom_fields_data['field_'.$field->id] != '') ? $field->values[$project->custom_fields_data['field_'.$field->id]] : '-' }}
@elseif($field->type == 'checkbox')
@foreach($field->values as $key => $value)
@if($project->custom_fields_data['field_'.$field->id] != '' && in_array($value ,explode(', ', $project->custom_fields_data['field_'.$field->id]))) - {{$value}}
@endif
@endforeach
@elseif($field->type == 'date')
{{ !is_null($project->custom_fields_data['field_'.$field->id]) ? \Carbon\Carbon::parse($project->custom_fields_data['field_'.$field->id])->format($global->date_format) : '--'}}
@endif