Changed global Dinero rounding IO-469.

This commit is contained in:
Patrick Fic
2021-02-02 14:43:09 -08:00
parent d1280e8680
commit 49a9f71d19
5 changed files with 12 additions and 11 deletions

View File

@@ -97,20 +97,12 @@ function BillEnterModalContainer({
const newAdjustments = _.cloneDeep(
existingAdjustments.data.jobs_by_pk.lbr_adjustments
);
console.log(
"🚀 ~ file: bill-enter-modal.container.jsx ~ line 99 ~ handleFinish ~ newAdjustments",
newAdjustments
);
adjKeys.forEach((key) => {
newAdjustments[key] =
(newAdjustments[key] || 0) + adjustmentsToInsert[key];
});
console.log(
"🚀 ~ file: bill-enter-modal.container.jsx ~ line 109 ~ adjKeys.forEach ~ newAdjustments",
newAdjustments
);
const jobUpdate = client.mutate({
mutation: UPDATE_JOB,
variables: {