Réalisation du tp3, tp4, tp5 et tp6 avec documentation.

This commit is contained in:
2026-10-07 00:48:56 +02:00
parent fc4c55546f
commit 4a84a17cbf
40 changed files with 1584 additions and 120 deletions
@@ -0,0 +1,9 @@
@extends('layouts.app')
@section('content')
<h2>{{ $product->name }}</h2>
<p>Prix : {{ $product->price }} EUR</p>
<p>Stock : {{ $product->stock }}</p>
<p>Disponibilité : {{ $product->stock < 5 ? '⚠ Stock faible' : 'Disponible' }}</p>
<a href="{{ route('products.index') }}">Retour</a>
@endsection