From fdfd7f203f3ff64a86e232a8fe30b865d5a8d9bb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Tue, 8 Dec 2009 13:10:39 +0100 Subject: [PATCH] Analog zu Commit fce441db auch die Einkaufsrechnungen fixen. --- bin/mozilla/ir.pl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bin/mozilla/ir.pl b/bin/mozilla/ir.pl index bbf8340ea..f43ed775c 100644 --- a/bin/mozilla/ir.pl +++ b/bin/mozilla/ir.pl @@ -145,6 +145,12 @@ sub invoice_links { $form->{oldvendor} = "$form->{vendor}--$form->{vendor_id}"; + # build vendor/customer drop down comatibility... don't ask + if (@{ $form->{"all_vendor"} || [] }) { + $form->{"selectvendor"} = 1; + $form->{vendor} = qq|$form->{vendor}--$form->{vendor_id}|; + } + # departments if ($form->{all_departments}) { $form->{selectdepartment} = "