-
+
- @@ -216,13 +217,13 @@ class="fa-solid fa-clone fa-fw mr-2">{% translate 'Duplicate' %}
-
+
{% if transaction.account.is_untracked_by %}
+
-
+
-
-
{% translate 'projected income' %}
+
+
-
+
{% if account.income_projected != 0 %}
- {% translate 'projected income' %}
+
+ :decimal_places="account.currency.decimal_places"
+ color="green">
{% else %}
-
{% if account.exchanged and account.exchanged.income_projected %}
- -
+ -
{% endif %}
+
+ :decimal_places="account.exchanged.currency.decimal_places"
+ color="gray">
{% endif %}
-
-
{% translate 'projected expenses' %}
+
+
-
+
{% translate 'projected expenses' %}
{% if account.expense_projected != 0 %}
-
{% if account.exchanged and account.exchanged.expense_projected %}
-
+
+ :decimal_places="account.currency.decimal_places"
+ color="red">
{% else %}
-
-
+ -
{% endif %}
+
+ :decimal_places="account.exchanged.currency.decimal_places"
+ color="gray">
{% endif %}
-
-
{% translate 'projected total' %}
+
+
-
+
{% translate 'projected total' %}
+ class="text-end ">
{% if account.exchanged.total_projected and account.exchanged.total_projected %}
-
+
+ :decimal_places="account.exchanged.currency.decimal_places"
+ color="gray">
{% endif %}
-
-
{% translate 'current income' %}
+
+
-
+
{% if account.income_current != 0 %}
- {% translate 'current income' %}
+
+ :decimal_places="account.currency.decimal_places"
+ color="green">
{% else %}
-
{% if account.exchanged and account.exchanged.income_current %}
- -
+ -
{% endif %}
+
+ :decimal_places="account.exchanged.currency.decimal_places"
+ color="gray">
{% endif %}
-
-
{% translate 'current expenses' %}
+
+
-
+
{% if account.expense_current != 0 %}
- {% translate 'current expenses' %}
+
+ :decimal_places="account.currency.decimal_places"
+ color="red">
{% else %}
-
{% if account.exchanged and account.exchanged.expense_current %}
- -
+ -
{% endif %}
+
+ :decimal_places="account.exchanged.currency.decimal_places"
+ color="gray">
{% endif %}
-
-
{% translate 'current total' %}
+
+
-
- {% translate 'current total' %}
+
+
{% if account.exchanged and account.exchanged.total_current %}
-
+
+ :decimal_places="account.exchanged.currency.decimal_places"
+ color="gray">
{% endif %}
-
-
{% translate 'final total' %}
+
+
-
- {% translate 'final total' %}
+
+
{% if account.exchanged and account.exchanged.total_final %}
-
+
+ :decimal_places="account.exchanged.currency.decimal_places"
+ color="gray">
{% endif %}
diff --git a/app/templates/cotton/ui/currency_card.html b/app/templates/cotton/ui/currency_card.html
index 45c3e73..8d6ffd0 100644
--- a/app/templates/cotton/ui/currency_card.html
+++ b/app/templates/cotton/ui/currency_card.html
@@ -6,65 +6,69 @@
{{ currency.currency.name }}
-
-
{% translate 'projected income' %}
+
+
-
+
{% if currency.income_projected != 0 %}
- {% translate 'projected income' %}
+
+ :decimal_places="currency.currency.decimal_places"
+ color="green">
{% else %}
-
{% if currency.exchanged and currency.exchanged.income_projected %}
- -
+ -
{% endif %}
+
+ :decimal_places="currency.exchanged.currency.decimal_places"
+ color="gray">
{% endif %}
-
-
{% translate 'projected expenses' %}
+
+
-
+
{% translate 'projected expenses' %}
{% if currency.expense_projected != 0 %}
-
{% if currency.exchanged and currency.exchanged.expense_projected %}
-
+
+ :decimal_places="currency.currency.decimal_places"
+ color="red">
{% else %}
-
-
+ -
{% endif %}
+
+ :decimal_places="currency.exchanged.currency.decimal_places"
+ color="gray">
{% endif %}
-
-
{% translate 'projected total' %}
+
+
-
- {% translate 'projected total' %}
+
+
{% if currency.exchanged.total_projected and currency.exchanged.total_projected %}
-
+
+ :decimal_places="currency.exchanged.currency.decimal_places"
+ color="gray">
{% endif %}
-
+
+
-
-
{% translate 'current income' %}
+
+
-
+
{% if currency.income_current != 0 %}
- {% translate 'current income' %}
+
+ :decimal_places="currency.currency.decimal_places"
+ color="green">
{% else %}
-
{% if currency.exchanged and currency.exchanged.income_current %}
- -
+ -
{% endif %}
+
+ :decimal_places="currency.exchanged.currency.decimal_places"
+ color="gray">
{% endif %}
-
-
{% translate 'current expenses' %}
+
+
-
+
{% if currency.expense_current != 0 %}
- {% translate 'current expenses' %}
+
+ :decimal_places="currency.currency.decimal_places"
+ color="red">
{% else %}
-
{% if currency.exchanged and currency.exchanged.expense_current %}
- -
+ -
{% endif %}
+
+ :decimal_places="currency.exchanged.currency.decimal_places"
+ color="gray">
{% endif %}
-
-
{% translate 'current total' %}
+
+
-
- {% translate 'current total' %}
+
+
{% if currency.exchanged and currency.exchanged.total_current %}
-
+
+ :decimal_places="currency.exchanged.currency.decimal_places"
+ color="gray">
{% endif %}
-
+
+
-
-
{% translate 'final total' %}
+
+
-
- {% translate 'final total' %}
+
+
{% if currency.exchanged and currency.exchanged.total_final %}
-
+
+ :decimal_places="currency.exchanged.currency.decimal_places"
+ color="gray">
{% endif %}
diff --git a/app/templates/cotton/ui/help_icon.html b/app/templates/cotton/ui/help_icon.html
index 23a707d..8f092d9 100644
--- a/app/templates/cotton/ui/help_icon.html
+++ b/app/templates/cotton/ui/help_icon.html
@@ -1,8 +1,6 @@
{% spaceless %}
{% load i18n %}
-
-
+
-
{% endspaceless %}
diff --git a/app/templates/cotton/ui/info_card.html b/app/templates/cotton/ui/info_card.html
index df6ff99..1112016 100644
--- a/app/templates/cotton/ui/info_card.html
+++ b/app/templates/cotton/ui/info_card.html
@@ -1,4 +1,4 @@
-
+
{% if icon %}{% else %}{{ title.0 }}{% endif %}
diff --git a/app/templates/cotton/ui/percentage_distribution.html b/app/templates/cotton/ui/percentage_distribution.html
index e1d20e8..c28a331 100644
--- a/app/templates/cotton/ui/percentage_distribution.html
+++ b/app/templates/cotton/ui/percentage_distribution.html
@@ -8,7 +8,7 @@
{% if percentage.percentages.income_projected > 0 %}rounded-s-full{% endif %}
{% if percentage.percentages.income_projected > 0 and percentage.percentages.income_current <= 0 and percentage.percentages.expense_projected <= 0 and percentage.percentages.expense_current <= 0 %}rounded-e-full{% endif %}"
style="width: {{ percentage.percentages.income_projected|floatformat:'2u' }}%"
- data-tip="{% trans 'Projected Income' %} ({{ percentage.percentages.income_projected|floatformat:2 }}%)"
+ data-tippy-content="{% trans 'Projected Income' %} ({{ percentage.percentages.income_projected|floatformat:2 }}%)"
role="progressbar"
aria-label="{% trans 'Projected Income' %} ({{ percentage.percentages.income_projected|floatformat:2 }}%)"
aria-valuenow="{{ percentage.percentages.income_projected|floatformat:0 }}"
@@ -21,7 +21,7 @@
{% if percentage.percentages.income_projected <= 0 and percentage.percentages.income_current > 0 %}rounded-s-full{% endif %}
{% if percentage.percentages.income_current > 0 and percentage.percentages.expense_projected <= 0 and percentage.percentages.expense_current <= 0 %}rounded-e-full{% endif %}"
style="width: {{ percentage.percentages.income_current|floatformat:'2u' }}%"
- data-tip="{% trans 'Current Income' %} ({{ percentage.percentages.income_current|floatformat:2 }}%)"
+ data-tippy-content="{% trans 'Current Income' %} ({{ percentage.percentages.income_current|floatformat:2 }}%)"
role="progressbar"
aria-label="{% trans 'Current Income' %} ({{ percentage.percentages.income_current|floatformat:2 }}%)"
aria-valuenow="{{ percentage.percentages.income_current|floatformat:0 }}"
@@ -34,7 +34,7 @@
{% if percentage.percentages.income_projected <= 0 and percentage.percentages.income_current <= 0 and percentage.percentages.expense_projected > 0 %}rounded-s-full{% endif %}
{% if percentage.percentages.expense_projected > 0 and percentage.percentages.expense_current <= 0 %}rounded-e-full{% endif %}"
style="width: {{ percentage.percentages.expense_projected|floatformat:'2u' }}%"
- data-tip="{% trans 'Projected Expenses' %} ({{ percentage.percentages.expense_projected|floatformat:2 }}%)"
+ data-tippy-content="{% trans 'Projected Expenses' %} ({{ percentage.percentages.expense_projected|floatformat:2 }}%)"
role="progressbar"
aria-label="{% trans 'Projected Expenses' %} ({{ percentage.percentages.expense_projected|floatformat:2 }}%)"
aria-valuenow="{{ percentage.percentages.expense_projected|floatformat:0 }}"
@@ -47,7 +47,7 @@
{% if percentage.percentages.income_projected <= 0 and percentage.percentages.income_current <= 0 and percentage.percentages.expense_projected <= 0 and percentage.percentages.expense_current > 0 %}rounded-s-full{% endif %}
{% if percentage.percentages.expense_current > 0 %}rounded-e-full{% endif %}"
style="width: {{ percentage.percentages.expense_current|floatformat:'2u' }}%"
- data-tip="{% trans 'Current Expenses' %} ({{ percentage.percentages.expense_current|floatformat:2 }}%)"
+ data-tippy-content="{% trans 'Current Expenses' %} ({{ percentage.percentages.expense_current|floatformat:2 }}%)"
role="progressbar"
aria-label="{% trans 'Current Expenses' %} ({{ percentage.percentages.expense_current|floatformat:2 }}%)"
aria-valuenow="{{ percentage.percentages.expense_current|floatformat:0 }}"
diff --git a/app/templates/insights/pages/index.html b/app/templates/insights/pages/index.html
index 176829b..4aaef24 100644
--- a/app/templates/insights/pages/index.html
+++ b/app/templates/insights/pages/index.html
@@ -6,114 +6,127 @@
{% block content %}
-
-
-
-
-
+
+
+
-
+
-
+
-
+
+
-
+ if type == 'month'
+ remove .hidden from #month-form
+ end
+ if type == 'year'
+ remove .hidden from #year-form
+ end
+ if type == 'month-range'
+ remove .hidden from #month-range-form
+ end
+ if type == 'year-range'
+ remove .hidden from #year-range-form
+ end
+ if type == 'date-range'
+ remove .hidden from #date-range-form
+ end
+ then trigger updated"
+ id="picker-type">
+
-
+
-
+
-
+
-
+
+
+
+
+
+
+
+
+
-
-
-
-
-
- - - +
- - - +
+
+
+
+
+
+
+
+
diff --git a/app/templates/monthly_overview/fragments/monthly_summary.html b/app/templates/monthly_overview/fragments/monthly_summary.html
index f16fe77..c67015c 100644
--- a/app/templates/monthly_overview/fragments/monthly_summary.html
+++ b/app/templates/monthly_overview/fragments/monthly_summary.html
@@ -6,7 +6,7 @@
-
{% translate 'today' %}
+ {% translate 'today' %}
{% for currency in daily_spending_allowance.values %}
@@ -39,7 +39,7 @@
-
{% translate 'current' %}
+ {% translate 'current' %}
{% for currency in income_current.values %}
@@ -68,7 +68,7 @@
-
{% translate 'projected' %}
+ {% translate 'projected' %}
{% for currency in income_projected.values %}
@@ -102,7 +102,7 @@
-
{% translate 'current' %}
+ {% translate 'current' %}
{% for currency in expense_current.values %}
@@ -131,7 +131,7 @@
-
{% translate 'projected' %}
+ {% translate 'projected' %}
{% for currency in expense_projected.values %}
@@ -165,7 +165,7 @@
-
{% translate 'current' %}
+ {% translate 'current' %}
{% for currency in total_current.values %}
@@ -194,7 +194,7 @@
-
{% translate 'projected' %}
+ {% translate 'projected' %}
{% for currency in total_projected.values %}
@@ -254,7 +254,7 @@
{% for p in percentages.values %}
-
{% endfor %}
diff --git a/app/templates/net_worth/net_worth.html b/app/templates/net_worth/net_worth.html
index c253587..57c5840 100644
--- a/app/templates/net_worth/net_worth.html
+++ b/app/templates/net_worth/net_worth.html
@@ -34,12 +34,6 @@
value="projected"
{% if type == "projected" %}checked{% endif %} />
- {% comment %}
{{ p.currency.name }}
+{{ p.currency.name }}
-
- {% trans "Current" %}
-
-
-
{% endcomment %}
diff --git a/app/templates/yearly_overview/pages/overview_by_account.html b/app/templates/yearly_overview/pages/overview_by_account.html
index d8e2ef3..d64b4aa 100644
--- a/app/templates/yearly_overview/pages/overview_by_account.html
+++ b/app/templates/yearly_overview/pages/overview_by_account.html
@@ -17,9 +17,9 @@
{% block filter_pills %}
-
-
diff --git a/app/templates/yearly_overview/pages/overview_by_currency.html b/app/templates/yearly_overview/pages/overview_by_currency.html
index d19418d..2c8ba37 100644
--- a/app/templates/yearly_overview/pages/overview_by_currency.html
+++ b/app/templates/yearly_overview/pages/overview_by_currency.html
@@ -19,9 +19,9 @@
{% block filter_pills %}
-