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:
a66cafd
)
Auftrags-Controller: S:D:PartsGroup mit use einbinden, nicht mit require
author
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Fri, 10 Aug 2018 13:32:00 +0000
(15:32 +0200)
committer
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Fri, 10 Aug 2018 15:15:34 +0000
(17:15 +0200)
SL/Controller/Order.pm
patch
|
blob
|
history
diff --git
a/SL/Controller/Order.pm
b/SL/Controller/Order.pm
index
6c6b8b6
..
9c1d773
100644
(file)
--- a/
SL/Controller/Order.pm
+++ b/
SL/Controller/Order.pm
@@
-15,6
+15,7
@@
use SL::DB::Order;
use SL::DB::Default;
use SL::DB::Unit;
use SL::DB::Part;
+use SL::DB::PartsGroup;
use SL::DB::Printer;
use SL::DB::Language;
use SL::DB::RecordLink;
@@
-729,7
+730,6
@@
sub action_add_item {
# open the dialog for entering multiple items at once
sub action_show_multi_items_dialog {
- require SL::DB::PartsGroup;
$_[0]->render('order/tabs/_multi_items_dialog', { layout => 0 },
all_partsgroups => SL::DB::Manager::PartsGroup->get_all);
}