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

{{ $doc_type->title }}

{{ csrf_field() }} @if(in_array($doc_type->id,[45,46,47,48,55,56])) @permission('document-form-bank-read')
@if ($errors->has('bank')) {{ $errors->first('bank') }} @endif
@endpermission @permission('document-form-account-read')
@if ($errors->has('account')) {{ $errors->first('account') }} @endif
@endpermission @endif @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->creation_type==2) @permission('document-form-number-read')
@if ($errors->has('number')) {{ $errors->first('number') }} @endif
@endpermission @endif @permission('document-form-date-read')
id,[45,46,47,48,55,56]) ? "readonly" : "" }}/> @if ($errors->has('date')) {{ $errors->first('date') }} @endif
@endpermission @permission('document-form-note-read')
@if ($errors->has('note')) {{ $errors->first('note') }} @endif
@endpermission @permission('document-form-account_type-read')
@if ($errors->has('initial_loading')) {{ $errors->first('initial_loading') }} @endif
@endpermission @permission('document-form-total-read')
@if ($errors->has('total')) {{ $errors->first('total') }} @endif
@endpermission
{{__('texte.documents_arr.cashin_create.number')}} {{__('texte.documents_arr.cashin_create.type')}} {{__('texte.documents_arr.cashin_create.party')}} {{__('texte.documents_arr.cashin_create.date')}} {{__('texte.documents_arr.cashin_create.payment_type')}} {{__('texte.documents_arr.cashin_create.amount')}} {{__('texte.documents_arr.cashin_create.balance')}} {{__('texte.documents_arr.cashin_create.actions')}}
{{__('texte.documents_arr.cashin_create.number')}} {{__('texte.documents_arr.cashin_create.type')}} {{__('texte.documents_arr.cashin_create.party')}} {{__('texte.documents_arr.cashin_create.date')}} {{__('texte.documents_arr.cashin_create.payment_date')}} {{__('texte.documents_arr.cashin_create.payment_type')}} {{__('texte.documents_arr.cashin_create.amount')}} {{__('texte.documents_arr.cashin_create.balance')}} {{__('texte.documents_arr.cashin_create.for_interception')}} @if($doc_type->payment_type==1) @else {{__('texte.documents_arr.cashin_create.actions')}} @endif
@endsection