@php $addProjectCategoryPermission = user()->permission('manage_project_category'); $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'); $createPublicProjectPermission = user()->permission('create_public_project'); @endphp

@lang('modules.projects.projectInfo')

@if ($addProjectCategoryPermission == 'all' || $addProjectCategoryPermission == 'added') @endif
@if (!in_array('client', user_roles()))
@endif
@if ($addClientPermission == 'all' || $addClientPermission == 'added') @endif
{!! $project->project_summary !!}
@if ($project->public == 1 && $createPublicProjectPermission == 'all')
@endif @if ($project->public == 0 && $createPublicProjectPermission == 'all')
@endif @if ($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
@foreach ($projectStatus as $status) @endforeach

@lang('modules.client.clientOtherDetails')

@foreach ($currencies as $currency) @endforeach
@if ($editPermission == 'all')
@foreach ($employees as $item) @endforeach
@endif
@lang('app.save') @lang('app.cancel')