Browse Source

Because #4 creates a special type of transaction, amount is disabled.

* enabled on sold_to.change
devel
Jonathan Rosenbaum 7 years ago
parent
commit
956faaa279
  1. 2
      js/transaction.js

2
js/transaction.js

@ -855,6 +855,7 @@ $(function() {
sold_to.change(function() {
amount.prop("disabled","");
var membership_obj; //reuse this object
if (this.value !== "no_selection") {
var expiration_date;
@ -1243,6 +1244,7 @@ $(function() {
$("#membership_discount").text("Member pays $" + discount_price).show();
$("#membership_discount_price").text(discount_price);
$("#redeemable_hours").spinner("disable");
amount.prop("disabled","disabled");
} else {
$("#membership_discount").empty();
$("#membership_discount_price").empty();

Loading…
Cancel
Save