@php $addProjectCategoryPermission = user()->permission('manage_project_category'); $addDepartmentPermission = user()->permission('add_department'); $addClientPermission = user()->permission('add_clients'); $editProjectMemberPermission = user()->permission('edit_project_members'); $addEmployeePermission = user()->permission('add_employees'); $addProjectMemberPermission = user()->permission('add_project_members'); $addProjectMemberPermission = user()->permission('add_project_members'); @endphp

@lang('modules.projects.projectInfo')

@if ($addProjectCategoryPermission == 'all' || $addProjectCategoryPermission == 'added') @endif
@if ($addDepartmentPermission == 'all' || $addDepartmentPermission == 'added') @endif
@if ($addClientPermission == 'all' || $addClientPermission == 'added') @endif
{!! $project->project_summary !!}
{{--
{!! $project->notes !!}
--}} @if ($project->public == 1)
@endif @if ($project->public == 0)
@endif @if ($project->public == 0 && $editProjectMembersPermission == 'all' || $editPermission == 'all')
@if ($addEmployeePermission == 'all' || $addEmployeePermission == 'added') @endif
@endif @if ($project->public == 1 && $editProjectMembersPermission || $editPermission == 'all')
@if ($addEmployeePermission == 'all' || $addEmployeePermission == 'added') @endif
@elseif(in_array('employee', user_roles())) @endif

@lang('modules.client.clientOtherDetails')

@foreach ($currencies as $currency) @endforeach
@if ($editPermission == 'all')
@foreach ($employees as $item) @endforeach
@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')
@foreach ($field->values as $key => $value) @endforeach
@elseif($field->type == 'select')
{!! Form::select('custom_fields_data[' . $field->name . '_' . $field->id . ']', $field->values, isset($project) ? $project->custom_fields_data['field_' . $field->id] : '', ['class' => 'form-control select-picker']) !!}
@elseif($field->type == 'date') @elseif($field->type == 'checkbox')
@foreach ($field->values as $key => $value) @endforeach
@endif
@endforeach
@endif @lang('app.save') @lang('app.cancel')