projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SimpleSystemSetting: Umstellung von »Warengruppen«
[kivitendo-erp.git]
/
SL
/
Controller
/
PriceRule.pm
diff --git
a/SL/Controller/PriceRule.pm
b/SL/Controller/PriceRule.pm
index
1d210d4
..
d9c3978
100644
(file)
--- a/
SL/Controller/PriceRule.pm
+++ b/
SL/Controller/PriceRule.pm
@@
-13,12
+13,11
@@
use SL::DB::Pricegroup;
use SL::DB::PartsGroup;
use SL::DB::Business;
use SL::Helper::Flash;
use SL::DB::PartsGroup;
use SL::DB::Business;
use SL::Helper::Flash;
-use SL::ClientJS;
use SL::Locale::String;
use Rose::Object::MakeMethods::Generic
(
use SL::Locale::String;
use Rose::Object::MakeMethods::Generic
(
- 'scalar --get_set_init' => [ qw(models price_rule vc
js
pricegroups partsgroups businesses) ],
+ 'scalar --get_set_init' => [ qw(models price_rule vc pricegroups partsgroups businesses) ],
);
# __PACKAGE__->run_before('check_auth');
);
# __PACKAGE__->run_before('check_auth');
@@
-87,7
+86,7
@@
sub action_add_item_row {
->js
->before('#price_rule_new_items', $html)
->reinit_widgets
->js
->before('#price_rule_new_items', $html)
->reinit_widgets
- ->render
($self)
;
+ ->render;
}
sub action_price_type_help {
}
sub action_price_type_help {
@@
-267,16
+266,12
@@
sub init_vc {
$::form->{filter}{type};
}
$::form->{filter}{type};
}
-sub init_js {
- SL::ClientJS->new;
-}
-
sub init_businesses {
SL::DB::Manager::Business->get_all;
}
sub init_pricegroups {
sub init_businesses {
SL::DB::Manager::Business->get_all;
}
sub init_pricegroups {
- SL::DB::Manager::Pricegroup->get_all;
+ SL::DB::Manager::Pricegroup->get_all
_sorted
;
}
sub init_partsgroups {
}
sub init_partsgroups {