mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2026-09-03 10:21:38 -04:00
Corrects a bug, by returning a deleted value.
This commit is contained in:
@@ -674,6 +674,7 @@ $(function() {
|
|||||||
(hours_applied_with_value * (discount / 100).toFixed(2));
|
(hours_applied_with_value * (discount / 100).toFixed(2));
|
||||||
} else {
|
} else {
|
||||||
difference = price - obj.sweat_equity_limit;
|
difference = price - obj.sweat_equity_limit;
|
||||||
|
value_to_apply_discount = price - sweat_equity_limit;
|
||||||
hours_applied_with_value = difference - value_to_apply_discount;
|
hours_applied_with_value = difference - value_to_apply_discount;
|
||||||
|
|
||||||
console.log(value_to_apply_discount + " + " + " ( " + difference + " - (" + hours_applied_with_value + " * ." + discount + ") )");
|
console.log(value_to_apply_discount + " + " + " ( " + difference + " - (" + hours_applied_with_value + " * ." + discount + ") )");
|
||||||
|
|||||||
Reference in New Issue
Block a user