diff --git a/drcr/templates/trial_balance.html b/drcr/templates/trial_balance.html index 32ed2d7..3db5caf 100644 --- a/drcr/templates/trial_balance.html +++ b/drcr/templates/trial_balance.html @@ -1,5 +1,5 @@ {# DrCr: Web-based double-entry bookkeeping framework - Copyright (C) 2022 Lee Yingtong Li (RunasSudo) + Copyright (C) 2022–2024 Lee Yingtong Li (RunasSudo) This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by @@ -15,32 +15,34 @@ along with this program. If not, see . #} -{% extends 'base.html' %} +{% extends 'base_tailwind.html' %} {% block title %}Trial balance{% endblock %} {% block content %} -

Trial balance

+

+ Trial balance +

- +
- - - - + + + + {% for name, balance in accounts.items() %} - - - + + + {% endfor %} - - - + + +
AccountDrCr
AccountDrCr
{{ name }}{{ balance.format() if balance.quantity >= 0 else '' }}{{ (balance|abs).format() if balance.quantity < 0 else '' }}{{ name }}{{ balance.format() if balance.quantity >= 0 else '' }}{{ (balance|abs).format() if balance.quantity < 0 else '' }}
Total{{ total_dr.format() }}{{ (total_cr|abs).format() }}Total{{ total_dr.format() }}{{ (total_cr|abs).format() }}