CustomerVendor: nur "nicht gelöschte" Mitarbeiter laden
authorThomas Heck <theck@linet-services.de>
Mon, 15 Jul 2013 15:56:19 +0000 (17:56 +0200)
committerJan Büren <jan@kivitendo-premium.de>
Thu, 18 Jul 2013 07:09:05 +0000 (09:09 +0200)
SL/Controller/CustomerVendor.pm

index b5afd02..cdff74c 100644 (file)
@@ -687,7 +687,7 @@ sub _pre_render {
 
   $self->{all_business} = SL::DB::Manager::Business->get_all();
 
-  $self->{all_employees} = SL::DB::Manager::Employee->get_all();
+  $self->{all_employees} = SL::DB::Manager::Employee->get_all(query => [ deleted => 0 ]);
 
   $query =
     'SELECT DISTINCT(greeting)