@extends('layouts.app') @section('link') @endsection @section('content')

{{ $doc_type->title }}

{{ csrf_field() }} @if(isset($doc_ids)) @else @endif
@if ($errors->has('documentable_type')) {{ $errors->first('documentable_type') }} @endif
@if ($errors->has('client')) {{ $errors->first('client') }} @endif
@if ($errors->has('object')) {{ $errors->first('object') }} @endif
@if ($errors->has('supplier')) {{ $errors->first('supplier') }} @endif
@if ($errors->has('creation_type')) {{ $errors->first('creation_type') }} @endif
@if ($errors->has('number')) {{ $errors->first('number') }} @endif
@if(isset($parent_document) && $parent_document->parent_id!=0 && ($parent_document->parent->doc_type_id==1 || $parent_document->parent->doc_type_id==3))
@else @endif @if($doc_type->payment_type==3)
@if ($errors->has('payment_type')) {{ $errors->first('payment_type') }} @endif
@endif
@if ($errors->has('date')) {{ $errors->first('date') }} @endif
@if ($errors->has('payment_date')) {{ $errors->first('payment_date') }} @endif
@if ($errors->has('note')) {{ $errors->first('note') }} @endif
@if ($errors->has('storage')) {{ $errors->first('storage') }} @endif
@if(!isset($doc_ids))
@if ($errors->has('product')) {{ $errors->first('product') }} @endif
@if ($errors->has('service')) {{ $errors->first('service') }} @endif
@endif @if(isset($parent_document) && $parent_document->doc_type_id==3 && in_array($doc_type->id,array(4,8,11)))
@endif
@if($doc_type->route_type==4 && $doc_type->wrappage_only==0) @if(isset($document) && $document->vat_rate_id==0) @endif @endif wrappage_only==1 ? "hidden" : ""}}> @if($doc_type->wrappage_only==0) wrappage_only==1 ? "hidden" : ""}}> @endif
@if($doc_type->id==6) @else {{__('texte.documents_arr.create_invoice.num')}} @endif {{__('texte.documents_arr.create_invoice.title')}} {{__('texte.documents_arr.create_invoice.quantity')}} {{__('texte.documents_arr.create_invoice.package')}} {{__('texte.documents_arr.create_invoice.measure')}} {{__('texte.documents_arr.create_invoice.price')}} {{__('texte.documents_arr.create_invoice.discount')}} {{__('texte.documents_arr.create_invoice.value')}} @if($doc_type->wrappage_only==0) @endif
{{__('texte.documents_arr.create_invoice.grounds')}}
{{__('texte.documents_arr.create_invoice.sum')}} 0.00000
{{__('texte.documents_arr.create_invoice.vat')}} 0.00000
{{__('texte.documents_arr.create_invoice.total')}} 0.00000
@if ($errors) {{ $errors->first() }} @endif
@if($doc_type->id==6 || $doc_type->id==9) @endif
@endsection