Revision ee8cd38f
Von Jan Büren vor etwa 7 Jahren hinzugefügt
bin/mozilla/oe.pl | ||
---|---|---|
2117 | 2117 |
$config = YAML::Load($::form->{periodic_invoices_config}) if $::form->{periodic_invoices_config}; |
2118 | 2118 |
|
2119 | 2119 |
if ('HASH' ne ref $config) { |
2120 |
my $lang_id = $::form->{language_id}; |
|
2120 | 2121 |
$config = { periodicity => 'm', |
2121 | 2122 |
order_value_periodicity => 'p', # = same as periodicity |
2122 | 2123 |
start_date_as_date => $::form->{transdate} || $::form->current_date, |
2123 | 2124 |
extend_automatically_by => 12, |
2124 | 2125 |
active => 1, |
2126 |
email_subject => GenericTranslations->get(language_id => $lang_id, |
|
2127 |
translation_type =>"preset_text_periodic_invoices_email_subject"), |
|
2128 |
email_body => GenericTranslations->get(language_id => $lang_id, |
|
2129 |
translation_type =>"preset_text_periodic_invoices_email_body"), |
|
2125 | 2130 |
}; |
2126 | 2131 |
} |
2127 | 2132 |
|
Auch abrufbar als: Unified diff
Vorbelegte E-Mail-Texte um Vorbelegung periodic invoices ergänzt