Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision d139dd31

Von Moritz Bunkus vor fast 11 Jahren hinzugefügt

  • ID d139dd31791627953f82749d02702bcb8308ebea
  • Vorgänger 579920a7
  • Nachfolger 3816bb51

Verkäufer-/Bearbeiter-Drop-Downs in mehreren Masken sortiert anzeigen

Unterschiede anzeigen:

bin/mozilla/do.pl
271 271
                   "business_types" => "ALL_BUSINESS_TYPES",
272 272
    );
273 273

  
274
  $::form->{ALL_EMPLOYEES}         = SL::DB::Manager::Employee->get_all(query => [ or => [ id => $::form->{employee_id},  deleted => 0 ] ]);
275
  $::form->{ALL_SALESMEN}          = SL::DB::Manager::Employee->get_all(query => [ or => [ id => $::form->{salesman_id},  deleted => 0 ] ]);
274
  $::form->{ALL_EMPLOYEES}         = SL::DB::Manager::Employee->get_all_sorted(query => [ or => [ id => $::form->{employee_id},  deleted => 0 ] ]);
275
  $::form->{ALL_SALESMEN}          = SL::DB::Manager::Employee->get_all_sorted(query => [ or => [ id => $::form->{salesman_id},  deleted => 0 ] ]);
276 276
  $::form->{ALL_SHIPTO}            = SL::DB::Manager::Shipto->get_all(query => [
277 277
    or => [ trans_id  => $::form->{"$::form->{vc}_id"} * 1, and => [ shipto_id => $::form->{shipto_id} * 1, trans_id => undef ] ]
278 278
  ]);
......
466 466
                                       "all" => 1 },
467 467
                   "departments"  => "ALL_DEPARTMENTS",
468 468
                   "$form->{vc}s" => "ALL_VC");
469
  $form->{ALL_EMPLOYEES} = SL::DB::Manager::Employee->get_all(query => [ deleted => 0 ]);
469
  $form->{ALL_EMPLOYEES} = SL::DB::Manager::Employee->get_all_sorted(query => [ deleted => 0 ]);
470 470

  
471 471
  $form->{SHOW_VC_DROP_DOWN} =  $myconfig{vclimit} > scalar @{ $form->{ALL_VC} };
472 472
  $form->{title}             = $locale->text('Delivery Orders');

Auch abrufbar als: Unified diff