Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 4e070acf

Von Sven Schöling vor fast 9 Jahren hinzugefügt

  • ID 4e070acf473ae9992a3561594cce55123be0a7ec
  • Vorgänger c8c1042a
  • Nachfolger 92879200

TopQuickSearch: Konfiguration in client_config

Unterschiede anzeigen:

SL/Controller/ClientConfig.pm
16 16
use SL::Locale::String qw(t8);
17 17
use SL::PriceSource::ALL;
18 18
use SL::Template;
19
use SL::Controller::TopQuickSearch;
19 20

  
20 21
__PACKAGE__->run_before('check_auth');
21 22

  
22 23
use Rose::Object::MakeMethods::Generic (
23
  'scalar --get_set_init' => [ qw(defaults all_warehouses all_weightunits all_languages all_currencies all_templates all_price_sources h_unit_name
24
  'scalar --get_set_init' => [ qw(defaults all_warehouses all_weightunits all_languages all_currencies all_templates all_price_sources h_unit_name available_quick_search_modules
24 25
                                  all_project_statuses all_project_types
25 26
                                  posting_options payment_options accounting_options inventory_options profit_options balance_startdate_method_options) ],
26 27
);
......
191 192
  [ map { [ $_->name, $_->description ] } @classes ];
192 193
}
193 194

  
195
sub init_available_quick_search_modules {
196
  [ SL::Controller::TopQuickSearch->new->available_modules ];
197
}
198

  
194 199
#
195 200
# filters
196 201
#

Auch abrufbar als: Unified diff