Skip to content
This repository has been archived by the owner on Apr 7, 2023. It is now read-only.

Commit

Permalink
Adding 2.5% discount
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin McLeod committed Dec 18, 2015
1 parent 62d9749 commit 3c8b1f7
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions app/js/shipyard/module-shipyard.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ angular.module('shipyard', ['ngLodash'])
*/
.constant('Discounts', {
'0%': 1,
'2.5%': 0.975,
'5%': 0.95,
'10%': 0.90,
'15%': 0.85,
Expand Down
2 changes: 1 addition & 1 deletion data
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "coriolis_shipyard",
"version": "1.10.0",
"version": "1.10.1",
"repository": {
"type": "git",
"url": "https://github.com/cmmcleod/coriolis"
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/expected-builds.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@
"Attack": "25A5C4A4D6A4A3C1r0s0s0s0s000404-04-4a-5d27-.Iw18aQ==.Aw18aQ=="
},
"eagle": {
"Figther": "42A3A3A1D2A2A2C0p0p24-40532j.Iw19A===.Aw19A==="
"Figther": "42A3A3A1D2A2A2C0p0p24-40532j-.Iw1-EA==.Aw1-EA=="
}
}
3 changes: 2 additions & 1 deletion test/fixtures/valid-detailed-export.json
Original file line number Diff line number Diff line change
Expand Up @@ -3423,7 +3423,8 @@
"class": 1,
"rating": "A",
"group": "Fuel Scoop"
}
},
null
]
},
"stats": {
Expand Down

0 comments on commit 3c8b1f7

Please sign in to comment.