{{ Form::open(['url' => $data['url'], 'class' => 'card', 'id' => 'add_supplier', 'files' => 'true']) }}
@if (@$data['edit']->avatar_id)
@endif
@error('image')
{{ $message }}
@enderror
{{Form::close() }}
@if ($errors->has('name'))
{{ $errors->first('name') }}
@endif
@if ($errors->has('phone'))
{{ $errors->first('phone') }}
@endif
@if ($errors->has('email'))
{{ $errors->first('email') }}
@endif
@if ($errors->has('permanent_address'))
{{ $errors->first('permanent_address') }}
@endif
@error('current_address')
{{ $message }}
@enderror