Renamed the classes used in the income statement in the accounting application.
This commit is contained in:
parent
4087cebf87
commit
bbe4b39fde
@ -103,15 +103,15 @@
|
|||||||
.income-statement-table td .subject {
|
.income-statement-table td .subject {
|
||||||
text-indent: 2em;
|
text-indent: 2em;
|
||||||
}
|
}
|
||||||
.income-statement-table tr.first-level-header {
|
.income-statement-table tr.section-title {
|
||||||
font-weight: bolder;
|
font-weight: bolder;
|
||||||
font-size: 1.21em;
|
font-size: 1.21em;
|
||||||
}
|
}
|
||||||
.income-statement-table tr.second-level-header {
|
.income-statement-table tr.group-title {
|
||||||
font-weight: bolder;
|
font-weight: bolder;
|
||||||
font-size: 1.1em;
|
font-size: 1.1em;
|
||||||
}
|
}
|
||||||
.income-statement-table td .second-level-header {
|
.income-statement-table td .group-title {
|
||||||
text-indent: 1em;
|
text-indent: 1em;
|
||||||
}
|
}
|
||||||
.income-statement-table .total {
|
.income-statement-table .total {
|
||||||
@ -119,7 +119,7 @@
|
|||||||
font-size: 1.1em;
|
font-size: 1.1em;
|
||||||
font-weight: bolder;
|
font-weight: bolder;
|
||||||
}
|
}
|
||||||
.income-statement-table .cum-total {
|
.income-statement-table .cumulative-total {
|
||||||
font-size: 1.21em;
|
font-size: 1.21em;
|
||||||
font-weight: bolder;
|
font-weight: bolder;
|
||||||
}
|
}
|
||||||
@ -127,7 +127,7 @@
|
|||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
.income-statement-list .first-level-header {
|
.income-statement-list .section-title {
|
||||||
font-weight: bolder;
|
font-weight: bolder;
|
||||||
font-size: 1.21em;
|
font-size: 1.21em;
|
||||||
}
|
}
|
||||||
@ -140,7 +140,7 @@
|
|||||||
font-size: 1.1em;
|
font-size: 1.1em;
|
||||||
font-weight: bolder;
|
font-weight: bolder;
|
||||||
}
|
}
|
||||||
.income-statement-list .cum-total {
|
.income-statement-list .cumulative-total {
|
||||||
font-weight: bolder;
|
font-weight: bolder;
|
||||||
font-size: 1.21em;
|
font-size: 1.21em;
|
||||||
}
|
}
|
||||||
|
@ -93,7 +93,7 @@ First written: 2020/7/19
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for section in item_list %}
|
{% for section in item_list %}
|
||||||
<tr class="first-level-header">
|
<tr class="section-title">
|
||||||
<td><div>{{ section.title|title|escape }}</div></td>
|
<td><div>{{ section.title|title|escape }}</div></td>
|
||||||
<td class="amount"></td>
|
<td class="amount"></td>
|
||||||
<td class="amount"></td>
|
<td class="amount"></td>
|
||||||
@ -101,8 +101,8 @@ First written: 2020/7/19
|
|||||||
</tr>
|
</tr>
|
||||||
{% if section.groups %}
|
{% if section.groups %}
|
||||||
{% for group in section.groups %}
|
{% for group in section.groups %}
|
||||||
<tr class="second-level-header">
|
<tr class="group-title">
|
||||||
<td><div class="second-level-header">{{ group.title|title|escape }}</div></td>
|
<td><div class="group-title">{{ group.title|title|escape }}</div></td>
|
||||||
<td class="amount"></td>
|
<td class="amount"></td>
|
||||||
<td class="amount"></td>
|
<td class="amount"></td>
|
||||||
<td class="actions"></td>
|
<td class="actions"></td>
|
||||||
@ -136,7 +136,7 @@ First written: 2020/7/19
|
|||||||
</tr>
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if section.cumulative_total is not None %}
|
{% if section.cumulative_total is not None %}
|
||||||
<tr class="cum-total">
|
<tr class="cumulative-total">
|
||||||
<td><div>{{ section.cumulative_total.title|title|escape }}</div></td>
|
<td><div>{{ section.cumulative_total.title|title|escape }}</div></td>
|
||||||
<td class="amount"></td>
|
<td class="amount"></td>
|
||||||
<td class="amount {% if section.cumulative_total.total < 0 %} text-danger {% endif %}">{{ section.cumulative_total.total|accounting_amount }}</td>
|
<td class="amount {% if section.cumulative_total.total < 0 %} text-danger {% endif %}">{{ section.cumulative_total.total|accounting_amount }}</td>
|
||||||
@ -163,12 +163,12 @@ First written: 2020/7/19
|
|||||||
<div class="col-sm-12">
|
<div class="col-sm-12">
|
||||||
<ul class="list-group income-statement-list">
|
<ul class="list-group income-statement-list">
|
||||||
{% for section in item_list %}
|
{% for section in item_list %}
|
||||||
<li class="list-group-item d-flex justify-content-between align-items-center first-level-header">
|
<li class="list-group-item d-flex justify-content-between align-items-center section-title">
|
||||||
{{ section.title|title|escape }}
|
{{ section.title|title|escape }}
|
||||||
</li>
|
</li>
|
||||||
{% if section.groups %}
|
{% if section.groups %}
|
||||||
{% for group in section.groups %}
|
{% for group in section.groups %}
|
||||||
<li class="list-group-item d-flex justify-content-between align-items-center second-level-header">
|
<li class="list-group-item d-flex justify-content-between align-items-center group-title">
|
||||||
{{ group.title|title|escape }}
|
{{ group.title|title|escape }}
|
||||||
</li>
|
</li>
|
||||||
{% for item in group.details %}
|
{% for item in group.details %}
|
||||||
@ -201,7 +201,7 @@ First written: 2020/7/19
|
|||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if section.cumulative_total is not None %}
|
{% if section.cumulative_total is not None %}
|
||||||
<li class="list-group-item d-flex justify-content-between align-items-center cum-total">
|
<li class="list-group-item d-flex justify-content-between align-items-center cumulative-total">
|
||||||
{{ section.cumulative_total.title|title|escape }}
|
{{ section.cumulative_total.title|title|escape }}
|
||||||
<div class="float-right">
|
<div class="float-right">
|
||||||
<span class="badge {% if section.cumulative_total.total < 0 %} badge-danger {% else %} badge-info {% endif %} badge-pill">
|
<span class="badge {% if section.cumulative_total.total < 0 %} badge-danger {% else %} badge-info {% endif %} badge-pill">
|
||||||
|
Loading…
Reference in New Issue
Block a user