Revision 08460123
Von Bernd Bleßmann vor fast 3 Jahren hinzugefügt
SL/Controller/Order.pm | ||
---|---|---|
486 | 486 |
|
487 | 487 |
if ($::form->{attachment_policy} ne 'no_file' && !($::form->{attachment_policy} eq 'old_file' && $attfile)) { |
488 | 488 |
my $doc; |
489 |
my @errors = $self->generate_pdf(\$doc, {media => $::form->{media},
|
|
490 |
format => $::form->{print_options}->{format}, |
|
491 |
formname => $::form->{print_options}->{formname}, |
|
492 |
language => $self->order->language, |
|
493 |
printer_id => $::form->{print_options}->{printer_id}, |
|
494 |
groupitems => $::form->{print_options}->{groupitems}}); |
|
489 |
my @errors = $self->generate_doc(\$doc, {media => $::form->{media},
|
|
490 |
format => $::form->{print_options}->{format},
|
|
491 |
formname => $::form->{print_options}->{formname},
|
|
492 |
language => $self->order->language,
|
|
493 |
printer_id => $::form->{print_options}->{printer_id},
|
|
494 |
groupitems => $::form->{print_options}->{groupitems}});
|
|
495 | 495 |
if (scalar @errors) { |
496 | 496 |
return $self->js->flash('error', t8('Generating the document failed: #1', $errors[0]))->render($self); |
497 | 497 |
} |
Auch abrufbar als: Unified diff
Kosmetik: Einrückung