@extends('layouts.app') @section('form-title') {{ __('Project') }} - {{ $project->title }} @endsection @section('form-sub-title') {{ $project->client->name }} @endsection @section('breadcrumb') @endsection @section('content') @include('partials.modals.project_note') @include('partials.modals.add_end_user')
{{ __('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 --}}
{{-- Project start --}}
{{ __('Project') }}
@if($project->client) {{ $project->client->name }} @endif
{{ $project->title }}
{!! $project->description !!}
{{ $project->entered_by }}
{{ $project->projectStatus->translated_title }}
@if(!empty($project->project_owner))
@endif
@if(!empty($project->invoiceToType)) {{ __($project->invoiceToType->title) }} @endif
@if((canViewUpdate('add driver') || canViewUpdate('edit driver')) && $modules__->drivers === 'yes')
@if(!empty($project->driver))
{{ $project->projectDriver->color }}
@endif
@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
@endif
{{ $project->client->id }}-{{ $project->id }}
{{ $project->deadline }}
{{ $project->ref_store }}
{{ $project->ref_factory }}
{{ $project->upholstery_display}}
{{ $project->created_at }}
{{-- Note start --}} @if(canViewUpdate('view notes'))
{{ __('Notes') }}
{!! $project->note !!}
@if(canViewUpdate('edit notes'))
 
@endif
@endif {{-- Attachments start --}}
{{ __('Attachments') }}
{{-- Restricted access --}}
{{ __('Restricted access') }}
{{ __('restricted access description') }}
{{-- Complaint and solution section start --}} @if($modules__->report === 'yes') @include('projects.report.complaint') @endif
{{-- End left section --}} {{-- start right section --}}
{{-- 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'))
{{ __('End User') }}
@if(!empty($project->endUser))
{{ $project->endUser->name }}
@if(!empty($project->endUser->organisation))
{{ $project->endUser->organisation->name }}
@endif
{{ $project->endUser->zip_code }}
{{ $project->endUser->house_number }}
{{ $project->endUser->house_number_optional }}
{{ $project->endUser->street }}
{{ $project->endUser->city }}
{{ $project->endUser->gml }}
{{ $project->endUser->country->country_name }}
{{ $project->endUser->display_notification_type }}
{{ $project->endUser->job_title }}
{{ $project->endUser->display_status }}
{{ $project->endUser->displayRole() }}
{{ $project->endUser->display_language }}
user profile image
@if(allowedToUpdateUser($project->endUser)) @endif @if(canViewUpdate('delete end user'))
@csrf @method('PUT')
@endif
@elseif(canViewUpdate('add end user'))
@endif
@endif {{-- End user location start --}} @if(!empty($project->endUser) && !empty($project->endUser->latitude))
{{ __('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
@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 right section --}}
@endsection @push('child-scripts') @if(!empty($project->endUser) && !empty($project->endUser->latitude)) @endif @if(!empty($project->endUser)) @endif @if((canViewUpdate('view project report section') || canViewUpdate('view project report section')) && $modules__->time_mgt === 'yes') @endif @endpush