From b46dffb399fa7752c82b8186df3e6d5f22a5315e Mon Sep 17 00:00:00 2001 From: Johannes Rudolph Date: Fri, 5 Jan 2018 16:56:42 +0100 Subject: database: add method to retrieve product details with prices --- src/web/web.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/web/web.vala') diff --git a/src/web/web.vala b/src/web/web.vala index 62cfb04..37e6edc 100644 --- a/src/web/web.vala +++ b/src/web/web.vala @@ -568,7 +568,7 @@ public class WebServer { string table = ""; foreach(var e in db.get_stock()) { - table += @"$(e.id)$(e.name)$(e.category)$(e.amount)$(e.memberprice)€$(e.guestprice)€"; + table += @"$(e.ean)$(e.name)$(e.category)$(e.amount)$(e.memberprice)€$(e.guestprice)€"; } t.replace("DATA", table); -- cgit v1.2.3