From eb753bb30eaea823b564904b294b9709f6b2938f Mon Sep 17 00:00:00 2001 From: Herculino Trotta Date: Sat, 4 Jan 2025 01:32:09 -0300 Subject: [PATCH] feat(transactions): properly sum income and expense when selected also added a flatTotal (old behavior) for future use --- app/templates/cotton/transaction/item.html | 2 +- .../cotton/ui/transactions_action_bar.html | 18 +++++++++++++----- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/app/templates/cotton/transaction/item.html b/app/templates/cotton/transaction/item.html index ed0adc9..8007599 100644 --- a/app/templates/cotton/transaction/item.html +++ b/app/templates/cotton/transaction/item.html @@ -1,5 +1,5 @@ {% load i18n %} -
+
{% if not disable_selection %}