Revision 9c5f94c0
Von Moritz Bunkus vor mehr als 8 Jahren hinzugefügt
bin/mozilla/oe.pl | ||
---|---|---|
2077 | 2077 |
$::form->{AR} = [ grep { $_->{link} =~ m/(?:^|:)AR(?::|$)/ } @{ $::form->{ALL_CHARTS} } ]; |
2078 | 2078 |
$::form->{title} = $::locale->text('Edit the configuration for periodic invoices'); |
2079 | 2079 |
|
2080 |
if ($::form->{customer_id}) { |
|
2081 |
$::form->{ALL_CONTACTS} = SL::DB::Manager::Contact->get_all_sorted(where => [ cp_cv_id => $::form->{customer_id} ]); |
|
2082 |
} |
|
2083 |
|
|
2080 | 2084 |
$::form->header(no_layout => 1); |
2081 | 2085 |
print $::form->parse_html_template('oe/edit_periodic_invoices_config', $config); |
2082 | 2086 |
|
... | ... | |
2105 | 2109 |
copies => $::form->{copies} * 1 ? $::form->{copies} : 1, |
2106 | 2110 |
extend_automatically_by => $::form->{extend_automatically_by} * 1 || undef, |
2107 | 2111 |
ar_chart_id => $::form->{ar_chart_id} * 1, |
2112 |
send_email => $::form->{send_email} ? 1 : 0, |
|
2113 |
email_recipient_contact_id => $::form->{email_recipient_contact_id} * 1 || undef, |
|
2114 |
email_recipient_address => $::form->{email_recipient_address}, |
|
2115 |
email_sender => $::form->{email_sender}, |
|
2116 |
email_subject => $::form->{email_subject}, |
|
2117 |
email_body => $::form->{email_body}, |
|
2108 | 2118 |
}; |
2109 | 2119 |
|
2110 | 2120 |
$::form->{periodic_invoices_config} = YAML::Dump($config); |
... | ... | |
2214 | 2224 |
|
2215 | 2225 |
$::form->error($::locale->text('No action defined.')); |
2216 | 2226 |
} |
2217 |
|
Auch abrufbar als: Unified diff
Wiederkerende Rechnungen: Konfiguration für automatischen Versand via E-Mail