From 1596286844b32c1277f8cfb10bc149368429e0dd Mon Sep 17 00:00:00 2001 From: numex-admin Date: Thu, 10 Sep 2026 08:59:10 +0000 Subject: [PATCH] =?UTF-8?q?Numex=20yay=C4=B1n:=20views/products/list.ejs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- views/products/list.ejs | 68 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 views/products/list.ejs diff --git a/views/products/list.ejs b/views/products/list.ejs new file mode 100644 index 0000000..b02e7d6 --- /dev/null +++ b/views/products/list.ejs @@ -0,0 +1,68 @@ +
+

Ürünler

+ +
+ +
+ ⚠️ <%= lowStockCount %> ürün düşük stok seviyesinde. +
+ +
+
+ + + + Sıfırla +
+
+ +
+ + + + + + + + + + + + + + <% if (products.length === 0) { %> + + <% } %> + <% products.forEach(p => { %> + + + + + + + + + + <% }) %> + +
IDÜrün AdıKategoriFiyatStokDurumİşlemler
Ürün bulunamadı. Yeni ürün ekleyin.
<%= p.id %><%= p.name %><%= p.categoryName %><%= p.unitPrice.toLocaleString('tr-TR') %> ₺<%= p.stock %> + <% if (p.lowStock) { %> + ⚠️ Düşük + <% } else { %> + ✓ Yeterli + <% } %> + + Gör + ✏️ + +
+
+ +