From a2b88ec9318de90eec3e9f7acf89f8355557fa17 Mon Sep 17 00:00:00 2001 From: blackcode-creator Date: Fri, 1 Dec 2023 00:46:50 +0300 Subject: [PATCH] bug fix --- omod/src/main/webapp/pages/billableServiceBillAdd.gsp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/omod/src/main/webapp/pages/billableServiceBillAdd.gsp b/omod/src/main/webapp/pages/billableServiceBillAdd.gsp index bc0ccfa..f7202d5 100644 --- a/omod/src/main/webapp/pages/billableServiceBillAdd.gsp +++ b/omod/src/main/webapp/pages/billableServiceBillAdd.gsp @@ -111,7 +111,10 @@ numberDataTables(); } self.cancelBillAddition = function () { - window.location.replace("billableServiceBillListForBD.page?patientId=${patientId}&billId=${lastBillId}") + self.billItems.removeAll(); + self.waiverAmount(0.00); + self.comment(""); + window.location.replace("billableServiceBillListForBD.page?patientId=${patientId}") } self.submitBill = function () { if (self.totalSurcharge() < self.waiverAmount()) {