Revision f7305c1d
Von Bernd Bleßmann vor fast 4 Jahren hinzugefügt
SL/Controller/Order.pm | ||
---|---|---|
327 | 327 |
$self->js->flash('info', t8('The PDF has been printed')); |
328 | 328 |
} |
329 | 329 |
|
330 |
my @warnings = store_pdf_to_webdav_and_filemanegement($self->order, $pdf, $pdf_filename);
|
|
330 |
my @warnings = store_pdf_to_webdav_and_filemanagement($self->order, $pdf, $pdf_filename);
|
|
331 | 331 |
if (scalar @warnings) { |
332 | 332 |
$self->js->flash('warning', $_) for @warnings; |
333 | 333 |
} |
... | ... | |
432 | 432 |
return $self->js->flash('error', t8('Conversion to PDF failed: #1', $errors[0]))->render($self); |
433 | 433 |
} |
434 | 434 |
|
435 |
my @warnings = store_pdf_to_webdav_and_filemanegement($self->order, $pdf, $::form->{attachment_filename});
|
|
435 |
my @warnings = store_pdf_to_webdav_and_filemanagement($self->order, $pdf, $::form->{attachment_filename});
|
|
436 | 436 |
if (scalar @warnings) { |
437 | 437 |
flash_later('warning', $_) for @warnings; |
438 | 438 |
} |
... | ... | |
2129 | 2129 |
)->save; |
2130 | 2130 |
} |
2131 | 2131 |
|
2132 |
sub store_pdf_to_webdav_and_filemanegement {
|
|
2132 |
sub store_pdf_to_webdav_and_filemanagement {
|
|
2133 | 2133 |
my($order, $content, $filename) = @_; |
2134 | 2134 |
|
2135 | 2135 |
my @errors; |
Auch abrufbar als: Unified diff
Kosmetik: Auftrags-Controller: Typo in Funktionsname