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

{{__('texte.documents_arr.invoice_in_union.doc_union')}} {{ $doc_type->title}}

{{ csrf_field() }} @if (isset($contragents) && $contragents->isNotEmpty()) @permission('document-form-contragent-read')
@if ($errors->has('contragent')) {{ $errors->first('contragent') }} @endif
@endpermission @endif @if(isset($objects) && $objects->isNotEmpty()) @permission('document-form-object-read')
@if ($errors->has('object')) {{ $errors->first('object') }} @endif
@endpermission @endif @if (isset($users) && $users->isNotEmpty()) @permission('document-form-user-read')
@if ($errors->has('user')) {{ $errors->first('user') }} @endif
@endpermission @endif @if($doc_type->payment_type==3) @permission('document-form-payment_type-read')
@if ($errors->has('payment_type')) {{ $errors->first('payment_type') }} @endif
@endpermission @endif @if($document->parent_id==0 && in_array($doc_type->id,[3,4,5,6,14,18,21,22,23,24,27,31,33,35,37,63])) @permission('document-form-account_type-read')
@if ($errors->has('account_type')) {{ $errors->first('account_type') }} @endif
@endpermission @endif @if($doc_type->creation_type==2) @permission('document-form-number-read')
@if ($errors->has('number')) {{ $errors->first('number') }} @endif
@endpermission @endif @permission('document-form-date-read')
@if ($errors->has('date')) {{ $errors->first('date') }} @endif
@endpermission @if($doc_type->payment_type!=0) @permission('document-form-payment_date-read')
@if ($errors->has('payment_date')) {{ $errors->first('payment_date') }} @endif
@endpermission @endif @permission('document-form-note-read')
@if ($errors->has('note')) {{ $errors->first('note') }} @endif
@endpermission @permission('document-form-storage-read')
@if ($errors->has('storage')) {{ $errors->first('storage') }} @endif
@endpermission @permission('document-form-product-read')
@if($doc_type->id==4 || $doc_type->id==12 || $doc_type->id==22 || $doc_type->id == 63 || $doc_type->id == 65) @else @endif @permission('document-form-have_vat-read') @if($doc_type->route_type==4 && $doc_type->wrappage_only==0) @if(isset($document) && $document->vat_rate_id==0) @endif @endif @endpermission wrappage_only==1 ? "hidden" : ""}}> @if($doc_type->wrappage_only==0) @endif
{{__('texte.documents_arr.invoice_in_create.title')}} {{__('texte.documents_arr.invoice_in_create.quantity')}} {{__('texte.documents_arr.invoice_in_create.measure')}} {{__('texte.documents_arr.invoice_in_create.price')}} {{__('texte.documents_arr.invoice_in_create.discount')}} {{__('texte.documents_arr.invoice_in_create.value')}} @if(($doc_type->creation_type==1) && $doc_type->wrappage_only==0) @endif N {{__('texte.documents_arr.invoice_in_union.title')}} {{__('texte.documents_arr.invoice_in_union.quantity')}} {{__('texte.documents_arr.invoice_in_union.measure')}} {{__('texte.documents_arr.invoice_in_union.price')}} {{__('texte.documents_arr.invoice_in_union.discount')}} {{__('texte.documents_arr.invoice_in_union.value')}} @if(($doc_type->creation_type==1) && $doc_type->wrappage_only==0) @endif
{{__('texte.documents_arr.invoice_in_union.grounds')}}
{{__('texte.documents_arr.invoice_in_union.sum')}} 0.00000
{{__('texte.documents_arr.invoice_in_union.vat')}} 0.00000
{{__('texte.documents_arr.invoice_in_union.total')}} 0.00000
@if ($errors) {{ $errors->first() }} @endif
@endpermission
@if($doc_type->id==4 || $doc_type->id==12 || $doc_type->id==22 || $doc_type->id==63) @endif
@endsection