From 6f1f4ddeb3cc5206fcf28e674f90933c461999df Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Mon, 6 Aug 2018 16:54:04 +0200 Subject: [PATCH] =?utf8?q?Auftrags-Controller:=20kein=20all=5Fprojects=20m?= =?utf8?q?ehr=20n=C3=B6tig,=20da=20Projekt-Picker?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Controller/Order.pm | 3 --- 1 file changed, 3 deletions(-) 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(); -- 2.20.1