Revision 6f1f4dde
Von Bernd Bleßmann vor mehr als 6 Jahren hinzugefügt
SL/Controller/Order.pm | ||
---|---|---|
1423 | 1423 |
$self->{all_salesmen} = SL::DB::Manager::Employee->get_all(where => [ or => [ id => $self->order->salesman_id, |
1424 | 1424 |
deleted => 0 ] ], |
1425 | 1425 |
sort_by => 'name'); |
1426 |
$self->{all_projects} = SL::DB::Manager::Project->get_all(where => [ or => [ id => $self->order->globalproject_id, |
|
1427 |
active => 1 ] ], |
|
1428 |
sort_by => 'projectnumber'); |
|
1429 | 1426 |
$self->{all_payment_terms} = SL::DB::Manager::PaymentTerm->get_all_sorted(where => [ or => [ id => $self->order->payment_id, |
1430 | 1427 |
obsolete => 0 ] ]); |
1431 | 1428 |
$self->{all_delivery_terms} = SL::DB::Manager::DeliveryTerm->get_all_sorted(); |
Auch abrufbar als: Unified diff
Auftrags-Controller: kein all_projects mehr nötig, da Projekt-Picker