Revision 52fd3269
Von Sven Schöling vor mehr als 10 Jahren hinzugefügt
SL/BackgroundJob/CreatePeriodicInvoices.pm | ||
---|---|---|
213 | 213 |
return unless $template; |
214 | 214 |
|
215 | 215 |
my $email_template = $config{periodic_invoices}->{email_template}; |
216 |
my $filename = $email_template || ( (SL::DB::Default->get->templates || "templates/webpages") . "/periodic_invoices_email.txt" ); |
|
216 |
my $filename = $email_template || ( (SL::DB::Default->get->templates || "templates/webpages") . "/oe/periodic_invoices_email.txt" );
|
|
217 | 217 |
my %params = ( POSTED_INVOICES => $posted_invoices, |
218 | 218 |
PRINTED_INVOICES => $printed_invoices ); |
219 | 219 |
|
Auch abrufbar als: Unified diff
PeriodicInvoices: korrekter Fallback, wenn kein email Template gesetzt ist.