SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 97fa64ca authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Add orgtype column to per-country financial data

parent 37473683
No related branches found
No related tags found
No related merge requests found
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
<table class="table"> <table class="table">
<thead> <thead>
<tr> <tr>
<th></th>
<th></th> <th></th>
<th style="text-align: right;">Contribution</th> <th style="text-align: right;">Contribution</th>
<th style="text-align: right;">Expenditures</th> <th style="text-align: right;">Expenditures</th>
...@@ -45,6 +46,7 @@ ...@@ -45,6 +46,7 @@
<tbody> <tbody>
<tr class="bg-light"> <tr class="bg-light">
<td>Total</td> <td>Total</td>
<td></td>
<td style="text-align: right;">{{ cumulative.contribution }}</td> <td style="text-align: right;">{{ cumulative.contribution }}</td>
<td style="text-align: right;">{{ cumulative.expenditures }}</td> <td style="text-align: right;">{{ cumulative.expenditures }}</td>
<td style="text-align: right;">{{ cumulative.balance }}</td> <td style="text-align: right;">{{ cumulative.balance }}</td>
...@@ -53,6 +55,7 @@ ...@@ -53,6 +55,7 @@
{% if organization.cf_balance_info.cumulative.contribution > 0 or organization.cf_balance_info.cumulative.expenditures > 0 %} {% if organization.cf_balance_info.cumulative.contribution > 0 or organization.cf_balance_info.cumulative.expenditures > 0 %}
<tr> <tr>
<td><a href="https://{{ request.get_host }}{{ organization.get_absolute_url }}">{{ organization }}</a></td> <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.contribution }}</td>
<td style="text-align: right;">{{ organization.cf_balance_info.cumulative.expenditures }}</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> <td style="text-align: right;">{{ organization.cf_balance_info.cumulative.balance }}</td>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment