Revision c69c1871
Von G. Richardson vor fast 14 Jahren hinzugefügt
bin/mozilla/ar.pl | ||
---|---|---|
1279 | 1279 |
$form->get_lists("projects" => { "key" => "ALL_PROJECTS", "all" => 1 }, |
1280 | 1280 |
"departments" => "ALL_DEPARTMENTS", |
1281 | 1281 |
"customers" => "ALL_VC", |
1282 |
"employees" => "ALL_EMPLOYEES", |
|
1283 |
"salesmen" => "ALL_SALESMEN", |
|
1282 | 1284 |
"business_types" => "ALL_BUSINESS_TYPES"); |
1283 | 1285 |
$form->{SHOW_BUSINESS_TYPES} = scalar @{ $form->{ALL_BUSINESS_TYPES} } > 0; |
1284 | 1286 |
|
1285 | 1287 |
# constants and subs for template |
1286 | 1288 |
$form->{jsscript} = 1; |
1287 | 1289 |
$form->{vc_keys} = sub { "$_[0]->{name}--$_[0]->{id}" }; |
1290 |
$form->{employee_labels} = sub { $_[0]->{"name"} || $_[0]->{"login"} }; |
|
1291 |
$form->{salesman_labels} = $form->{employee_labels}; |
|
1288 | 1292 |
|
1289 | 1293 |
$form->header; |
1290 | 1294 |
print $form->parse_html_template('ar/search', { %myconfig }); |
Auch abrufbar als: Unified diff
In Verkaufsberichte->Rechnungen auch nach Bearbeiter/Verkäufer filtern
Wie in den anderen Berichten auch