Commit 9b386208 authored by Tim Pettersen's avatar Tim Pettersen

Caught a nasty bug that would've doubly charged customs fees.

parent 389d4c10
......@@ -5,6 +5,7 @@ var federalTransportTax = .025;
function calculateAirfare(baseFare) {
var fare = baseFare;
fare += customsFee; // Fixed it! Phew. Glad we didn't ship that! - Alice
fare += immigrationFee;
fare *= (1 + federalTransportTax);
return fare;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment