IO-813 Calculation updates to include adjustments

This commit is contained in:
Patrick Fic
2021-03-31 11:02:11 -07:00
parent 3c1ecd9638
commit e85be1c173
4 changed files with 67 additions and 36 deletions

View File

@@ -199,7 +199,7 @@ const generateInvoiceQbxml = (
(i) => jobline.profitcenter_part.toLowerCase() === i.name.toLowerCase()
);
if (!!!account) {
if (!account) {
throw new Error(
`A matching account does not exist for the allocation. Center: ${center}`
);