From: Sven Schöling Date: Tue, 3 Nov 2009 12:15:31 +0000 (+0100) Subject: OE Templates: Workflowrelevante Flags fehlten X-Git-Tag: release-2.6.1beta1~128 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=9aa0d477fce0ad1a9b573df01912095b312a17b6;p=kivitendo-erp.git OE Templates: Workflowrelevante Flags fehlten --- 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();