Removed all todos from code and created corresponding JIRA tickets.

This commit is contained in:
Patrick Fic
2021-01-05 14:39:27 -08:00
parent 3e3b2780e3
commit af8ccfaff5
35 changed files with 65 additions and 143 deletions

View File

@@ -20,7 +20,6 @@
// .add(otherTotals.rates.subtotal)
// .add(Dinero({ amount: (job.towing_payable || 0) * 100 }))
// .add(Dinero({ amount: (job.storage_payable || 0) * 100 }));
// //TODO Levies should be included??
// const statePartsTax = job.joblines.reduce((acc, val) => {
// if (!!!val.tax_part) return acc;
@@ -227,7 +226,7 @@
// subtotal: acc.sublets.subtotal.add(
// Dinero({ amount: Math.round(value.act_price * 100) })
// ),
// //TODO Add Adjustments in
//
// },
// };
// // case "PAA":
@@ -268,7 +267,7 @@
// value.part_qty
// )
// ),
// //TODO Add Adjustments in
//
// },
// };
// // default:
@@ -305,7 +304,7 @@
// function CalculateCustPayable(job) {
// let ret = {
// deductible: Dinero({ amount: (job.ded_amt || 0) * 100 }) || 0,
// federal_tax: Dinero({ amount: (job.federal_tax_payable || 0) * 100 }), //TODO Should this be renamed to make it more clear this is customer GST?
// federal_tax: Dinero({ amount: (job.federal_tax_payable || 0) * 100 }),
// other_customer_amount: Dinero({
// amount: (job.other_amount_payable || 0) * 100,
// }),