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

{{__('texte.objects_arr.edit.edit_object')}}

{{ method_field('PATCH') }} {{ csrf_field() }}
@if ($errors->has('client_id')) {{ $errors->first('client_id') }} @endif
@if ($errors->has('name')) {{ $errors->first('name') }} @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('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('address')) {{ $errors->first('address') }} @endif
@if ($errors->has('mobile')) {{ $errors->first('mobile') }} @endif
@if ($errors->has('phone')) {{ $errors->first('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
@if(count($object->images)>0) @foreach($object->images as $image) @endforeach @endif
images)>0 ? 'hidden' : ''}}>
here goes the image
@if ($errors->has('images.*')) {{ $errors->first('images.*') }} @endif
@if ($errors->has('active')) {{ $errors->first('active') }} @endif
@endsection