CRM - tp 1,2, et 3 bientot fini
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Mini-CRM</title>
|
||||
</head>
|
||||
<body>
|
||||
@extends('layouts.app')
|
||||
@section('content')
|
||||
<h1>Bienvenue dans {{ $company }}</h1>
|
||||
</h2>Notre première application Laravel.</h2>
|
||||
<ul>
|
||||
<li> Les clients</li>
|
||||
<li> Les produits</li>
|
||||
<li> Les commandes</li>
|
||||
|
||||
<!-- </h2>Notre première application Laravel.</h2> -->
|
||||
</ul>
|
||||
|
||||
</h2>Ma société : </h2>
|
||||
|
||||
<ul>
|
||||
|
||||
|
||||
<h3> Liste des produtis : </h3>
|
||||
@foreach($products as $produit)
|
||||
<li>{{ $produit }}</li>
|
||||
@endforeach
|
||||
<br>
|
||||
<li>Commandes : {{ $orders }}</li>
|
||||
<li>Nom : {{ $name }}</li>
|
||||
<li>Ville : {{ $city }} </li>
|
||||
<li>Entreprise : {{ $company }}</li>
|
||||
</ul>
|
||||
|
||||
|
||||
@if($stock < 5 && $stock != 0)
|
||||
<p>Stock faible</p>
|
||||
@elseif($stock == 0)
|
||||
<p> Pas de stock disponible.</p>
|
||||
@else
|
||||
<p>Stock disponible</p>
|
||||
@endif
|
||||
|
||||
@if($clients > 0)
|
||||
<p>Vous avez des clients.</p>
|
||||
@else
|
||||
<p>Aucun client.</p>
|
||||
@endif
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user