Revision a0b8d78b
Von Sven Schöling vor mehr als 8 Jahren hinzugefügt
SL/Controller/Admin.pm | ||
---|---|---|
21 | 21 |
use Rose::Object::MakeMethods::Generic |
22 | 22 |
( |
23 | 23 |
'scalar --get_set_init' => [ qw(client user group printer db_cfg is_locked |
24 |
all_dateformats all_numberformats all_countrycodes all_stylesheets all_menustyles all_clients all_groups all_users all_rights all_printers |
|
24 |
all_dateformats all_numberformats all_countrycodes all_countrymodes all_stylesheets all_menustyles all_clients all_groups all_users all_rights all_printers
|
|
25 | 25 |
all_dbsources all_used_dbsources all_accounting_methods all_inventory_systems all_profit_determinations all_charts) ], |
26 | 26 |
); |
27 | 27 |
|
... | ... | |
552 | 552 |
return [ map { id => $_, title => $cc{$_} }, sort { $cc{$a} cmp $cc{$b} } keys %cc ]; |
553 | 553 |
} |
554 | 554 |
|
555 |
sub init_all_countrymodes { |
|
556 |
my %cm = SL::DefaultManager->country_modes; |
|
557 |
return [ map { id => $_, title => "$_ ($cm{$_})" }, sort keys %cm ]; |
|
558 |
} |
|
559 |
|
|
555 | 560 |
# |
556 | 561 |
# filters |
557 | 562 |
# |
Auch abrufbar als: Unified diff
Revert "country_mode entfernt."
Originalcommit: b05b5075ac0f3cbb0823c2f513cdbcacfb17bede.