Revision b6195db7
Von Jan Büren vor etwa 9 Jahren hinzugefügt
SL/Controller/ClientConfig.pm | ||
---|---|---|
146 | 146 |
sub init_all_currencies { SL::DB::Manager::Currency->get_all_sorted } |
147 | 147 |
sub init_all_weightunits { my $unit = SL::DB::Manager::Unit->find_by(name => 'kg'); $unit ? $unit->convertible_units : [] } |
148 | 148 |
sub init_all_templates { +{ SL::Template->available_templates } } |
149 |
sub init_h_unit_name { first { SL::DB::Manager::Unit->find_by(name => $_) } qw(Std h Stunde) };
|
|
149 |
sub init_h_unit_name { first { SL::DB::Manager::Unit->find_by(name => $_) } qw(Std h Stunde) } |
|
150 | 150 |
sub init_all_project_types { SL::DB::Manager::ProjectType->get_all_sorted } |
151 | 151 |
sub init_all_project_statuses { SL::DB::Manager::ProjectStatus->get_all_sorted } |
152 | 152 |
|
Auch abrufbar als: Unified diff
mininmal Kosmetik