@extends('layouts.app') @section('form-title') {{ __('New project') }} @endsection @section('breadcrumb') @endsection @section('content') {{-- @if ($errors->any())
@endif --}}
{{ __('Project') }}
@csrf
@if(allowedToAddUpdateProjOrg()) {!! clients('client', old('client')) !!} @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')) !!} @if($errors->has('status'))

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

@endif
@if(allowedToAddUpdateProjOrg())
@if($errors->has('project_owner'))

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

@endif
@else {!! projectOwner('project_owner', getAuthUser()->organisation->id, old('project_owner')); !!} @endif
{!! projectInvoiceTypes('invoice_to', old('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')) !!} @if($errors->has('upholstery'))

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

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

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

@endif
@endif
{{ __('New client') }}
@if(canViewUpdate('organisations-add')) @endif
@endsection @push('child-scripts') @include('driver-time-blocks.script') @endpush