From: Agnibho Mondal Date: Wed, 13 Mar 2024 14:57:52 +0000 (+0530) Subject: Bugfix: transaction balance vial-dosage mismatch X-Git-Url: https://code.agnibho.com/repo?a=commitdiff_plain;h=401d75f01f32a8fcc5d3dba7decf4d81bd0460da;p=librevax.git Bugfix: transaction balance vial-dosage mismatch --- diff --git a/templates/transaction-view.html b/templates/transaction-view.html index 9b821ab..771be1c 100644 --- a/templates/transaction-view.html +++ b/templates/transaction-view.html @@ -28,7 +28,7 @@ You should have received a copy of the GNU General Public License along with Lib {{rec["date"]|format_date}}{{rec["action"]}}{{rec["target"]}}{{(rec["target"]|float*item["dpv"]|float)|int}} {% endfor %} Administered{{usage}} - Balance{{(stock|float-(usage|float/item["dpv"]|float))|int}}{{((stock|float*item["dpv"]|float)-usage|float)|int}} + Balance{{(stock|float-(usage|float/item["dpv"]|float))|int}}{{((stock|float-(usage|float/item["dpv"]|float))|int)*item["dpv"]|int}}

Vaccination Record