From c6f68ff19b982e2ac2b9083ac177833f3a048d6e Mon Sep 17 00:00:00 2001 From: Jonathan Rosenbaum Date: Mon, 24 Jul 2017 05:30:36 +0000 Subject: [PATCH] Fixes a presentation bug for paid member in Stand Time. --- js/transaction.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/transaction.js b/js/transaction.js index 2176843..09146d4 100644 --- a/js/transaction.js +++ b/js/transaction.js @@ -732,6 +732,7 @@ $(function() { $.post("json/transaction.php", { stand_time: 1, contact_id: this.value, shop_id: shop_id }, function (data) { if (data) { var obj = $.parseJSON(data); + amount.val(""); if(!obj.membership) { amount.val(obj.total + ".00"); }