From 11b343b7ba8524c4c90352c9e29bfe7f25b2699d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 10 Dec 2021 16:46:33 +0100 Subject: [PATCH] DeliveryOrder: TypeData types auch aus dem Controller TypeData exportieren --- SL/Controller/DeliveryOrder/TypeData.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SL/Controller/DeliveryOrder/TypeData.pm b/SL/Controller/DeliveryOrder/TypeData.pm index 8db84c441..4aa29251d 100644 --- a/SL/Controller/DeliveryOrder/TypeData.pm +++ b/SL/Controller/DeliveryOrder/TypeData.pm @@ -6,6 +6,11 @@ use Scalar::Util qw(weaken); use SL::Locale::String qw(t8); use SL::DB::DeliveryOrder::TypeData qw(:types :subs); +my @export_types = qw(SALES_DELIVERY_ORDER_TYPE PURCHASE_DELIVERY_ORDER_TYPE SUPPLIER_DELIVERY_ORDER_TYPE RMA_DELIVERY_ORDER_TYPE); + +our @EXPORT_OK = (@export_types); +our %EXPORT_TAGS = (types => \@export_types); + use Rose::Object::MakeMethods::Generic scalar => [ qw(c) ]; sub new { -- 2.20.1