Added quantity to entering invoices BOD-182
This commit is contained in:
@@ -5,8 +5,8 @@ function FormItemCurrency(props, ref) {
|
||||
<InputNumber
|
||||
{...props}
|
||||
style={{ width: "initial" }}
|
||||
formatter={(value) => `$ ${value}`.replace(/\B(?=(\d{3})+(?!\d))/g, ",")}
|
||||
parser={(value) => value.replace(/\$\s?|(,*)/g, "")}
|
||||
// formatter={(value) => `$ ${value}`.replace(/\B(?=(\d{3})+(?!\d))/g, ",")}
|
||||
// parser={(value) => value.replace(/\$\s?|(,*)/g, "")}
|
||||
precision={2}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user