swipe, zoeken op producten, beter toevoegen in lijsten

This commit is contained in:
2026-09-06 20:44:04 +02:00
parent ce07575d5e
commit a4d61ca26c
13 changed files with 437 additions and 157 deletions
+2
View File
@@ -1,4 +1,5 @@
const FavoriteService = require("../services/FavoriteService");
const CategoryService = require("../services/CategoryService");
class FavoriteController {
index(req, res) {
@@ -7,6 +8,7 @@ class FavoriteController {
res.locals.title = "Favorieten";
res.render("favorites/index", {
favorites,
categories: CategoryService.getCategories(req.user.household_id),
user: req.user
});
}