diff --git a/src/accounting/static/css/style.css b/src/accounting/static/css/style.css index a970503..4be6645 100644 --- a/src/accounting/static/css/style.css +++ b/src/accounting/static/css/style.css @@ -58,6 +58,15 @@ font-size: 1.4rem; color: #373b3e; } +.accounting-sheet { + padding: 2em 1.5em; + margin: 1em; + background-color: #F8F9FA; + box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); +} +.accounting-sheet h2 { + border-bottom: thick double slategray; +} /** The option selector */ .accounting-selector-list { @@ -79,15 +88,6 @@ .accounting-entry-control { border-color: transparent; } -.accounting-transaction-card { - padding: 2em 1.5em; - margin: 1em; - background-color: #F8F9FA; - box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); -} -.accounting-transaction-card h2 { - border-bottom: thick double slategray; -} .accounting-list-group-stripped .list-group-item:nth-child(2n+1) { background-color: #f2f2f2; } @@ -127,15 +127,6 @@ td.accounting-amount { font-weight: bolder; font-style: italic; } -.accounting-report-card { - padding: 2em 1.5em; - margin: 1em; - background-color: #F8F9FA; - box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); -} -.accounting-report-card h2 { - border-bottom: thick double slategray; -} .accounting-report-row { border: none; } diff --git a/src/accounting/templates/accounting/report/trial-balance.html b/src/accounting/templates/accounting/report/trial-balance.html index 1aabd5d..baf6fa2 100644 --- a/src/accounting/templates/accounting/report/trial-balance.html +++ b/src/accounting/templates/accounting/report/trial-balance.html @@ -117,7 +117,7 @@ First written: 2023/3/5 {% endwith %} {% if list %} -
+

{{ _("Trial Balance of %(currency)s %(period)s", currency=report.currency.name|title, period=report.period.desc|title) }}

diff --git a/src/accounting/templates/accounting/transaction/include/detail.html b/src/accounting/templates/accounting/transaction/include/detail.html index 71bf68d..1a424b9 100644 --- a/src/accounting/templates/accounting/transaction/include/detail.html +++ b/src/accounting/templates/accounting/transaction/include/detail.html @@ -83,7 +83,7 @@ First written: 2023/2/26 {% endif %} -
+

{{ obj }}