@extends('layouts.app') @section('form-title') {{ __('Project') }} - {{ $project->title }} @endsection @section('form-sub-title') {{ $project->client->name }} @endsection @section('breadcrumb') @endsection @section('content')
@csrf @method('put')
@if(allowedToAddUpdateProjOrg()) {!! clients('client', old('client', $project->client_id)) !!} @if($errors->has('client'))

{{ $errors->first('client') }}

@endif
@else {{ getAuthUser()->organisation->name }} @endif
@if($errors->has('title'))

{{ $errors->first('title') }}

@endif
{!! projectStatus('status', old('status', $project->status)) !!} @if($errors->has('status'))

{{ $errors->first('status') }}

@endif
{!! projectOwner('project_owner', $project->client_id, old('project_owner', $project->project_owner)) !!}
@if($errors->has('project_owner'))

{{ $errors->first('project_owner') }}

@endif
{!! projectInvoiceTypes('invoice_to', old('invoice_to', $project->invoice_to)) !!} @if($errors->has('invoice_to'))

{{ $errors->first('invoice_to') }}

@endif
@if($errors->has('deadline'))

{{ $errors->first('deadline') }}

@endif
@if($errors->has('ref_store'))

{{ $errors->first('ref_store') }}

@endif
@if($errors->has('ref_factory'))

{{ $errors->first('ref_factory') }}

@endif
{!! upholsterys($errors, old('upholstery', $project->upholstery)) !!} @if($errors->has('upholstery'))

{{ $errors->first('upholstery') }}

@endif
@if(canViewUpdate('edit driver') && $modules__->drivers === 'yes')
{!! drivers('driver', old('driver', $project->driver)) !!} @if($errors->has('driver'))

{{ $errors->first('driver') }}

@endif
@endif
@if(canViewUpdate('send report') && $modules__->appointment_confirmation === 'yes') @endif
@endsection @push('child-scripts') @include('driver-time-blocks.script') @endpush