@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}}
{{__('texte.documents_arr.output_edit.back')}}
{{method_field('PATCH')}} {{ csrf_field() }}
{{__('texte.documents_arr.output_edit.object')}}
{{ $document->documentable->user->name }}
@permission('document-form-date-read')
{{__('texte.documents_arr.order_edit.date')}}
@if ($errors->has('date'))
{{ $errors->first('date') }}
@endif
@endpermission @permission('document-form-payment_date-read')
{{__('texte.documents_arr.order_edit.payment_date')}}
@if ($errors->has('payment_date'))
{{ $errors->first('payment_date') }}
@endif
@endpermission @permission('document-form-note-read')
{{__('texte.documents_arr.output_edit.note')}}
{{ old('note', $document->note) }}
@if ($errors->has('note'))
{{ $errors->first('note') }}
@endif
@endpermission @permission('document-form-storage-read')
{{__('texte.documents_arr.output_edit.storage')}}
@if ($errors->has('storage'))
{{ $errors->first('storage') }}
@endif
@endpermission @permission('document-form-product-read')
{{__('texte.documents_arr.output_edit.products')}}
@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.output_edit.vat')}}
@foreach($vat_rates as $vat_rate)
vat_rate_id==$vat_rate->id ? "selected" : "" }}>{{$vat_rate->id==0 ? __('texte.documents_arr.output_edit.without_vat') : $vat_rate->rate." % ДДС"}}
@endforeach
{{__('texte.documents_arr.invoice_in_edit.grounds')}}
{{__('texte.documents_arr.output_edit.sum')}}
0.00000
{{__('texte.documents_arr.output_edit.vat')}}
0.00000
{{__('texte.documents_arr.output_edit.total')}}
0.00000
@if ($errors)
{{ $errors->first() }}
@endif
@endpermission
{{__('texte.documents_arr.output_edit.change')}}
{{ csrf_field() }}
×
{{__('texte.documents_arr.output_edit.price_change')}}
{{__('texte.documents_arr.output_edit.new_price')}}
@if ($errors->has('new_price'))
{{ $errors->first('new_price') }}
@endif
@nonepermission('document-form-price-write')
{{__('texte.documents_arr.output_edit.user_name')}}
@if ($errors->has('name'))
{{ $errors->first('name') }}
@endif
{{__('texte.documents_arr.output_edit.auth_code')}}
@if ($errors->has('pic'))
{{ $errors->first('pic') }}
@endif
@endnonepermission
{{ csrf_field() }}
×
{{__('texte.documents_arr.output_edit.discount_change')}}
{{__('texte.documents_arr.output_edit.discount_in')}}
{{__('texte.documents_arr.output_edit.amount')}}
{{__('texte.documents_arr.output_edit.percent')}}
@if ($errors->has('discount_type'))
{{ $errors->first('discount_type') }}
@endif
{{__('texte.documents_arr.output_edit.new_discount')}}
@if ($errors->has('new_discount'))
{{ $errors->first('new_discount') }}
@endif
@nonepermission('document-form-discount-write')
{{__('texte.documents_arr.output_edit.user_name')}}
@if ($errors->has('name'))
{{ $errors->first('name') }}
@endif
{{__('texte.documents_arr.output_edit.auth_code')}}
@if ($errors->has('pic'))
{{ $errors->first('pic') }}
@endif
@endnonepermission
×
{{__('texte.documents_arr.output_edit.batches')}}
{{__('texte.orders_arr.create.select_batch')}}
{{__('texte.documents_arr.output_edit.batches')}}
{{__('texte.documents_arr.output_edit.batches')}}
{{__('texte.documents_arr.output_edit.batches')}}
{{__('texte.documents_arr.output_edit.batches')}}
{{__('texte.documents_arr.output_edit.batches')}}
@endsection