From c861b9ae07e436a445ea5dc52bf150b5dfd94199 Mon Sep 17 00:00:00 2001 From: Herculino Trotta Date: Fri, 3 Jan 2025 17:36:10 -0300 Subject: [PATCH 1/2] fix(networth): charts not changing between views --- app/templates/net_worth/net_worth.html | 65 ++++++++++++++------------ 1 file changed, 36 insertions(+), 29 deletions(-) diff --git a/app/templates/net_worth/net_worth.html b/app/templates/net_worth/net_worth.html index 6908ade..b5c75da 100644 --- a/app/templates/net_worth/net_worth.html +++ b/app/templates/net_worth/net_worth.html @@ -9,7 +9,7 @@ {% block title %}{% if type == "current" %}{% translate 'Current Net Worth' %}{% else %}{% translate 'Projected Net Worth' %}{% endif %}{% endblock %} {% block content %} -
+
@@ -52,7 +52,7 @@
-
+
@@ -136,7 +136,7 @@
-
+
@@ -144,13 +144,19 @@
- From eb753bb30eaea823b564904b294b9709f6b2938f Mon Sep 17 00:00:00 2001 From: Herculino Trotta Date: Sat, 4 Jan 2025 01:32:09 -0300 Subject: [PATCH 2/2] 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 %}