@if(!empty($task->client) && !empty($task->project))
@endif
@include('tasks.messages', ['task' => $task])
@include('tasks.message_buttons', ['reply' => $reply, 'parent_message_id' => $parent_message_id])
@if($task->type === 'article')
@include('articles.article')
@endif
@if(!empty($task->project->projectOwner))
@endif
@if (canViewUpdate('tasks-edit'))
@endif
@if(!empty($task->project))
@if (canViewUpdate('note'))
@endif
@endif
@if(!empty($project) && !empty($project->endUser))
@endif
{{ __('Project & task information') }}
@if(!empty($task->client))
{{ $task->client->name }}
@endif
@if(!empty($task->project))
{{ $task->project->title }}
@endif
@if(!empty($project))
{{ $project->projectStatus->translated_title }}
@endif
@if(!empty($task->project))
{{ $task->project->projectOwner->name }}
@endif
@if(!empty($task->client) && !empty($task->project))
{{ $task->client->id }}-{{ $task->project->id }}
@endif
@if(!empty($task->project))
{{ $task->project->deadline }}
@endif
@if(!empty($task->project))
{{ $task->project->created_at }}
@endif
@if(!empty($task->taskOwner))
{{ $task->taskOwner->name }}
@endif
{{ $task->display_status }}
@if(!empty($task->client))
{{ $task->client->id }}-
@endif
@if(!empty($task->project))
{{ $task->project->id }}-
@endif
{{ $task->id }}
{{ $task->display_deadline }}
{{ $task->created_at }}
{{ __('Notes') }}
{!! $task->project->note !!}
{{ __('Active projects') }}
{{ __('End User') }}
@if(!empty($project->endUser))
@endif
@if(!empty($project->endUser->organisation))
@endif
{{ $project->endUser->name }}
{{ $project->endUser->organisation->name }}
@if(allowedToUpdate($project->endUser->id))
@endif
{{ __('End user / project location') }}
@if(!empty($project->endUser->latitude) && !empty($project->endUser->longitude))
{{ __('More info') }}
@else
{{ __('No map data available. Please update end user map location') }}
@endif