Revised the template of the income statement and removed the case when there is no data, because there is always data in the accounting application.
This commit is contained in:
parent
bbe4b39fde
commit
59820f65ca
@ -74,9 +74,8 @@ First written: 2020/7/19
|
|||||||
|
|
||||||
{% include "mia_core/include/period-chooser.html" %}
|
{% include "mia_core/include/period-chooser.html" %}
|
||||||
|
|
||||||
{% if item_list %}
|
{# The table for large screens #}
|
||||||
{# The table for large screens #}
|
<div class="d-none d-sm-block report-block report-block-lg">
|
||||||
<div class="d-none d-sm-block report-block report-block-lg">
|
|
||||||
<div class="row justify-content-center">
|
<div class="row justify-content-center">
|
||||||
<h2>{{ title }}</h2>
|
<h2>{{ title }}</h2>
|
||||||
</div>
|
</div>
|
||||||
@ -151,10 +150,10 @@ First written: 2020/7/19
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{# The list for small screens #}
|
{# The list for small screens #}
|
||||||
<div class="d-sm-none report-block report-block-sm">
|
<div class="d-sm-none report-block report-block-sm">
|
||||||
<div class="row justify-content-center">
|
<div class="row justify-content-center">
|
||||||
<h2>{{ title }}</h2>
|
<h2>{{ title }}</h2>
|
||||||
</div>
|
</div>
|
||||||
@ -217,9 +216,6 @@ First written: 2020/7/19
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
|
||||||
<p>{{ _("There is currently no data.")|force_escape }}</p>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user