From f28e8a59c781f24ed9399268cc2536aad0cf534d Mon Sep 17 00:00:00 2001 From: Benedict Börger Date: Sun, 14 Apr 2019 19:12:21 +0200 Subject: [global] update all files --- templates/asset.html.tera | 89 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 templates/asset.html.tera (limited to 'templates/asset.html.tera') diff --git a/templates/asset.html.tera b/templates/asset.html.tera new file mode 100644 index 0000000..bd0e5b9 --- /dev/null +++ b/templates/asset.html.tera @@ -0,0 +1,89 @@ + + + + + + + + + Asset Overview + + + + +
+

Asset

+
+
+ + + + + + + + + {% set amount_sum = 0 %} + {% for account in accounts %} + + + + {% if account.balance >= 0 %} + + {% else %} + + {% endif %} + + {% set_global amount_sum = amount_sum + account.balance %} + {% endfor %} + + + + + {% if amount_sum >= 0 %} + + {% else %} + + {% endif %} + + +
AccountCategoryBalance
{{ account.name }}{{ account.category }}{{ account.balance | round(method="common", precision=2)}}{{ account.balance | round(method="common", precision=2)}}
{{ amount_sum | round(method="common", precision=2) }}{{ amount_sum | round(method="common", precision=2) }}
+
+
+
+ + + + + -- cgit v1.2.3-70-g09d2