From c2428b3a8f97ff3a5c125944ac2b6aee9b081734 Mon Sep 17 00:00:00 2001
From: filippo.bertilotti <filippobertilotti@gmail.com>
Date: Tue, 28 May 2024 12:00:57 +0200
Subject: [PATCH] aggiunta metodo set per la dipendeza Viewer (parte 150)

---
 views/Products/index.php |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/views/Products/index.php b/views/Products/index.php
index d38b7f2..a4de79d 100644
--- a/views/Products/index.php
+++ b/views/Products/index.php
@@ -3,6 +3,8 @@
 
     <a href="/products/new">New Product</a>
 
+    <p>Total: <?= $total ?></p>
+
     <?php foreach ($products as $product): ?>
         <h2>
             <a href="/products/<?= $product["id"] ?>/show">

--
Gitblit v1.8.0