@php $addProjectCategoryPermission = user()->permission('manage_project_category'); $addDepartmentPermission = user()->permission('add_department'); $addEmployeePermission = user()->permission('add_employees'); $addProjectFilePermission = user()->permission('add_project_files'); $addPublicProjectPermission = user()->permission('create_public_project'); $addProjectMemberPermission = user()->permission('add_project_members'); $addProjectNotePermission = user()->permission('add_project_note'); @endphp

@lang('app.project') @lang('app.details')

@if ($addProjectCategoryPermission == 'all' || $addProjectCategoryPermission == 'added') @endif
@if ($addDepartmentPermission == 'all' || $addDepartmentPermission == 'added') @endif
@if (isset($client) && !is_null($client)) @else @endif
@if ($addProjectNotePermission == 'all' || $addProjectNotePermission == 'added')
{!! $projectTemplate->project_summary ?? '' !!}
@else
{!! $projectTemplate->project_summary ?? '' !!}
@endif @if ($addProjectNotePermission == 'all' || $addProjectNotePermission == 'added')
{!! $projectTemplate->notes ?? '' !!}
@endif @if ($addPublicProjectPermission == 'all')
@endif @if ($addProjectMemberPermission == 'all' || $addProjectMemberPermission == 'added')
@if ($addEmployeePermission == 'all' || $addEmployeePermission == 'added') @endif
@elseif(in_array('employee', user_roles())) @endif

@lang('modules.client.clientOtherDetails')

@if ($addProjectFilePermission == 'all' || $addProjectFilePermission == 'added')
@endif
@foreach ($currencies as $currency) @endforeach
@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($editUser) ? $editUser->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')