Revision 70e1559d
Von Moritz Bunkus vor mehr als 17 Jahren hinzugefügt
bin/mozilla/oe.pl | ||
---|---|---|
1386 | 1386 |
|
1387 | 1387 |
$form->get_lists("projects" => { "key" => "ALL_PROJECTS", |
1388 | 1388 |
"all" => 1 }, |
1389 |
"employees" => "ALL_EMPLOYEES",
|
|
1389 |
"employees" => "ALL_EMPLOYEES", |
|
1390 | 1390 |
$vc => "ALL_" . uc($vc)); |
1391 | 1391 |
|
1392 | 1392 |
my %labels = (); |
... | ... | |
1401 | 1401 |
|
1402 | 1402 |
#employees |
1403 | 1403 |
%labels = (); |
1404 |
@values = (); |
|
1404 |
@values = ("");
|
|
1405 | 1405 |
foreach my $item (@{ $form->{"ALL_EMPLOYEES"} }) { |
1406 | 1406 |
push(@values, $item->{"id"}); |
1407 | 1407 |
$labels{$item->{"id"}} = $item->{"name"} ne "" ? $item->{"name"} : $item->{"login"}; |
... | ... | |
1411 | 1411 |
<tr> |
1412 | 1412 |
<th align="right">| . $locale->text('Employee') . qq|</th> |
1413 | 1413 |
<td>| . |
1414 |
NTI($cgi->popup_menu('-name' => 'employee_id', '-default' => $form->{"employee_id"}, |
|
1415 |
'-values' => \@values, '-labels' => \%labels)) . qq| |
|
1414 |
NTI($cgi->popup_menu('-name' => 'employee_id', |
|
1415 |
'-values' => \@values, |
|
1416 |
'-labels' => \%labels)) . qq| |
|
1416 | 1417 |
</td> |
1417 | 1418 |
</tr>|; |
1418 | 1419 |
|
Auch abrufbar als: Unified diff
Es ermöglichen, dass bei den Berichtsfunktionen nicht nach Bearbeitern gefiltert wird.