Implemented auto insertion of lbr adjustments on bill posting IO-571
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user