This commit is contained in:
Flatlogic Bot 2026-02-03 23:55:25 +00:00
parent 99fb2f4e10
commit 74288569a8

View File

@ -122,10 +122,10 @@
<tr> <tr>
<td class="text-end border-0 text-muted">Adjustments Net:</td> <td class="text-end border-0 text-muted">Adjustments Net:</td>
<td class="text-end border-0"> <td class="text-end border-0">
{% if record.amount >= base_pay %} {% if adjustments_net >= 0 %}
+ R {{ record.amount|sub:base_pay|intcomma }} + R {{ adjustments_net|intcomma }}
{% else %} {% else %}
- R {{ base_pay|sub:record.amount|intcomma }} - R {{ adjustments_net|stringformat:".2f"|slice:"1:"|intcomma }}
{% endif %} {% endif %}
</td> </td>
</tr> </tr>
@ -146,4 +146,4 @@
</div> </div>
</div> </div>
</div> </div>
{% endblock %} {% endblock %}