diff --git a/src/accounting/static/css/style.css b/src/accounting/static/css/style.css index 197a27f..dd284fe 100644 --- a/src/accounting/static/css/style.css +++ b/src/accounting/static/css/style.css @@ -158,37 +158,14 @@ a.accounting-report-table-row { .accounting-income-expenses-table .accounting-report-table-footer .accounting-report-table-row { grid-template-columns: 7fr 1fr 1fr 1fr; } +.accounting-trial-balance-table .accounting-report-table-row { + grid-template-columns: 3fr 1fr 1fr; +} /* The accounting report */ .accounting-mobile-journal-credit { padding-left: 1rem; } -.accounting-report-row { - border: none; -} -a.accounting-report-row:hover { - color: inherit; -} -.accounting-trial-balance-row.accounting-trial-balance-header { - border-bottom: thick double slategray; - font-weight: bolder; - font-size: 1.2rem; -} -.accounting-trial-balance-row.accounting-trial-balance-header .accounting-amount { - font-style: normal; -} -.accounting-trial-balance-row > div { - width: 50%; -} -.accounting-trial-balance-row .accounting-amount { - width: 50%; - font-style: italic; -} -.accounting-trial-balance-row.accounting-trial-balance-total { - border-top: thick double slategray; - font-weight: bolder; - font-size: 1.2rem; -} /* The Material Design text field (floating form control in Bootstrap) */ .accounting-material-text-field { diff --git a/src/accounting/templates/accounting/report/trial-balance.html b/src/accounting/templates/accounting/report/trial-balance.html index baf6fa2..2d76334 100644 --- a/src/accounting/templates/accounting/report/trial-balance.html +++ b/src/accounting/templates/accounting/report/trial-balance.html @@ -122,29 +122,32 @@ First written: 2023/3/5

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

-
-
-
{{ A_("Account") }}
-
+
+
+
+
{{ A_("Account") }}
{{ A_("Debit") }}
{{ A_("Credit") }}
- {% for item in list %} - -
{{ item.account|title }}
-
+ - - {% endfor %} -
-
{{ A_("Total") }}
-
+ + {% endfor %} +
+