Hide expected total when it is correct

This commit is contained in:
Edgar P. Burkhart 2024-12-31 16:19:37 +01:00
parent f9e489218d
commit fd140a9314
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -84,7 +84,7 @@
<td class="value">{{ total_p|pmvalue }}</td>
</tr>
{% endif %}
{% if statement %}
{% if statement and statement.diff != statement.sum %}
<tr>
<th scope="row" class="l">{% translate "Expected total" %}</th>
<td class="c">{{ total|check:statement.diff }}</td>