IO-792 Track lbr_adjustments and resolve errors on edit.

This commit is contained in:
Patrick Fic
2021-03-25 09:59:36 -07:00
parent 743ce25a72
commit 92df7f3ad4
13 changed files with 256 additions and 30 deletions

View File

@@ -255,14 +255,7 @@ export function BillEnterModalLinesComponent({
>
<Switch disabled={disabled} />
</Form.Item>
<Form.Item
shouldUpdate={(prev, cur) =>
prev.billlines[index] &&
prev.billlines[index].deductedfromlbr !==
cur.billlines[index] &&
cur.billlines[index].deductedfromlbr
}
>
<Form.Item shouldUpdate>
{() => {
if (
getFieldValue([