IO-942 Save date on save and new payment
This commit is contained in:
@@ -153,8 +153,10 @@ function BillEnterModalContainer({
|
||||
|
||||
if (actions.refetch) actions.refetch();
|
||||
if (enterAgain) {
|
||||
const prev = form.getFieldsValue(["date"]);
|
||||
|
||||
form.resetFields();
|
||||
form.setFieldsValue({ billlines: [] });
|
||||
form.setFieldsValue(prev);
|
||||
} else {
|
||||
toggleModalVisible();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user