Revision 2a4583f3
Von Jan Büren vor mehr als 3 Jahren hinzugefügt
SL/Controller/Order.pm | ||
---|---|---|
552 | 552 |
|
553 | 553 |
if ($::form->{customer_id}) { |
554 | 554 |
$::form->{ALL_CONTACTS} = SL::DB::Manager::Contact->get_all_sorted(where => [ cp_cv_id => $::form->{customer_id} ]); |
555 |
$::form->{email_recipient_invoice_address} = SL::DB::Manager::Customer->find_by(id => $::form->{customer_id})->invoice_mail; |
|
555 |
my $customer_object = SL::DB::Manager::Customer->find_by(id => $::form->{customer_id}); |
|
556 |
$::form->{postal_invoice} = $customer_object->postal_invoice; |
|
557 |
$::form->{email_recipient_invoice_address} = $::form->{postal_invoice} ? '' : $customer_object->invoice_mail; |
|
558 |
$config->send_email(0) if $::form->{postal_invoice}; |
|
556 | 559 |
} |
557 | 560 |
|
558 | 561 |
$self->render('oe/edit_periodic_invoices_config', { layout => 0 }, |
Auch abrufbar als: Unified diff
Neues Kundenattribut Rechnungsversand per Post -> Deaktiviert E-Mail für Rechnung