From d089b45b03f37964acad4d3ebeade04012aedeca Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 12 Apr 2024 00:52:08 +0000 Subject: [PATCH] fix bugs --- Admin/Install/Navigation.install.json | 6 +++--- Admin/Install/db.json | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Admin/Install/Navigation.install.json b/Admin/Install/Navigation.install.json index e94b747..b02183b 100644 --- a/Admin/Install/Navigation.install.json +++ b/Admin/Install/Navigation.install.json @@ -5,7 +5,7 @@ "type": 2, "subtype": 1, "name": "StockTaking", - "uri": "{/base}/warehouse/stocktaking/list?{?}", + "uri": "{/base}/warehouse/stocktaking/list", "target": "self", "icon": null, "order": 1, @@ -19,7 +19,7 @@ "type": 3, "subtype": 1, "name": "Dashboard", - "uri": "{/base}/warehouse/stocktaking/list?{?}", + "uri": "{/base}/warehouse/stocktaking/list", "target": "self", "icon": null, "order": 1, @@ -34,7 +34,7 @@ "type": 3, "subtype": 1, "name": "Create", - "uri": "{/base}/warehouse/stocktaking/create?{?}", + "uri": "{/base}/warehouse/stocktaking/create", "target": "self", "icon": null, "order": 1, diff --git a/Admin/Install/db.json b/Admin/Install/db.json index d3cbdc3..7c27000 100644 --- a/Admin/Install/db.json +++ b/Admin/Install/db.json @@ -14,8 +14,8 @@ "type": "INT", "null": true, "default": null, - "foreignTable": "organization_unit", - "foreignKey": "organization_unit_id" + "foreignTable": "unit", + "foreignKey": "unit_id" }, "stocktaking_created_at": { "name": "stocktaking_created_at",