From c20555426d8b11cbd9aedf47425e5cb57a64536d Mon Sep 17 00:00:00 2001 From: Sungho Cho Date: Sun, 8 Dec 2019 12:18:40 -0500 Subject: [PATCH] Update bill view to display original currencies and original amounts --- ihatemoney/templates/list_bills.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ihatemoney/templates/list_bills.html b/ihatemoney/templates/list_bills.html index 84f72994..cde55de4 100644 --- a/ihatemoney/templates/list_bills.html +++ b/ihatemoney/templates/list_bills.html @@ -101,7 +101,7 @@
- + {% for bill in bills %} @@ -121,6 +121,8 @@ {{ bill.owers|join(', ', 'name') }} {%- endif %} + +
{{ _("When?") }}{{ _("Who paid?") }}{{ _("For what?") }}{{ _("For whom?") }}{{ _("How much?") }}{{ _("Actions") }}
{{ _("When?") }}{{ _("Who paid?") }}{{ _("For what?") }}{{ _("For whom?") }}{{ _("How much?") }}{{ _("Original Currency") }}{{ _("Original Amount") }}{{ _("Actions") }}
{{ "%0.2f"|format(bill.amount) }} ({{ "%0.2f"|format(bill.pay_each()) }} {{ _("each") }}){{ bill.original_currency }}{{ bill.original_amount }} {{ _('edit') }} {{ _('delete') }}