IO-2425 US Reconcilliation for Non-Parts that have Misc amt

Non-part lines that had a Misc_amt where missing from reconciliation also remove any part that didn't have a act_price > 0 and a qty > 0
This commit is contained in:
Allan Carr
2023-10-26 16:11:47 -07:00
parent 6656708c8e
commit f4bcad1b06
3 changed files with 5 additions and 2 deletions

View File

@@ -87,7 +87,8 @@ export default function JobBillsTotalComponent({
const totalPartsSublet = Dinero(totals.parts.parts.total)
.add(Dinero(totals.parts.sublets.total))
.add(Dinero(totals.additional.shipping))
.add(Dinero(totals.additional.towing));
.add(Dinero(totals.additional.towing))
.add(Dinero(totals.additional.additionalCosts));
const discrepancy = totalPartsSublet.subtract(billTotals);