From ffa332953f68e2be07ba61bd56de1abddc016388 Mon Sep 17 00:00:00 2001 From: Agnibho Mondal Date: Wed, 13 Mar 2024 20:22:56 +0530 Subject: [PATCH] Transaction balance as integer --- templates/transaction-view.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/transaction-view.html b/templates/transaction-view.html index 09fd07d..9b821ab 100644 --- a/templates/transaction-view.html +++ b/templates/transaction-view.html @@ -27,8 +27,8 @@ You should have received a copy of the GNU General Public License along with Lib {% for rec in data %} {{rec["date"]|format_date}}{{rec["action"]}}{{rec["target"]}}{{(rec["target"]|float*item["dpv"]|float)|int}} {% endfor %} - Administered{{usage|float/item["dpv"]|float}}{{usage}} - Balance{{stock|float-(usage|float/item["dpv"]|float)}}{{(stock|float*item["dpv"]|float)-usage|float}} + Administered{{usage}} + Balance{{(stock|float-(usage|float/item["dpv"]|float))|int}}{{((stock|float*item["dpv"]|float)-usage|float)|int}}

Vaccination Record

-- 2.39.5