@extends('layouts.AdminMaster') @section('content')
{{ csrf_field() }} {{ method_field('PUT') }} {{--
{{ $errors->has('lot') ? $errors->first('lot') : '' }}
--}}
{{ $errors->has('nom_produit') ? $errors->first('nom_produit') : '' }}
{{--
--}}
{{--pour comparer si la quantité a été changé --}} {{ $errors->has('quantite') ? $errors->first('quantite') : '' }}
{{ $errors->has('producteur') ? $errors->first('producteur') : '' }}
{{ $errors->has('qualite') ? $errors->first('qualite') : '' }}
{{ $errors->has('prix_tige') ? $errors->first('prix_tige') : '' }}
{{--
{{ $errors->has('prix_vente') ? $errors->first('prix_vente') : '' }}
--}}
@if($st_valentin->image) @php $imageUrl = str_contains($st_valentin->image, 'http') ? $st_valentin->image : asset('storage/' . $st_valentin->image); @endphp
@else
Glissez votre photo ici ou cliquez pour parcourir
@endif
Retour
@endsection @section('style') @endsection @section('script') @endsection