From: Sven Schöling Date: Fri, 10 Dec 2021 15:46:33 +0000 (+0100) Subject: DeliveryOrder: TypeData types auch aus dem Controller TypeData exportieren X-Git-Tag: kivitendo-mebil_0.1-0~10^2~2^2~216^2~32 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=11b343b7ba8524c4c90352c9e29bfe7f25b2699d;p=kivitendo-erp.git DeliveryOrder: TypeData types auch aus dem Controller TypeData exportieren --- 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 {