cusordnumber in email auch für neuen controller
authorJan Büren <jan@echinacea.es>
Thu, 2 Jul 2020 11:22:44 +0000 (13:22 +0200)
committerJan Büren <jan@kivitendo.de>
Mon, 14 Sep 2020 09:33:31 +0000 (11:33 +0200)
SL/Controller/Order.pm

index 4227ca0..56733d9 100644 (file)
@@ -373,6 +373,7 @@ sub action_show_email_dialog {
   $form->{type}             = $self->type;
   $form->{language}         = '_' . $self->order->language->template_code if $self->order->language;
   $form->{language_id}      = $self->order->language->id                  if $self->order->language;
+  $form->{cusordnumber}     = $self->order->cusordnumber;
   $form->{format}           = 'pdf';
 
   $email_form->{subject}             = $form->generate_email_subject();