From 77c57bdee5fe75923dcf7512d066d89c92775874 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Mon, 13 Jun 2016 15:21:58 +0200 Subject: [PATCH] Verbesserung Visualisierung Bankverbuchen MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Ein HTML-Tag zuviel. open_amount aus SL/DB/Helper/Payments.pm nehmen anstatt die DB/Invoice.pm unnötigerweise zu erweitern. --- templates/webpages/bank_transactions/add_list.html | 2 +- templates/webpages/bank_transactions/invoices.html | 2 +- templates/webpages/bank_transactions/tabs/all.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/webpages/bank_transactions/add_list.html b/templates/webpages/bank_transactions/add_list.html index 71ffc3ecd..d56217217 100644 --- a/templates/webpages/bank_transactions/add_list.html +++ b/templates/webpages/bank_transactions/add_list.html @@ -19,7 +19,7 @@ [% L.checkbox_tag('invoice_id[]', value=invoice.id) %] [%- invoice.invnumber %] [%- LxERP.format_amount(invoice.amount, 2) %] - [%- LxERP.format_amount(invoice.amount_open, 2) %] + [%- LxERP.format_amount(invoice.open_amount, 2) %] [%- LxERP.format_amount(invoice.amount_less_skonto, 2) %] [%- invoice.transdate_as_date %] [%- invoice.vendor.vendornumber %][%- invoice.customer.customernumber %] diff --git a/templates/webpages/bank_transactions/invoices.html b/templates/webpages/bank_transactions/invoices.html index 3249dcf82..aba030c2a 100644 --- a/templates/webpages/bank_transactions/invoices.html +++ b/templates/webpages/bank_transactions/invoices.html @@ -5,7 +5,7 @@
[% L.hidden_tag('invoice_ids.' _ bt_id _'[]', invoice.id) %] [% 'Invno.' | $T8 %]: [% invoice.invnumber %] - [% 'Amount' | $T8 %]: [% LxERP.format_amount(invoice.amount_open, 2) %] + [% 'Amount' | $T8 %]: [% LxERP.format_amount(invoice.open_amount, 2) %] x
[% END %] diff --git a/templates/webpages/bank_transactions/tabs/all.html b/templates/webpages/bank_transactions/tabs/all.html index 50af95b34..0956daf75 100644 --- a/templates/webpages/bank_transactions/tabs/all.html +++ b/templates/webpages/bank_transactions/tabs/all.html @@ -7,7 +7,7 @@ - [% 'Assigned invoices' | $T8 %] [% 'with amount' | $T8 %]< + [% 'Assigned invoices' | $T8 %] [% 'with amount' | $T8 %] [% IF debug %] [% 'Score' | $T8 %] [% END %] -- 2.20.1