Corrects a bug, by returning a deleted value.

This commit is contained in:
Jonathan Rosenbaum
2017-08-02 20:27:13 +00:00
parent 1c6508abd0
commit bd00d498f1
+1
View File
@@ -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 + ") )");