From 4e78f69461dbfbeac4df98aea63c0ea9e97b8143 Mon Sep 17 00:00:00 2001 From: Thomas Heck Date: Thu, 18 Jul 2013 16:11:01 +0200 Subject: [PATCH] =?utf8?q?CustomerVendor:=20instance=5Fconf=20komplett=20i?= =?utf8?q?m=20Template=20verf=C3=BCgbar=20machen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Controller/CustomerVendor.pm | 2 +- templates/webpages/customer_vendor/tabs/billing.html | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/SL/Controller/CustomerVendor.pm b/SL/Controller/CustomerVendor.pm index cc2af359a..a8b9c4544 100644 --- a/SL/Controller/CustomerVendor.pm +++ b/SL/Controller/CustomerVendor.pm @@ -682,7 +682,7 @@ sub _create_customer_vendor { sub _pre_render { my ($self) = @_; - $self->{template_args}->{conf_vertreter} = $::instance_conf->get_vertreter(); + $self->{template_args}->{instance_conf} = $::instance_conf; my $dbh = $::form->get_standard_dbh(); diff --git a/templates/webpages/customer_vendor/tabs/billing.html b/templates/webpages/customer_vendor/tabs/billing.html index 979ccbc53..531121177 100644 --- a/templates/webpages/customer_vendor/tabs/billing.html +++ b/templates/webpages/customer_vendor/tabs/billing.html @@ -8,7 +8,7 @@ - [% IF ( conf_vertreter ) %] + [% IF ( instance_conf.get_vertreter ) %] [% IF SELF.is_vendor() %] @@ -292,7 +292,7 @@ - [% IF ( !conf_vertreter ) %] + [% IF ( !instance_conf.get_vertreter ) %] [% IF ( SELF.is_vendor() ) %] [% 'Type of Vendor' | $T8 %] @@ -349,7 +349,7 @@ - [% IF ( SELF.is_customer() && !conf_vertreter ) %] + [% IF ( SELF.is_customer() && !instance_conf.get_vertreter ) %] [% 'Salesman' | $T8 %] -- 2.20.1