{{ __('Tasks') }} / {{ $project->title }} / {{ $project->client->name }}
@if(getAuthUser()->can('add tasks of own organization'))
{{ __('new task') }}
@endif
@if(getAuthUser()->can('add article tasks of own organization'))
{{ __('New article task') }}
@endif
{{-- start Left section --}}
{{-- End left section --}}
{{-- start right section --}}
{{-- End right section --}}
{{-- Project start --}}
@if(!empty($project->project_owner))
@endif
@if((canViewUpdate('add driver') || canViewUpdate('edit driver')) && $modules__->drivers === 'yes')
@endif
{{-- Note start --}}
@if(canViewUpdate('view notes'))
@if(canViewUpdate('edit notes'))
@endif
@endif
{{-- Attachments start --}}
{{-- Restricted access --}}
{{-- Complaint and solution section start --}}
@if($modules__->report === 'yes')
@include('projects.report.complaint')
@endif
{{ __('Project') }}
@if($project->client)
{{ $project->client->name }}
@endif
{{ $project->title }}
{!! $project->description !!}
{{ $project->entered_by }}
{{ $project->projectStatus->translated_title }}
@if(!empty($project->invoiceToType))
{{ __($project->invoiceToType->title) }}
@endif
@if(!empty($project->driver))
@endif
{{ $project->projectDriver->color }}
@if(!empty($project->timeBlock) && !empty($project->timeBlock->timeBlock))
{{ $project->timeBlock->timeBlock->start_time }}-{{ $project->timeBlock->timeBlock->end_time }}
@endif
@if(!empty($project->timeBlock))
{{ $project->timeBlock->visit_time }}
@endif
{{ $project->client->id }}-{{ $project->id }}
{{ $project->deadline }}
{{ $project->ref_store }}
{{ $project->ref_factory }}
{{ $project->upholstery_display}}
{{ $project->created_at }}
{{ __('Notes') }}
{!! $project->note !!}
{{ __('Attachments') }}
{{ __('Restricted access') }}
{{ __('restricted access description') }}
{{-- Article Start --}}
@if(getAuthUser()->can('view article tasks of own organization'))
@foreach($project->articles as $article)
@include('articles.article', ['task' => $article])
@endforeach
@endif
{{-- Article End --}}
{{-- End user start --}}
@if(canViewUpdate('view end user') && modubleEnabled('end_user'))
@endif
{{-- End user location start --}}
@if(!empty($project->endUser) && !empty($project->endUser->latitude))
@endif
{{-- Report section start --}}
@if(!empty($project->complaint) && $modules__->report === 'yes' && canViewUpdate('view reports'))
@include('projects.report.report')
@endif
{{-- Start book time --}}
@if(canViewUpdate('view book time section') && $modules__->time_mgt === 'yes')
@include('projects.bookings.bookings')
@endif
{{-- End book time --}}
{{-- Start project report section --}}
@if(canViewUpdate('view project report section') && $modules__->time_mgt === 'yes')
@include('projects.bookings.project-report')
@endif
{{-- End project report section --}}
{{ __('End User') }}
@if(!empty($project->endUser))
@if(!empty($project->endUser->organisation))
@endif
@endif
{{ $project->endUser->name }}
{{ $project->endUser->organisation->name }}
@if(allowedToUpdateUser($project->endUser))
@endif
@if(canViewUpdate('delete end user'))
@endif
@elseif(canViewUpdate('add end user'))
{{ __('Location End User') }} - {{ $project->endUser->name }}
@if(!empty($project->endUser->latitude) && !empty($project->endUser->longitude))
{{ __('Google Maps') }}
@else
{{ __('No map data available. Please update end user map location') }}
@endif