@@ -218,7 +221,7 @@ export default function TransferToNextLot() {
name="runningNumber"
children={(field) => (
@@ -398,6 +401,19 @@ export default function TransferToNextLot() {
process, this process will just get
the gaylord to the next lot.
+
+ {settings.length > 0 && (
+
+ For more in depth instructions
+ please{" "}
+
+ CLICK HERE
+
+
+ )}
) : (
@@ -437,6 +453,19 @@ export default function TransferToNextLot() {
process, this process will just get
the gaylord to the next lot.
+
+ {settings.length > 0 && (
+
+ For more in depth instructions
+ please{" "}
+
+ CLICK HERE
+
+
+ )}
)}
diff --git a/frontend/src/routes/__root.tsx b/frontend/src/routes/__root.tsx
index 1311a4c..4005699 100644
--- a/frontend/src/routes/__root.tsx
+++ b/frontend/src/routes/__root.tsx
@@ -28,6 +28,7 @@ import { useLogout } from "@/hooks/useLogout";
import ExportInventoryData from "@/components/logistics/warehouse/ExportInventoryData";
import { AddCards } from "@/components/dashboard/AddCards";
import DMButtons from "@/components/logistics/dm/DMButtons";
+import { useSettingStore } from "@/lib/store/useSettings";
//import { AddCards } from "@/components/dashboard/AddCards";
// same as the layout
@@ -38,6 +39,9 @@ export const Route = createRootRoute({
const { user } = useSessionStore();
const logout = useLogout();
const location = useLocation();
+ const { settings } = useSettingStore();
+
+ const server = settings.filter((n: any) => n.name === "dbServer");
return (