X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fio.pl;h=9982d9eb5c3371959884064efc18815645e46480;hb=37d14c11afd10049be58467770499b25268c1364;hp=7c7fa49d6cd53ff5da3929025bd5ccaed7f278f1;hpb=5202b3e71b817c6a78845cd4c27773760ff408b6;p=kivitendo-erp.git 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;