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

{{__('texte.objects_arr.create.add_object')}}

{{ csrf_field() }} @permission('object-form-contragent-read')
@if ($errors->has('contragent')) {{ $errors->first('contragent') }} @endif
@endpermission @permission('object-form-name-read')
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@endpermission @permission('object-form-email-read')
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@endpermission @permission('object-form-password-read')
@if ($errors->has('password')) {{ $errors->first('password') }} @endif
@endpermission @permission('object-form-password-read')
@if ($errors->has('password_confirmation')) {{ $errors->first('password_confirmation') }} @endif
@endpermission @permission('object-form-contact_person-read')
@if ($errors->has('contact_person')) {{ $errors->first('contact_person') }} @endif
@endpermission @permission('object-form-spokesman-read')
@if ($errors->has('spokesman')) {{ $errors->first('spokesman') }} @endif
@endpermission @permission('object-form-type-read')
@if ($errors->has('type')) {{ $errors->first('type') }} @endif
@endpermission @permission('object-form-subtype-read')
@if ($errors->has('subtype')) {{ $errors->first('subtype') }} @endif
@endpermission @permission('object-form-region-read')
@if ($errors->has('region')) {{ $errors->first('region') }} @endif
@endpermission @permission('object-form-subregion-read')
@if ($errors->has('subregion')) {{ $errors->first('subregion') }} @endif
@endpermission @permission('object-form-country-read')
@if ($errors->has('country')) {{ $errors->first('country') }} @endif
@endpermission @permission('object-form-area-read')
@if ($errors->has('area')) {{ $errors->first('area') }} @endif
@endpermission @permission('object-form-location-read')
@if ($errors->has('location')) {{ $errors->first('location') }} @endif
@endpermission @permission('object-form-delivery_address-read')
@if ($errors->has('delivery_address')) {{ $errors->first('delivery_address') }} @endif
@endpermission @permission('object-form-gps-read')
@if ($errors->has('gps_lng')) {{ $errors->first('gps_lng') }} @endif
@endpermission @permission('object-form-mobile-read')
@if ($errors->has('mobile')) {{ $errors->first('mobile') }} @endif
@endpermission @permission('object-form-phone-read')
@if ($errors->has('phone')) {{ $errors->first('phone') }} @endif
@endpermission @permission('object-form-fax-read')
@if ($errors->has('fax')) {{ $errors->first('fax') }} @endif
@endpermission @permission('object-form-note-read')
@if ($errors->has('note')) {{ $errors->first('note') }} @endif
@endpermission
@permission('object-form-notify_email-read') @if ($errors->has('notify_email')) {{ $errors->first('notify_email') }} @endif
@endpermission @permission('object-form-notify_sms-read') @if ($errors->has('notify_sms')) {{ $errors->first('notify_sms') }} @endif
@endpermission
@permission('object-form-min_order_amount-read') @if ($errors->has('min_order_amount')) {{ $errors->first('min_order_amount') }} @endif
@endpermission
@permission('object-form-transport_amount-read') @if ($errors->has('transport_amount')) {{ $errors->first('transport_amount') }} @endif
@endpermission
@permission('object-form-payment_type-read')
@if ($errors->has('payment_from')) {{ $errors->first('payment_from') }} @endif
@endpermission @permission('object-form-payment_type-read')
@if ($errors->has('payment_type')) {{ $errors->first('payment_type') }} @endif
@endpermission @permission('object-form-limit-read')
@if ($errors->has('plus_wrappage')) {{ $errors->first('plus_wrappage') }} @endif
@endpermission @permission('object-form-limit-read')
@if ($errors->has('limit')) {{ $errors->first('limit') }} @endif
@endpermission @permission('contragent-form-time_of_payment-read')
@if ($errors->has('time_of_payment')) {{ $errors->first('time_of_payment') }} @endif
@endpermission @permission('object-form-delayed_days-read')
@if ($errors->has('delayed_days')) {{ $errors->first('delayed_days') }} @endif
@endpermission @permission('object-form-expired_days-read')
@if ($errors->has('expired_days')) {{ $errors->first('expired_days') }} @endif
@endpermission @permission('object-form-partida_not_older-read')
@if ($errors->has('partida_not_older')) {{ $errors->first('partida_not_older') }} @endif
@endpermission @permission('object-form-export_for_producers-read')
@if ($errors->has('export_for_producers')) {{ $errors->first('export_for_producers') }} @endif
@endpermission @permission('object-form-working_time-read')
@if ($errors->has('working_time')) {{ $errors->first('working_time') }} @endif
@endpermission @permission('object-form-visit_days-read')
@if ($errors->has('visit_days')) {{ $errors->first('visit_days') }} @endif
@endpermission @permission('object-form-filters-read') @foreach ($filters as $filter) @if ($filter->type == 2 && $filter->options->isNotEmpty())
@foreach ($filter->options as $option) @if ($option->active) @endif @endforeach
@endif @if ($filter->type == 1 && $filter->options->isNotEmpty())
@foreach ($filter->options as $option) @if ($option->active) @endif @endforeach
@endif @if ($filter->type == 0)
@endif @endforeach @endpermission @permission('object-form-imgs-read')
here goes the image
@if ($errors->has('images.*')) {{ $errors->first('images.*') }} @endif
@endpermission
@endsection