Update to part price change for CCC.

This commit is contained in:
Patrick Fic
2023-05-08 08:51:29 -07:00
parent 84ab6d300c
commit 6a9f1597cb
2 changed files with 4 additions and 2 deletions

View File

@@ -40,6 +40,6 @@ exports.generatePpc = async (req, res) => {
res.json(ReturnVal);
} catch (error) {
res.status(400).Send(JSON.stringify(error));
res.status(400).json(error);
}
};

View File

@@ -1778,7 +1778,7 @@ exports.GET_JOB_FOR_PPC = `query GET_JOB_FOR_PPC($jobid: uuid!) {
id
ciecaid
ro_number
joblines(where: {removed: {_eq: false}, act_price_before_ppc:{_is_null: false}}) {
joblines(where: {removed: {_eq: false}, act_price_before_ppc: {_is_null: false}}) {
id
act_price
unq_seq
@@ -1787,6 +1787,8 @@ exports.GET_JOB_FOR_PPC = `query GET_JOB_FOR_PPC($jobid: uuid!) {
timezone
}
}
}
`;
exports.QUERY_PARTS_SCAN = `query QUERY_PARTS_SCAN ($id: uuid!) {