@extends('layouts.AdminMaster') @section('content')
{{ csrf_field() }} {{ method_field('PUT') }}
{{ $errors->has('lot') ? $errors->first('lot') : '' }}
{{ $errors->has('entreprise') ? $errors->first('entreprise') : '' }}
{{ $errors->has('nom_produit') ? $errors->first('nom_produit') : '' }}
{{--pour comparer si la quantité a été changé --}} {{ $errors->has('quantite') ? $errors->first('quantite') : '' }}
{{ $errors->has('nbre_tiges') ? $errors->first('nbre_tiges') : '' }}
{{ $errors->has('producteur') ? $errors->first('producteur') : '' }}
{{ $errors->has('qualite') ? $errors->first('qualite') : '' }}
{{--
{{ $errors->has('prix_tige') ? $errors->first('prix_tige') : '' }}
--}}
{{ $errors->has('prix_mini') ? $errors->first('prix_mini') : '' }}
{{ $errors->has('prix_vente') ? $errors->first('prix_vente') : '' }}
{{----}}
@if($produit->photo) @elseif($produit->localImage) @endif
Retour
@endsection