CustomerVendor: nur "nicht gelöschte" Mitarbeiter laden
authorThomas Heck <theck@linet-services.de>
Mon, 15 Jul 2013 15:56:19 +0000 (17:56 +0200)
committerThomas Heck <theck@linet-services.de>
Tue, 16 Jul 2013 12:23:58 +0000 (14:23 +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)