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

{{__('texte.suppliers_arr.edit.edit_supplier')}}

{{ method_field('PATCH') }} {{ csrf_field() }}
@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('mobile')) {{ $errors->first('mobile') }} @endif
@if ($errors->has('phone')) {{ $errors->first('phone') }} @endif
@if ($errors->has('description')) {{ $errors->first('description') }} @endif
@if ($errors->has('active')) {{ $errors->first('active') }} @endif
@if(count($supplier->images)>0) @foreach($supplier->images as $image) @endforeach @endif
images)>0 ? 'hidden' : ''}}>
here goes the image
@if ($errors->has('images.*')) {{ $errors->first('images.*') }} @endif
@if(count($supplier->files)>0) @foreach($supplier->files as $file) @endforeach @endif
files)>0 ? 'hidden' : ''}}>
@if ($errors->has('upload_file')) {{ $errors->first('upload_files.*') }} @endif

@endsection