about summary refs log tree commit diff stats
path: root/elm/cost-of-meeting/elm.js
diff options
context:
space:
mode:
Diffstat (limited to 'elm/cost-of-meeting/elm.js')
-rw-r--r--elm/cost-of-meeting/elm.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/elm/cost-of-meeting/elm.js b/elm/cost-of-meeting/elm.js
index c8f6587..6ae797c 100644
--- a/elm/cost-of-meeting/elm.js
+++ b/elm/cost-of-meeting/elm.js
@@ -5387,6 +5387,7 @@ var $elm$core$Maybe$withDefault = F2(
 		}
 	});
 var $author$project$Main$viewResults = function (model) {
+	var workingHoursPerYear = (50 * 5) * 8;
 	var salary = A2(
 		$elm$core$Maybe$withDefault,
 		0,
@@ -5402,7 +5403,7 @@ var $author$project$Main$viewResults = function (model) {
 		0,
 		$elm$core$String$toFloat(
 			A3($elm$core$String$replace, ',', '', model.minutes)));
-	var hourlyRate = salary / 2080;
+	var hourlyRate = salary / workingHoursPerYear;
 	var costPerMinute = hourlyRate / 60;
 	var totalCost = (costPerMinute * minutes) * participants;
 	return ((participants > 0) && ((salary > 0) && ((minutes > 0) && $elm$core$List$isEmpty(model.errors)))) ? A2(