]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/oe.pl
Zu bcc996e65643 Rechnungsadresse aus dem Stammdaten auch für alte oe
[mfinanz.git] / bin / mozilla / oe.pl
index 321bec31b3f3058ad6a033509874a96df8999696..012914d036dbc7fd0876a6dbce11050ca7cdf6b8 100644 (file)
@@ -2196,6 +2196,7 @@ sub edit_periodic_invoices_config {
 
   if ($::form->{customer_id}) {
     $::form->{ALL_CONTACTS} = SL::DB::Manager::Contact->get_all_sorted(where => [ cp_cv_id => $::form->{customer_id} ]);
+    $::form->{email_recipient_invoice_address} = SL::DB::Manager::Customer->find_by(id => $::form->{customer_id})->invoice_mail;
   }
 
   $::form->header(no_layout => 1);