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:
依瑪貓 2020-07-20 23:40:12 +08:00
parent bbe4b39fde
commit 59820f65ca

View File

@ -74,9 +74,8 @@ First written: 2020/7/19
{% include "mia_core/include/period-chooser.html" %}
{% if item_list %}
{# The table for large screens #}
<div class="d-none d-sm-block report-block report-block-lg">
{# The table for large screens #}
<div class="d-none d-sm-block report-block report-block-lg">
<div class="row justify-content-center">
<h2>{{ title }}</h2>
</div>
@ -151,10 +150,10 @@ First written: 2020/7/19
</table>
</div>
</div>
</div>
</div>
{# The list for small screens #}
<div class="d-sm-none report-block report-block-sm">
{# The list for small screens #}
<div class="d-sm-none report-block report-block-sm">
<div class="row justify-content-center">
<h2>{{ title }}</h2>
</div>
@ -217,9 +216,6 @@ First written: 2020/7/19
</ul>
</div>
</div>
</div>
{% else %}
<p>{{ _("There is currently no data.")|force_escape }}</p>
{% endif %}
</div>
{% endblock %}