projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0b9c11
)
DeliveryOrder: TypeData types auch aus dem Controller TypeData exportieren
author
Sven Schöling
<s.schoeling@googlemail.com>
Fri, 10 Dec 2021 15:46:33 +0000
(16:46 +0100)
committer
Jan Büren
<jan@kivitendo.de>
Mon, 14 Feb 2022 14:02:19 +0000
(15:02 +0100)
SL/Controller/DeliveryOrder/TypeData.pm
patch
|
blob
|
history
diff --git
a/SL/Controller/DeliveryOrder/TypeData.pm
b/SL/Controller/DeliveryOrder/TypeData.pm
index
8db84c4
..
4aa2925
100644
(file)
--- 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 {