This commit is contained in:
Surya Paolo
2024-01-16 11:17:48 +01:00
parent 4b9fe4d267
commit 504e9fd88c

View File

@@ -1480,7 +1480,7 @@ function load(req, res, version) {
if (req.user) {
calcstat = User.calculateStat(idapp, req.user.username);
cart = Cart.getCartByUserId(req.user.id, idapp);
if (User.isManager(req.user.perm)) {
if (ismanager) {
// Prende Tutti gli Ordini !
orderscart = OrdersCart.getOrdersCartByUserId('ALL', idapp, 0, false);
} else {