From fce441db48f9442d88659b2d61813fe929c9b6d5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Mon, 19 Oct 2009 14:56:06 +0200 Subject: [PATCH] Bugfixes zum Rechnungstemplate --- bin/mozilla/is.pl | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/bin/mozilla/is.pl b/bin/mozilla/is.pl index 417b0a87b..b037ca2c7 100644 --- a/bin/mozilla/is.pl +++ b/bin/mozilla/is.pl @@ -194,6 +194,12 @@ sub invoice_links { $form->{shipto_id} = $shipto_id; } + # build vendor/customer drop down comatibility... don't ask + if (@{ $form->{"all_customer"} }) { + $form->{"selectcustomer"} = 1; + $form->{customer} = qq|$form->{customer}--$form->{"customer_id"}|; + } + $form->{oldcustomer} = "$form->{customer}--$form->{customer_id}"; $form->{selectcustomer} = 1; @@ -393,9 +399,9 @@ sub form_header { $TMPL_VAR{numberformat} = $myconfig{numberformat}; # hiddens - $TMPL_VAR{HIDDEN} = [qw( + $TMPL_VAR{HIDDENS} = [qw( id action type media format queued printed emailed title vc discount - creditlimit creditremaining tradediscount business closedto locked shipped storno storno_id + title creditlimit creditremaining tradediscount business closedto locked shipped storno storno_id max_dunning_level dunning_amount shiptoname shiptostreet shiptozipcode shiptocity shiptocountry shiptocontact shiptophone shiptofax shiptoemail shiptodepartment_1 shiptodepartment_2 message email subject cc bcc taxaccounts cursor_fokus -- 2.20.1