]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/io.pl
1. fix für #480, Im Einkauf wird der Status geliefert falsch im Auftrag gesetzt
[mfinanz.git] / bin / mozilla / io.pl
index 7c7fa49d6cd53ff5da3929025bd5ccaed7f278f1..9982d9eb5c3371959884064efc18815645e46480 100644 (file)
@@ -2100,6 +2100,7 @@ sub show_sales_purchase_email_dialog {
     $body_params{fallback_translation_type} = "preset_text_invoice";
   }
 
+  $::form->{all_employees} = SL::DB::Manager::Employee->get_all(query => [ deleted => 0 ]);
   my $email_form = {
     to                  => $email,
     cc                  => $email_cc,
@@ -2116,6 +2117,7 @@ sub show_sales_purchase_email_dialog {
     FILES       => \%files,
     is_customer => $::form->{vc} eq 'customer',
     is_invoice_mail => ($record_email && $::form->{type} eq 'invoice'),
+    ALL_EMPLOYEES   => $::form->{all_employees},
   });
 
   print $::form->ajax_response_header, $html;