Revision fc6a8e32
Von Moritz Bunkus vor etwa 10 Jahren hinzugefügt
bin/mozilla/do.pl | ||
---|---|---|
283 | 283 |
@old_ids_cond, |
284 | 284 |
]); |
285 | 285 |
|
286 |
$::form->{ALL_PROJECTS} = SL::DB::Manager::Project->get_all(query => \@conditions); |
|
286 |
$::form->{ALL_PROJECTS} = SL::DB::Manager::Project->get_all_sorted(query => \@conditions);
|
|
287 | 287 |
$::form->{ALL_EMPLOYEES} = SL::DB::Manager::Employee->get_all_sorted(query => [ or => [ id => $::form->{employee_id}, deleted => 0 ] ]); |
288 | 288 |
$::form->{ALL_SALESMEN} = SL::DB::Manager::Employee->get_all_sorted(query => [ or => [ id => $::form->{salesman_id}, deleted => 0 ] ]); |
289 | 289 |
$::form->{ALL_SHIPTO} = SL::DB::Manager::Shipto->get_all_sorted(query => [ |
bin/mozilla/is.pl | ||
---|---|---|
318 | 318 |
@old_ids_cond, |
319 | 319 |
]); |
320 | 320 |
|
321 |
$TMPL_VAR{ALL_PROJECTS} = SL::DB::Manager::Project->get_all(query => \@conditions); |
|
321 |
$TMPL_VAR{ALL_PROJECTS} = SL::DB::Manager::Project->get_all_sorted(query => \@conditions);
|
|
322 | 322 |
$TMPL_VAR{ALL_EMPLOYEES} = SL::DB::Manager::Employee->get_all_sorted(query => [ or => [ id => $::form->{employee_id}, deleted => 0 ] ]); |
323 | 323 |
$TMPL_VAR{ALL_SALESMEN} = SL::DB::Manager::Employee->get_all_sorted(query => [ or => [ id => $::form->{salesman_id}, deleted => 0 ] ]); |
324 | 324 |
$TMPL_VAR{ALL_SHIPTO} = SL::DB::Manager::Shipto->get_all_sorted(query => [ |
bin/mozilla/oe.pl | ||
---|---|---|
375 | 375 |
@old_ids_cond, |
376 | 376 |
]); |
377 | 377 |
|
378 |
$TMPL_VAR{ALL_PROJECTS} = SL::DB::Manager::Project->get_all(query => \@conditions); |
|
378 |
$TMPL_VAR{ALL_PROJECTS} = SL::DB::Manager::Project->get_all_sorted(query => \@conditions);
|
|
379 | 379 |
|
380 | 380 |
# label subs |
381 | 381 |
my $employee_list_query_gen = sub { $::form->{$_[0]} ? [ or => [ id => $::form->{$_[0]}, deleted => 0 ] ] : [ deleted => 0 ] }; |
Auch abrufbar als: Unified diff
Einkaufs-/Verkaufsmasken: Projekt-Drop-Down-Boxen sortieren