From f06a2509037f88f8361d989b1bc638665c367558 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 8 Oct 2007 09:07:00 +0000 Subject: [PATCH] =?utf8?q?Die=20versteckte=20Variable=20"customer=5Fklass"?= =?utf8?q?,=20die=20die=20beim=20Kunden=20hinterlegte=20Preisgruppe=20enth?= =?utf8?q?=C3=A4lt,=20muss=20bei=20oe.pl=20immer=20=C3=BCbergeben=20werden?= =?utf8?q?,=20wenn=20es=20sich=20um=20Verkauf=20handelt.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/oe.pl | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl index f095c5f8a..32fe7a11f 100644 --- a/bin/mozilla/oe.pl +++ b/bin/mozilla/oe.pl @@ -453,6 +453,10 @@ sub form_header { {vc}"}) . qq|">|; + if ($form->{vc} eq 'customer') { + $vc .= qq||; + } + %labels = (); @values = (""); foreach my $item (@{ $form->{"ALL_PAYMENTS"} }) { @@ -687,12 +691,6 @@ sub form_header { | if $form->{selectdepartment}; - if ($form->{type} eq 'sales_order') { - $employee .= qq|\n| if $form->{selectemployee}; - } else { - $employee .= qq|\n|; - } - $credittext = $locale->text('Credit Limit exceeded!!!'); $onload = ($form->{resubmit} && ($form->{format} eq "html")) ? "window.open('about:blank','Beleg'); document.oe.target = 'Beleg';document.oe.submit()" -- 2.20.1