Last report row is not bold

This commit is contained in:
Luca Deri 2016-11-08 20:04:06 +01:00
parent c7b93cff06
commit 3d7da1fcc2

View file

@ -19,8 +19,12 @@
{% end %}
{% end %}
{% for j in range(2, #report.values) do %}
<td class='text-right col-sm-1'>{{report.values[j][i]}}</td>
{% for j in range(2, #report.values) do %}
{% if i == report.rows then %}
<th class='text-right col-sm-1'>{{report.values[j][i]}}</th> <!-- Total-->
{% else %}
<td class='text-right col-sm-1'>{{report.values[j][i]}}</td>
{% end %}
{% end %}
</tr>
{% end %}