Browse Source

Corrects a bug, by returning a deleted value.

devel
Jonathan Rosenbaum 7 years ago
parent
commit
bd00d498f1
  1. 1
      js/transaction.js

1
js/transaction.js

@ -674,6 +674,7 @@ $(function() {
(hours_applied_with_value * (discount / 100).toFixed(2));
} else {
difference = price - obj.sweat_equity_limit;
value_to_apply_discount = price - sweat_equity_limit;
hours_applied_with_value = difference - value_to_apply_discount;
console.log(value_to_apply_discount + " + " + " ( " + difference + " - (" + hours_applied_with_value + " * ." + discount + ") )");

Loading…
Cancel
Save