Revision 709aea6d
Von Sven Schöling vor mehr als 8 Jahren hinzugefügt
SL/Controller/TopQuickSearch/Article.pm | ||
---|---|---|
52 | 52 |
SL::Controller::Base->new->url_for( |
53 | 53 |
controller => 'ic.pl', |
54 | 54 |
action => 'generate_report', |
55 |
searchitems => 'assembly', |
|
56 | 55 |
all => $_[0], |
57 | 56 |
); |
58 | 57 |
} |
bin/mozilla/ic.pl | ||
---|---|---|
258 | 258 |
|
259 | 259 |
my $cvar_configs = CVar->get_configs('module' => 'IC'); |
260 | 260 |
|
261 |
$form->{title} = (ucfirst $form->{searchitems}) . "s"; |
|
262 |
$form->{title} =~ s/ys$/ies/; |
|
263 |
$form->{title} = $locale->text($form->{title}); |
|
261 |
my %titles = ( |
|
262 |
'' => $locale->text('Articles'), |
|
263 |
part => $locale->text('Parts'), |
|
264 |
service => $locale->text('Services'), |
|
265 |
assembly => $locale->text('Assemblies'), |
|
266 |
); |
|
267 |
|
|
268 |
$form->{title} = $titles{$form->{searchitems}}; |
|
264 | 269 |
|
265 | 270 |
my %column_defs = ( |
266 | 271 |
'bin' => { 'text' => $locale->text('Bin'), }, |
Auch abrufbar als: Unified diff
TopQuickSearch: Alle Artikelsuchen haben nur Erzeugnisse gefunden
...hat keiner gemerkt...