From e0f7b532f87f276465b10a069692bc048b26d15f Mon Sep 17 00:00:00 2001 From: Herculino Trotta Date: Mon, 27 Jan 2025 22:44:05 -0300 Subject: [PATCH] fix(calendar): tooltip error when transaction has no description and wrong color --- app/templates/calendar_view/fragments/list.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/app/templates/calendar_view/fragments/list.html b/app/templates/calendar_view/fragments/list.html index dc1b560..0425062 100644 --- a/app/templates/calendar_view/fragments/list.html +++ b/app/templates/calendar_view/fragments/list.html @@ -39,23 +39,23 @@ {% for transaction in date.transactions %} {% if transaction.is_paid %} {% if transaction.type == "IN" and not transaction.account.is_asset %} - + {% elif transaction.type == "IN" and transaction.account.is_asset %} - + {% elif transaction.type == "EX" and not transaction.account.is_asset %} - + {% elif transaction.type == "EX" and transaction.account.is_asset %} - + {% endif %} {% else %} {% if transaction.type == "IN" and not transaction.account.is_asset %} - + {% elif transaction.type == "IN" and transaction.account.is_asset %} - + {% elif transaction.type == "EX" and not transaction.account.is_asset %} - + {% elif transaction.type == "EX" and transaction.account.is_asset %} - + {% endif %} {% endif %} {% endfor %}