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

{{__('texte.clients_arr.create.add_client')}}

{{ csrf_field() }}
@if ($errors->has('is_company')) {{ $errors->first('is_company') }} @endif
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('mol')) {{ $errors->first('mol') }} @endif
@if ($errors->has('address')) {{ $errors->first('address') }} @endif
@if ($errors->has('foreign_client')) {{ $errors->first('foreign_client') }} @endif
@if ($errors->has('foreign_country')) {{ $errors->first('foreign_country') }} @endif
@if ($errors->has('foreign_location')) {{ $errors->first('foreign_location') }} @endif
@if ($errors->has('country')) {{ $errors->first('country') }} @endif
@if ($errors->has('area')) {{ $errors->first('area') }} @endif
@if ($errors->has('location_type')) {{ $errors->first('location_type') }} @endif
@if ($errors->has('location')) {{ $errors->first('location') }} @endif
@if ($errors->has('bulstat')) {{ $errors->first('bulstat') }} @endif
@if ($errors->has('vat')) {{ $errors->first('vat') }} @endif
@if ($errors->has('mobile')) {{ $errors->first('mobile') }} @endif
@if ($errors->has('phone')) {{ $errors->first('phone') }} @endif

{{__('texte.clients_arr.create.obect_info')}}

@if ($errors->has('object_name')) {{ $errors->first('object_name') }} @endif
@if ($errors->has('create_login')) {{ $errors->first('create_login') }} @endif
@if ($errors->has('pic')) {{ $errors->first('pic') }} @endif
@if ($errors->has('type')) {{ $errors->first('type') }} @endif
@if ($errors->has('subtype')) {{ $errors->first('subtype') }} @endif
@if ($errors->has('object_country')) {{ $errors->first('object_country') }} @endif
@if ($errors->has('object_area')) {{ $errors->first('object_area') }} @endif
@if ($errors->has('object_location_type')) {{ $errors->first('object_location_type') }} @endif
@if ($errors->has('object_location')) {{ $errors->first('object_location') }} @endif
@if ($errors->has('object_address')) {{ $errors->first('object_address') }} @endif
@if ($errors->has('object_mobile')) {{ $errors->first('object_mobile') }} @endif
@if ($errors->has('object_phone')) {{ $errors->first('object_phone') }} @endif
@if ($errors->has('note')) {{ $errors->first('note') }} @endif
@foreach ($filters as $filter) @if ($filter->type == 3 && $filter->options->isNotEmpty())
@endif @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
here goes the image
@if ($errors->has('images.*')) {{ $errors->first('images.*') }} @endif
@endsection