Revision 9b67d27c
Von Sven Schöling vor mehr als 12 Jahren hinzugefügt
bin/mozilla/do.pl | ||
---|---|---|
266 | 266 |
if ($form->{"project_id_$_"}); } (1..$form->{"rowcount"})); |
267 | 267 |
|
268 | 268 |
my $vc = $form->{vc} eq "customer" ? "customers" : "vendors"; |
269 |
$form->get_lists("shipto" => "ALL_SHIPTO", |
|
270 |
"projects" => { |
|
269 |
$form->get_lists("projects" => { |
|
271 | 270 |
"key" => "ALL_PROJECTS", |
272 | 271 |
"all" => 0, |
273 | 272 |
"old_id" => \@old_project_ids |
... | ... | |
280 | 279 |
|
281 | 280 |
$::form->{ALL_EMPLOYEES} = SL::DB::Manager::Employee->get_all(query => [ or => [ id => $::form->{employee_id}, deleted => 0 ] ]); |
282 | 281 |
$::form->{ALL_SALESMEN} = SL::DB::Manager::Employee->get_all(query => [ or => [ id => $::form->{salesman_id}, deleted => 0 ] ]); |
282 |
$::form->{ALL_SHIPTO} = SL::DB::Manager::Shipto->get_all(query => [ |
|
283 |
or => [ trans_id => $::form->{"$::form->{vc}_id"} * 1, shipto_id => $::form->{shipto_id} * 1 ] |
|
284 |
]); |
|
283 | 285 |
$::form->{ALL_CONTACTS} = SL::DB::Manager::Contact->get_all(query => [ |
284 | 286 |
or => [ |
285 | 287 |
cp_cv_id => $::form->{"$::form->{vc}_id"} * 1, |
Auch abrufbar als: Unified diff
Lieferadressen, gelöschte aber ausgewählte weiterhin einblenden.