Merged in feature/america (pull request #770)

Update to part price change for CCC.
This commit is contained in:
Patrick Fic
2023-05-08 15:52:11 +00:00
2 changed files with 4 additions and 2 deletions

View File

@@ -40,6 +40,6 @@ exports.generatePpc = async (req, res) => {
res.json(ReturnVal); res.json(ReturnVal);
} catch (error) { } 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 id
ciecaid ciecaid
ro_number 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 id
act_price act_price
unq_seq unq_seq
@@ -1787,6 +1787,8 @@ exports.GET_JOB_FOR_PPC = `query GET_JOB_FOR_PPC($jobid: uuid!) {
timezone timezone
} }
} }
}
`; `;
exports.QUERY_PARTS_SCAN = `query QUERY_PARTS_SCAN ($id: uuid!) { exports.QUERY_PARTS_SCAN = `query QUERY_PARTS_SCAN ($id: uuid!) {