X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/bc0386a49ddf723675331faeae842447d8c1fa2e..3e79972f6ef:/bin/mozilla/io.pl diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index 7c7fa49d6..9982d9eb5 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -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;