From 4c2b357032aea4e81a2520c8d7a493905f42605a Mon Sep 17 00:00:00 2001 From: Tom Roussel <21120212+TomRoussel@users.noreply.github.com> Date: Sat, 9 Mar 2024 10:13:39 +0100 Subject: [PATCH] Removed bill type from the Bills html table --- ihatemoney/templates/list_bills.html | 2 -- ihatemoney/web.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/ihatemoney/templates/list_bills.html b/ihatemoney/templates/list_bills.html index 6f2fbbaa..79e25262 100644 --- a/ihatemoney/templates/list_bills.html +++ b/ihatemoney/templates/list_bills.html @@ -117,7 +117,6 @@
{{ _("When?") }} - {{ _("Bill Type") }} {{ _("Who paid?") }} {{ _("For what?") }} {{ _("For whom?") }} @@ -133,7 +132,6 @@ {{ bill.date }} - {{ bill.bill_type.value }} {{ bill.payer }} {{ bill.what }} {% if bill.owers|length == g.project.members|length -%} diff --git a/ihatemoney/web.py b/ihatemoney/web.py index a93317a2..32ce979d 100644 --- a/ihatemoney/web.py +++ b/ihatemoney/web.py @@ -866,7 +866,7 @@ def settle(amount, ower_id, payer_id): payer_id=ower_id, project_default_currency=g.project.default_currency, bill_type="Reimbursement", - what="settlement", + what="Settlement", ) session.update()