diff --git a/accounting/templates/accounting/income-statement.html b/accounting/templates/accounting/income-statement.html index 43f27d5..4b15cc0 100644 --- a/accounting/templates/accounting/income-statement.html +++ b/accounting/templates/accounting/income-statement.html @@ -74,152 +74,148 @@ First written: 2020/7/19 {% include "mia_core/include/period-chooser.html" %} -{% if item_list %} - {# The table for large screens #} -
- | {% trans "Amount" context "Accounting|" as text %}{{ text|force_escape }} | -+ |
---|
+ | {% trans "Amount" context "Accounting|" as text %}{{ text|force_escape }} | ++ | ||
---|---|---|---|---|
{{ section.title|title|escape }} |
+ + | + | ||
{{ section.title|title|escape }} |
- - | - | - | |
{{ group.title|title|escape }} |
+ {% if section.groups %}
+ {% for group in section.groups %}
+ ||||
{{ group.title|title|escape }} |
+ + | + | + | |
{{ item.title|title|escape }} |
+ {{ item.balance|accounting_amount }} | - | - | - |
{{ item.title|title|escape }} |
- {{ item.balance|accounting_amount }} | -- | - - - {% trans "View" context "Accounting|" as text %}{{ text|force_escape }} - - | -|
{% trans "Total" context "Accounting|" as text %}{{ text|force_escape }} |
- - | {{ group.total|accounting_amount }} | -+ | + + + {% trans "View" context "Accounting|" as text %}{{ text|force_escape }} + + |
{% trans "Total" context "Accounting|" as text %}{{ text|force_escape }} |
- | - | +{{ group.total|accounting_amount }} | |
{{ section.cumulative_total.title|title|escape }} |
- - | {{ section.cumulative_total.total|accounting_amount }} | -- | |
{{ _("There is currently no data.")|force_escape }}
-{% endif %} +