From: Bernd Bleßmann Date: Mon, 6 Aug 2018 14:54:04 +0000 (+0200) Subject: Auftrags-Controller: kein all_projects mehr nötig, da Projekt-Picker X-Git-Tag: release-3.5.4~336 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=6f1f4ddeb3cc5206fcf28e674f90933c461999df;p=kivitendo-erp.git Auftrags-Controller: kein all_projects mehr nötig, da Projekt-Picker --- diff --git a/SL/Controller/Order.pm b/SL/Controller/Order.pm index fd9aa72df..8e0d9ad1d 100644 --- a/SL/Controller/Order.pm +++ b/SL/Controller/Order.pm @@ -1423,9 +1423,6 @@ sub _pre_render { $self->{all_salesmen} = SL::DB::Manager::Employee->get_all(where => [ or => [ id => $self->order->salesman_id, deleted => 0 ] ], sort_by => 'name'); - $self->{all_projects} = SL::DB::Manager::Project->get_all(where => [ or => [ id => $self->order->globalproject_id, - active => 1 ] ], - sort_by => 'projectnumber'); $self->{all_payment_terms} = SL::DB::Manager::PaymentTerm->get_all_sorted(where => [ or => [ id => $self->order->payment_id, obsolete => 0 ] ]); $self->{all_delivery_terms} = SL::DB::Manager::DeliveryTerm->get_all_sorted();