Ability to delete job checklist IO-464

This commit is contained in:
Patrick Fic
2021-02-02 12:21:06 -08:00
parent 8fcb488b3b
commit d1280e8680
4 changed files with 58 additions and 5 deletions

View File

@@ -235,7 +235,7 @@ function CalculateTaxesTotals(job, otherTotals) {
if (!!!val.tax_part || !!!val.part_type || IsAdditionalCost(val)) {
additionalItemsTax = additionalItemsTax.add(
Dinero({ amount: Math.round((val.act_price || 0) * 100) })
.multiply(val.value.part_qty || 0)
.multiply(val.part_qty || 0)
.percentage(
(job.parts_tax_rates &&
job.parts_tax_rates["PAN"] &&