kivitendo/SL/Controller/PriceFactor.pm @ 4b1666b7
88933549 | Moritz Bunkus | package SL::Controller::PriceFactor;
|
||
use strict;
|
||||
use parent qw(SL::Controller::Base);
|
||||
use SL::DB::PriceFactor;
|
||||
__PACKAGE__->run_before('check_auth');
|
||||
#
|
||||
# actions
|
||||
#
|
||||
sub action_reorder {
|
||||
my ($self) = @_;
|
||||
117fefac | Moritz Bunkus | SL::DB::PriceFactor->reorder_list(@{ $::form->{price_factor_id} || [] });
|
||
88933549 | Moritz Bunkus | |||
7647d46a | Moritz Bunkus | $self->render(\'', { type => 'json' });
|
||
88933549 | Moritz Bunkus | }
|
||
#
|
||||
# filters
|
||||
#
|
||||
sub check_auth {
|
||||
$::auth->assert('config');
|
||||
}
|
||||
1;
|