actually use the different VKP rates in the calculation...

svn path=/trunk/; revision=33510
This commit is contained in:
2016-06-14 09:18:15 +00:00
parent c8ab3ec288
commit 60df58763f
+3 -3
View File
@@ -108,7 +108,7 @@ foreach ($days as &$day) { // calculate for each day
// breakfast ($r_b)
if ($break === "yes") {
$r_b = $eur * 0.2;
$r_b = $eur * $c_b;
$r_day = $r_day + $r_b;
$output .= "<td>yes (" . $r_b . $cur . ")</td>";
} else {
@@ -117,7 +117,7 @@ foreach ($days as &$day) { // calculate for each day
// lunch ($r_l)
if ($lunch === "yes") {
$r_l = $eur * 0.4;
$r_l = $eur * $c_l;
$r_day = $r_day + $r_l;
$output .= "<td>yes (" . $r_l . $cur . ")</td>";
} else {
@@ -126,7 +126,7 @@ foreach ($days as &$day) { // calculate for each day
// breakfast ($r_d)
if ($dinner === "yes") {
$r_d = $eur * 0.4;
$r_d = $eur * $c_d;
$r_day = $r_day + $r_d;
$output .= "<td>yes (" . $r_d . $cur . ")</td>";
} else {