From 62ef9055131f0ccce11bb50ce75b5e4e75845aa0 Mon Sep 17 00:00:00 2001 From: Horilla Date: Wed, 18 Sep 2024 15:47:15 +0530 Subject: [PATCH] [UPDT] BASE : Change in currency section to view prefix or postfix to the amount --- base/templates/penalty/penalty_view.html | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/base/templates/penalty/penalty_view.html b/base/templates/penalty/penalty_view.html index 2b5163cec..cc7250ff8 100644 --- a/base/templates/penalty/penalty_view.html +++ b/base/templates/penalty/penalty_view.html @@ -21,9 +21,15 @@
{{ acc.minus_leaves }}
{{acc.deduct_from_carry_forward|yes_no}}
{% endif %} -
- {{currency}} {{ acc.penalty_amount }} -
+ {% if position == "prefix" %} +
+ {{currency}} {{ acc.penalty_amount }} +
+ {% else %} +
+ {{ acc.penalty_amount }} {{currency}} +
+ {% endif %}
{{ acc.created_at }}
{% endfor %}