From ce560cb72869e4d2adfd7fdcf67d75221946af34 Mon Sep 17 00:00:00 2001 From: Werner Hahn Date: Tue, 11 Sep 2018 17:18:55 +0200 Subject: [PATCH] Kundenstatistik: Links bei Orders waren noch falsch --- .../customer_vendor_turnover/_list_open_orders.html | 12 ++++++++---- .../customer_vendor_turnover/order_statistic.html | 4 ++-- .../quotation_statistic.html | 6 ++++-- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/templates/webpages/customer_vendor_turnover/_list_open_orders.html b/templates/webpages/customer_vendor_turnover/_list_open_orders.html index a2f9b6079..ae20d6886 100644 --- a/templates/webpages/customer_vendor_turnover/_list_open_orders.html +++ b/templates/webpages/customer_vendor_turnover/_list_open_orders.html @@ -21,16 +21,20 @@ [% IF row.quotation %] [% IF FORM.db == 'customer' %][% 'Sales quotation' | $T8 %][% ELSE %][% 'RFQ' | $T8 %][% END %] [%- IF INSTANCE_CONF.get_feature_experimental -%] - [% IF row.id %][% END %][% HTML.escape(row.quonumber) || ' ' %][% IF row.id %][% END %] + [% IF row.id %] + [% END %][% HTML.escape(row.quonumber) || ' ' %][% IF row.id %][% END %] [%- ELSE -%] - [% IF row.id %][% END %][% HTML.escape(row.quonumber) || ' ' %][% IF row.id %][% END %] + [% IF row.id %] + [% END %][% HTML.escape(row.quonumber) || ' ' %][% IF row.id %][% END %] [%- END -%] [% ELSE %] [% IF FORM.db == 'customer' %][% 'Sales Order' | $T8 %][% ELSE %][% 'Purchase Order' | $T8 %][% END %] [%- IF INSTANCE_CONF.get_feature_experimental -%] - [% IF row.id %][% END %][% HTML.escape(row.ordnumber) || ' ' %][% IF row.id %][% END %] + [% IF row.id %] + [% END %][% HTML.escape(row.ordnumber) || ' ' %][% IF row.id %][% END %] [%- ELSE -%] - [% IF row.id %][% END %][% HTML.escape(row.ordnumber) || ' ' %][% IF row.id %][% END %] + [% IF row.id %] + [% END %][% HTML.escape(row.ordnumber) || ' ' %][% IF row.id %][% END %] [%- END -%] [% END %] [% row.transdate.to_kivitendo | html %] diff --git a/templates/webpages/customer_vendor_turnover/order_statistic.html b/templates/webpages/customer_vendor_turnover/order_statistic.html index 2d52392a6..151843a64 100644 --- a/templates/webpages/customer_vendor_turnover/order_statistic.html +++ b/templates/webpages/customer_vendor_turnover/order_statistic.html @@ -16,9 +16,9 @@ [%- FOREACH row = orders %] [%- IF INSTANCE_CONF.get_feature_experimental -%] - [% IF row.id %][% END %][% HTML.escape(row.ordnumber) || ' ' %][% IF row.id %][% END %] + [% IF row.id %][% END %][% HTML.escape(row.ordnumber) || ' ' %][% IF row.id %][% END %] [%- ELSE -%] - [% IF row.id %][% END %][% HTML.escape(row.ordnumber) || ' ' %][% IF row.id %][% END %] + [% IF row.id %][% END %][% HTML.escape(row.ordnumber) || ' ' %][% IF row.id %][% END %] [%- END -%] [% row.transdate.to_kivitendo | html %] [%- LxERP.format_amount(row.amount, 2) %] diff --git a/templates/webpages/customer_vendor_turnover/quotation_statistic.html b/templates/webpages/customer_vendor_turnover/quotation_statistic.html index 03c595a3a..3ca521d24 100644 --- a/templates/webpages/customer_vendor_turnover/quotation_statistic.html +++ b/templates/webpages/customer_vendor_turnover/quotation_statistic.html @@ -16,9 +16,11 @@ [%- FOREACH row = orders %] [%- IF INSTANCE_CONF.get_feature_experimental -%] - [% IF row.id %][% END %][% HTML.escape(row.quonumber) || ' ' %][% IF row.id %][% END %] + [% IF row.id %] + [% END %][% HTML.escape(row.quonumber) || ' ' %][% IF row.id %][% END %] [%- ELSE -%] - [% IF row.id %][% END %][% HTML.escape(row.quonumber) || ' ' %][% IF row.id %][% END %] + [% IF row.id %] + [% END %][% HTML.escape(row.quonumber) || ' ' %][% IF row.id %][% END %] [%- END -%] [% row.transdate.to_kivitendo | html %] [%- LxERP.format_amount(row.amount, 2) %] -- 2.20.1