membershipworks: Round durations in event reports to two digits
This commit is contained in:
parent
c489c492b2
commit
8155402dbb
@ -32,8 +32,8 @@
|
|||||||
<td>{{ year.count__sum }}</td>
|
<td>{{ year.count__sum }}</td>
|
||||||
<td>{{ year.instructor__count }}</td>
|
<td>{{ year.instructor__count }}</td>
|
||||||
<td>{{ year.meeting_times__count__sum }}</td>
|
<td>{{ year.meeting_times__count__sum }}</td>
|
||||||
<td>{{ year.duration__sum|duration_as_hours }}</td>
|
<td>{{ year.duration__sum|duration_as_hours|floatformat:-2 }}</td>
|
||||||
<td>{{ year.person_hours__sum|duration_as_hours }}</td>
|
<td>{{ year.person_hours__sum|duration_as_hours|floatformat:-2 }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
@ -38,8 +38,8 @@
|
|||||||
<td>{{ event.count }}</td>
|
<td>{{ event.count }}</td>
|
||||||
<td>{{ event.cap }}</td>
|
<td>{{ event.cap }}</td>
|
||||||
<td>{{ event.meeting_times__count }}</td>
|
<td>{{ event.meeting_times__count }}</td>
|
||||||
<td>{{ event.duration|duration_as_hours }}</td>
|
<td>{{ event.duration|duration_as_hours|floatformat:-2 }}</td>
|
||||||
<td>{{ event.person_hours|duration_as_hours }}</td>
|
<td>{{ event.person_hours|duration_as_hours|floatformat:-2 }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
@ -33,8 +33,8 @@
|
|||||||
<td>{{ month.count__sum }}</td>
|
<td>{{ month.count__sum }}</td>
|
||||||
<td>{{ month.instructor__count }}</td>
|
<td>{{ month.instructor__count }}</td>
|
||||||
<td>{{ month.meeting_times__count__sum }}</td>
|
<td>{{ month.meeting_times__count__sum }}</td>
|
||||||
<td>{{ month.duration__sum|duration_as_hours }}</td>
|
<td>{{ month.duration__sum|duration_as_hours|floatformat:-2 }}</td>
|
||||||
<td>{{ month.person_hours__sum|duration_as_hours }}</td>
|
<td>{{ month.person_hours__sum|duration_as_hours|floatformat:-2 }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
Loading…
Reference in New Issue
Block a user