From: Moritz Bunkus Date: Thu, 4 Jul 2013 07:21:19 +0000 (+0200) Subject: Kosmetik: Alignment X-Git-Tag: release-3.1.0beta1~212 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=744418aefbf02bc30b5dcc83fb8c2d1fd524964b;p=kivitendo-erp.git Kosmetik: Alignment --- diff --git a/SL/Controller/ClientConfig.pm b/SL/Controller/ClientConfig.pm index fd2cf6526..ea5c1b0ed 100644 --- a/SL/Controller/ClientConfig.pm +++ b/SL/Controller/ClientConfig.pm @@ -133,12 +133,12 @@ sub action_save { # initializers # -sub init_defaults { SL::DB::Default->get } -sub init_all_warehouses { SL::DB::Manager::Warehouse->get_all_sorted } -sub init_all_languages { SL::DB::Manager::Language->get_all_sorted } -sub init_all_currencies { SL::DB::Manager::Currency->get_all_sorted } +sub init_defaults { SL::DB::Default->get } +sub init_all_warehouses { SL::DB::Manager::Warehouse->get_all_sorted } +sub init_all_languages { SL::DB::Manager::Language->get_all_sorted } +sub init_all_currencies { SL::DB::Manager::Currency->get_all_sorted } sub init_all_weightunits { my $unit = SL::DB::Manager::Unit->find_by(name => 'g'); $unit ? $unit->convertible_units : [] } -sub init_all_templates { +{ SL::Template->available_templates } } +sub init_all_templates { +{ SL::Template->available_templates } } sub init_posting_options { [ { title => t8("never"), value => 0 },