CRM - tp 1,2, et 3 bientot fini

This commit is contained in:
2026-09-16 11:43:27 +02:00
parent 3937a2556f
commit 5533735d5d
136 changed files with 22137 additions and 0 deletions
@@ -0,0 +1,26 @@
@extends('layouts.app')
@section('content')
<h3> Liste des produtis : </h3>
<table>
<tr>
<th>Produit</th>
<th>Prix</th>
<th>Stock</th>
</tr>
@foreach($products as $produit)
<tr>
<td>{{ $produit['name'] }}</td>
<td>{{ $produit['price'] }}</td>
<td>{{ $produit['stock'] }}</td>
<td>@if($produit['stock'] < 5 && $produit['stock'] != 0)
Stock faible
@else
Stock disponible
</td>
@endif
</tr>
@endforeach
</table>
@endsection