fix(forecast): changes to png to allow different address id for the portal
closes #21
This commit is contained in:
@@ -22,6 +22,8 @@ export const pNgForecast = async (data: any, user: any) => {
|
||||
};
|
||||
}
|
||||
|
||||
const pNg = s.filter((n: any) => n.name === "pNgAddress");
|
||||
|
||||
const { data: a, error: ae } = await tryCatch(
|
||||
query(activeArticle, "p&g active av")
|
||||
);
|
||||
@@ -86,7 +88,7 @@ export const pNgForecast = async (data: any, user: any) => {
|
||||
Date.now()
|
||||
).toLocaleString("en-US")}`,
|
||||
sender: user.username || "lst-system",
|
||||
customerId: 139,
|
||||
customerId: pNg[0].value,
|
||||
positions: [],
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user