Commit c3ca093c authored by Tim Pettersen's avatar Tim Pettersen

Fixed a bug that would charge 2x customsFee.

parent 389d4c10
......@@ -6,6 +6,7 @@ var federalTransportTax = .025;
function calculateAirfare(baseFare) {
var fare = baseFare;
fare += immigrationFee;
fare += customsFee; // Fixed it! Gee, lucky I caught that one. - Bob
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