Menu

#4 show sum as hours in statistic/efforts.php

open
nobody
None
5
2008-09-23
2008-09-23
No

i like to see the sum both, as sum days and sum hors.

so here is a small patch:

search in
timeeffect/templates/statistic/effort/list.ihtml
for
formatNumber($sum_effort_days, true)

and edit the table row so you have:

------------------------

</TR><TR HEIGHT="25">
<TD COLSPAN="3"></TD>
<TD CLASS="listSum" ALIGN="right" valign="top"><?= $GLOBALS['_PJ_strings']['sum'] ?>:</TD>
<TD CLASS="listSumNumeric" valign="top"><?php if($sum_effort_days) print formatNumber($sum_effort_days, true).'<br>('.formatNumber($sum_effort_days*8, true).' St.)'; ?></TD>
<TD CLASS="listSumNumeric" valign="top"><?php if($sum_effort_costs) print formatNumber($sum_effort_costs, true) . '&nbsp;' . $GLOBALS['_PJ_currency']; ?></TD>
</TR><TR>

--------------------

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.