From: Jan Büren Date: Mon, 15 Mar 2021 08:58:22 +0000 (+0100) Subject: Order: Vorbelegte E-Mail-Texte für Fall Ansprechpartner aktiviert X-Git-Tag: kivitendo-mebil_0.1-0~9^2~441 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=60dcd6c0c1abb2e06d31c4d46863fc09556ccd7b;p=kivitendo-erp.git Order: Vorbelegte E-Mail-Texte für Fall Ansprechpartner aktiviert --- diff --git a/SL/Controller/Order.pm b/SL/Controller/Order.pm index 6a2762537..15df1582a 100644 --- a/SL/Controller/Order.pm +++ b/SL/Controller/Order.pm @@ -372,6 +372,7 @@ sub action_save_and_show_email_dialog { $form->{language} = '_' . $self->order->language->template_code if $self->order->language; $form->{language_id} = $self->order->language->id if $self->order->language; $form->{format} = 'pdf'; + $form->{cp_id} = $self->order->contact->cp_id if $self->order->contact; $email_form->{subject} = $form->generate_email_subject(); $email_form->{attachment_filename} = $form->generate_attachment_filename();