From 05fb50965b0c97d43801be7549cb03f69e4cc870 Mon Sep 17 00:00:00 2001
From: Yohann D'ANELLO <yohann.danello@gmail.com>
Date: Sat, 14 Mar 2020 02:09:33 +0100
Subject: [PATCH] Balance is refreshed after a (de)validation

---
 templates/note/conso_form.html | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/templates/note/conso_form.html b/templates/note/conso_form.html
index a007cecf..46a3b453 100644
--- a/templates/note/conso_form.html
+++ b/templates/note/conso_form.html
@@ -211,7 +211,10 @@
                     "resourcetype": "TemplateTransaction",
                     valid: !validated
                 },
-                success: refreshHistory
+                success: function() {
+                    refreshHistory();
+                    refreshBalance();
+                }
             });
         });
     </script>
-- 
GitLab