From 97fa64ca55a98647697cc85e5e6cca8c8648c3c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-S=C3=A9bastien=20Caux?= <git@jscaux.org> Date: Fri, 25 Mar 2022 11:52:13 +0100 Subject: [PATCH] Add orgtype column to per-country financial data --- .../finances/templates/finances/_hx_country_level_data.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scipost_django/finances/templates/finances/_hx_country_level_data.html b/scipost_django/finances/templates/finances/_hx_country_level_data.html index 6351b1b67..5551ea2cc 100644 --- a/scipost_django/finances/templates/finances/_hx_country_level_data.html +++ b/scipost_django/finances/templates/finances/_hx_country_level_data.html @@ -36,6 +36,7 @@ <table class="table"> <thead> <tr> + <th></th> <th></th> <th style="text-align: right;">Contribution</th> <th style="text-align: right;">Expenditures</th> @@ -45,6 +46,7 @@ <tbody> <tr class="bg-light"> <td>Total</td> + <td></td> <td style="text-align: right;">{{ cumulative.contribution }}</td> <td style="text-align: right;">{{ cumulative.expenditures }}</td> <td style="text-align: right;">{{ cumulative.balance }}</td> @@ -53,6 +55,7 @@ {% if organization.cf_balance_info.cumulative.contribution > 0 or organization.cf_balance_info.cumulative.expenditures > 0 %} <tr> <td><a href="https://{{ request.get_host }}{{ organization.get_absolute_url }}">{{ organization }}</a></td> + <td>{{ organization.get_orgtype_display }}</td> <td style="text-align: right;">{{ organization.cf_balance_info.cumulative.contribution }}</td> <td style="text-align: right;">{{ organization.cf_balance_info.cumulative.expenditures }}</td> <td style="text-align: right;">{{ organization.cf_balance_info.cumulative.balance }}</td> -- GitLab