From a048f77cf58b723b349876dea3b31011bfac8163 Mon Sep 17 00:00:00 2001 From: "Martin Helmling martin.helmling@octosoft.eu" Date: Wed, 16 Nov 2016 19:11:06 +0100 Subject: [PATCH] Nachkommastellen der Haben Buchungen nicht formatiert Die Habenseite beim mini_ledger wird nicht auf 2 Zeichen begrenzt. Hier auch format_amount eingebaut --- templates/webpages/acc_trans/_mini_ledger.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/webpages/acc_trans/_mini_ledger.html b/templates/webpages/acc_trans/_mini_ledger.html index 3a188610b..4164ef5dc 100644 --- a/templates/webpages/acc_trans/_mini_ledger.html +++ b/templates/webpages/acc_trans/_mini_ledger.html @@ -20,7 +20,7 @@ [%- transaction.chart.accno -%] [%- transaction.chart.description -%] [%- IF transaction.amount < 0 %] [%- LxERP.format_amount(transaction.amount * -1, 2) %] [% END %] - [%- IF transaction.amount > 0 %] [%- transaction.amount_as_number -%] [%- END -%] + [%- IF transaction.amount > 0 %] [%- LxERP.format_amount(transaction.amount , 2) %] [%- END -%] [%- END %] -- 2.20.1