IO-2337 Spread in billLines

This commit is contained in:
Allan Carr
2023-07-07 09:54:19 -07:00
parent 255d65e47d
commit af70c80e09

View File

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