Commit 71ade06f authored by Maurice van der Pot's avatar Maurice van der Pot Committed by Maurice van der Pot

fix calculation of task costs in exported HTML for tasks worked on by

2008-01-13  Maurice van der Pot  <griffon26@kfk4ever.com>

	* data/stylesheets/html1_tasks.xsl: fix calculation of task costs in
	exported HTML for tasks worked on by multiple people (bug #499090).


svn path=/trunk/; revision=870
parent b33e48fd
2008-01-13 Maurice van der Pot <griffon26@kfk4ever.com>
* data/stylesheets/html1_tasks.xsl: fix calculation of task costs in
exported HTML for tasks worked on by multiple people (bug #499090).
2007-12-09 Maurice van der Pot <griffon26@kfk4ever.com>
* configure.in: don't fail on make install if update-mime-database or
......
......@@ -33,7 +33,8 @@
<xsl:variable name="std-rate" select="$std-rates[position()=$level]"/>
<xsl:variable name="unit" select="$units[position()=$level] div 100"/>
<xsl:value-of select="($std-rate * $unit * $work) + $cost"/>
<xsl:variable name="totalunits" select="sum($units) div 100"/>
<xsl:value-of select="($std-rate * $unit * $work) div $totalunits + $cost"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
......
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