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

{{__('texte.documents_arr.output_edit.change_of')}} {{ $doc_type->title }} {{__('texte.documents_arr.output_edit.number')}} {{$document->number}}

{{method_field('PATCH')}} {{ csrf_field() }}
{{ $document->documentable->user->name }}
@permission('document-form-date-read')
@if ($errors->has('date')) {{ $errors->first('date') }} @endif
@endpermission @permission('document-form-payment_date-read')
@if ($errors->has('payment_date')) {{ $errors->first('payment_date') }} @endif
@endpermission @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')
@permission('document-form-have_vat-read') @if(isset($document) && $document->vat_rate_id==0) @endif @endpermission
{{__('texte.documents_arr.output_edit.title')}} {{__('texte.documents_arr.output_edit.quantity')}} {{__('texte.documents_arr.output_edit.measure')}} {{__('texte.documents_arr.output_edit.batch')}} {{__('texte.documents_arr.output_edit.expiry')}} {{__('texte.documents_arr.output_edit.price')}} {{__('texte.documents_arr.output_edit.discount')}} {{__('texte.documents_arr.output_edit.value')}}
{{__('texte.documents_arr.invoice_in_edit.grounds')}}
{{__('texte.documents_arr.output_edit.total')}} 0.00000
@if ($errors) {{ $errors->first() }} @endif
@endpermission
@endsection