Merged in feature/IO-2337-billlines-applicable_taxes (pull request #881)

IO-2337 Spread in billLines
This commit is contained in:
Allan Carr
2023-07-07 16:54:48 +00:00

View File

@@ -135,7 +135,10 @@ const findTaxCode = (billLine, taxcode) => {
applicable_taxes: { local, state, federal },
} =
billLine.applicable_taxes === null
? { applicable_taxes: { local: false, state: false, federal: false } }
? {
...billLine,
applicable_taxes: { local: false, state: false, federal: false },
}
: billLine;
const t = taxcode.filter(
(t) =>