projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rechnungen: Sicherheitsnachfrage vor Stornierung
[kivitendo-erp.git]
/
SL
/
BackgroundJob
/
CreatePeriodicInvoices.pm
diff --git
a/SL/BackgroundJob/CreatePeriodicInvoices.pm
b/SL/BackgroundJob/CreatePeriodicInvoices.pm
index
bdf5363
..
2df2a30
100644
(file)
--- a/
SL/BackgroundJob/CreatePeriodicInvoices.pm
+++ b/
SL/BackgroundJob/CreatePeriodicInvoices.pm
@@
-200,6
+200,7
@@
sub _create_periodic_invoice {
$invoice->assign_attributes(deliverydate => $period_start_date,
intnotes => $intnotes,
employee => $order->employee, # new_from sets employee to import user
$invoice->assign_attributes(deliverydate => $period_start_date,
intnotes => $intnotes,
employee => $order->employee, # new_from sets employee to import user
+ direct_debit => $config->direct_debit,
);
_replace_vars(object => $invoice, vars => $time_period_vars, attribute => $_, attribute_format => ($_ eq 'notes' ? 'html' : 'text')) for qw(notes intnotes transaction_description);
);
_replace_vars(object => $invoice, vars => $time_period_vars, attribute => $_, attribute_format => ($_ eq 'notes' ? 'html' : 'text')) for qw(notes intnotes transaction_description);
@@
-316,6
+317,14
@@
sub _print_invoice {
$form->{OUT} = $config->printer->printer_command;
$form->{OUT_MODE} = '|-';
$form->{OUT} = $config->printer->printer_command;
$form->{OUT_MODE} = '|-';
+ $form->{TEMPLATE_DRIVER_OPTIONS} = {
+ variable_content_types => {
+ longdescription => 'html',
+ partnotes => 'html',
+ notes => 'html',
+ },
+ };
+
$form->prepare_for_printing;
$form->throw_on_error(sub {
$form->prepare_for_printing;
$form->throw_on_error(sub {