@if (in_array('client', user_roles()))
{{-- raing id here --}} rating)) value="{{ $project->rating->id }}" @endif>
@lang('app.save')
@endif
@if (!is_null($project->rating)) @if ( $viewRatingPermission == 'all' || ($viewRatingPermission == 'added' && $project->rating->added_by == user()->id) || ($viewRatingPermission == 'owned' && $project->client_id == user()->id) || ($viewRatingPermission == 'both' && ($project->client_id == user()->id || $project->rating->added_by == user()->id)) )

{{ nl2br($project->rating->comment) }}

{{ $project->client->name }}
@else @endif @else @endif
@if (in_array('client', user_roles())) @endif