diff --git a/drcr/templates/journal/balance_assertions.html b/drcr/templates/journal/balance_assertions.html index cf9986b..7a241ae 100644 --- a/drcr/templates/journal/balance_assertions.html +++ b/drcr/templates/journal/balance_assertions.html @@ -1,5 +1,5 @@ {# DrCr: Web-based double-entry bookkeeping framework - Copyright (C) 2022–2023 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,38 +15,61 @@ along with this program. If not, see . #} -{% extends 'base.html' %} +{% extends 'base_tailwind.html' %} {% block title %}Balance assertions{% endblock %} {% block content %} -

Balance assertions

+

+ Balance assertions +

-
- New assertion + - +
- - - - - + + + + + - + {% for assertion in assertions %} - - - - - - - + + + + + + + {% endfor %}
DateDescriptionAccountBalance
DateDescriptionAccountBalance StatusStatus
{{ assertion.dt.strftime('%Y-%m-%d') }}{{ assertion.description }}{{ assertion.account }}{{ (assertion.balance()|abs).format() }}{{ 'Dr' if assertion.quantity >= 0 else 'Cr' }}{% if assertion_status[assertion] %}{% else %}{% endif %}{{ assertion.dt.strftime('%Y-%m-%d') }}{{ assertion.description }}{{ assertion.account }}{{ (assertion.balance()|abs).format() }}{{ 'Dr' if assertion.quantity >= 0 else 'Cr' }} + {% if assertion_status[assertion] %} + + + + {% else %} + + + + {% endif %} + + + + + + +