@extends('produits.layouts') @section('content')
Ajouter un nouveau Produit
@csrf
@if ($errors->has('referenceA')) {{ $errors->first('referenceA') }} @endif
@if ($errors->has('referenceB')) {{ $errors->first('referenceB') }} @endif
@if ($errors->has('site')) {{ $errors->first('site') }} @endif
@if ($errors->has('famille')) {{ $errors->first('famille') }} @endif
@if ($errors->has('type')) {{ $errors->first('type') }} @endif
@if ($errors->has('essence')) {{ $errors->first('essence') }} @endif
@if ($errors->has('qualite')) {{ $errors->first('qualite') }} @endif
@if ($errors->has('unite')) {{ $errors->first('unite') }} @endif
@else @isset($default) value="{{$default->epaisseur}}">@endisset @endif @if ($errors->has('epaisseur')) {{ $errors->first('epaisseur') }} @endif
@else @isset($default) value="{{$default->largeur}}">@endisset @endif @if ($errors->has('largeur')) {{ $errors->first('largeur') }} @endif
@else @isset($default) value="{{$default->longueur}}">@endisset @endif @if ($errors->has('longueur')) {{ $errors->first('longueur') }} @endif
@if ($errors->has('humidite')) {{ $errors->first('humidite') }} @endif
@if ($errors->has('origine')) {{ $errors->first('origine') }} @endif
@endsection