From 2604507403d426c9401035f0e76b8f70dd8d5e09 Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Mon, 18 Mar 2024 13:52:02 -0700 Subject: [PATCH] IO-2689 Resolve save and new for bill posting. --- .../bill-enter-modal/bill-enter-modal.container.jsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/client/src/components/bill-enter-modal/bill-enter-modal.container.jsx b/client/src/components/bill-enter-modal/bill-enter-modal.container.jsx index c4f8a062d..c707aa5dd 100644 --- a/client/src/components/bill-enter-modal/bill-enter-modal.container.jsx +++ b/client/src/components/bill-enter-modal/bill-enter-modal.container.jsx @@ -373,12 +373,12 @@ function BillEnterModalContainer({ }); if (enterAgain) { - // form.resetFields(); - form.setFieldsValue({ - ...formValues, - billlines: [], - }); - form.resetFields(); + form.resetFields(); + form.setFieldsValue({ + ...formValues, + billlines: [], + }); + // form.resetFields(); } else { toggleModalVisible(); }