From c6ccb6e0ae250e4a4dc148d2fece39cde6670d23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Sat, 8 Aug 2020 11:27:22 +0800 Subject: [PATCH] Added to validate the balance after deleting a record in the JavaScript of the transaction form in the accounting application. --- accounting/static/accounting/js/transaction-form.js | 1 + 1 file changed, 1 insertion(+) diff --git a/accounting/static/accounting/js/transaction-form.js b/accounting/static/accounting/js/transaction-form.js index dbc9b02..8fd5a5c 100644 --- a/accounting/static/accounting/js/transaction-form.js +++ b/accounting/static/accounting/js/transaction-form.js @@ -281,6 +281,7 @@ function deleteRecord(button) { resetRecordOrders(type); resetRecordButtons(); updateTotalAmount(button); + validateBalance(); } /**