IO-942 Save date on save and new payment

This commit is contained in:
Patrick Fic
2021-04-26 14:59:33 -07:00
parent 485e1c4497
commit 1993b8101f
2 changed files with 3 additions and 5 deletions

View File

@@ -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();
}