From: Jan Büren Date: Tue, 24 Nov 2015 07:48:31 +0000 (+0100) Subject: mininmal Kosmetik X-Git-Tag: release-3.4.1~571 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=b6195db7d8aad54816866b5152961b4709491734;p=kivitendo-erp.git mininmal Kosmetik --- diff --git a/SL/Controller/ClientConfig.pm b/SL/Controller/ClientConfig.pm index 2346f15da..d002f427a 100644 --- a/SL/Controller/ClientConfig.pm +++ b/SL/Controller/ClientConfig.pm @@ -146,7 +146,7 @@ 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 => 'kg'); $unit ? $unit->convertible_units : [] } sub init_all_templates { +{ SL::Template->available_templates } } -sub init_h_unit_name { first { SL::DB::Manager::Unit->find_by(name => $_) } qw(Std h Stunde) }; +sub init_h_unit_name { first { SL::DB::Manager::Unit->find_by(name => $_) } qw(Std h Stunde) } sub init_all_project_types { SL::DB::Manager::ProjectType->get_all_sorted } sub init_all_project_statuses { SL::DB::Manager::ProjectStatus->get_all_sorted }