From 9aa0d477fce0ad1a9b573df01912095b312a17b6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Tue, 3 Nov 2009 13:15:31 +0100 Subject: [PATCH] OE Templates: Workflowrelevante Flags fehlten --- bin/mozilla/oe.pl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl index d844675b3..5965bf59c 100644 --- a/bin/mozilla/oe.pl +++ b/bin/mozilla/oe.pl @@ -490,6 +490,12 @@ sub form_footer { print_options => print_options(inline => 1), label_edit => $locale->text("Edit the $form->{type}"), label_workflow => $locale->text("Workflow $form->{type}"), + is_sales => scalar ($form->{type} =~ /^sales_/), # these vars are exported, so that the template + is_order => scalar ($form->{type} =~ /_order$/), # may determine what to show + is_sales_quo => scalar ($form->{type} =~ /sales_quotation$/), + is_req_quo => scalar ($form->{type} =~ /request_quotation$/), + is_sales_ord => scalar ($form->{type} =~ /sales_order$/), + is_pur_ord => scalar ($form->{type} =~ /purchase_order$/), }); $main::lxdebug->leave_sub(); -- 2.20.1