diff --git a/server/cdk/cdk-calculate-allocations.js b/server/cdk/cdk-calculate-allocations.js index b4709bd67..dc386e618 100644 --- a/server/cdk/cdk-calculate-allocations.js +++ b/server/cdk/cdk-calculate-allocations.js @@ -192,7 +192,7 @@ exports.default = async function (socket, jobid) { // ); taxAllocations.state.sale = taxAllocations.state.sale.add( - Dinero({ amount: (ca_bc_pvrt || 0) * 100 }) + Dinero({ amount: Math.round((ca_bc_pvrt || 0) * 100) }) ); } diff --git a/server/graphql-client/queries.js b/server/graphql-client/queries.js index 99d4c6545..580ca169c 100644 --- a/server/graphql-client/queries.js +++ b/server/graphql-client/queries.js @@ -1254,6 +1254,7 @@ exports.GET_CDK_ALLOCATIONS = `query QUERY_JOB_CLOSE_DETAILS($id: uuid!) { actual_delivery scheduled_in actual_in + ca_bc_pvrt timetickets { id actualhrs