1
0
mirror of https://github.com/fspc/Yellow-Bike-Database.git synced 2025-02-22 08:53:23 -05:00

Fixes a presentation bug for paid member in Stand Time.

This commit is contained in:
Jonathan Rosenbaum 2017-07-24 05:30:36 +00:00
parent 7a09ccfead
commit c6f68ff19b

View File

@ -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");
}