Implemented auto insertion of lbr adjustments on bill posting IO-571

This commit is contained in:
Patrick Fic
2021-01-11 11:11:46 -08:00
parent 12f14e5425
commit ae7f67461b
3 changed files with 70 additions and 9 deletions

View File

@@ -235,7 +235,9 @@ export function BillEnterModalLinesComponent({
</Form.Item>
<Form.Item
shouldUpdate={(prev, cur) =>
prev.billlines[index] &&
prev.billlines[index].deductfromlabor !==
cur.billlines[index] &&
cur.billlines[index].deductfromlabor
}
>
@@ -322,7 +324,7 @@ export function BillEnterModalLinesComponent({
},
]}
>
<InputNumber precision={2} />
<InputNumber precision={2} min={0.01} />
</Form.Item>
</div>
);