Revision 2045198c
Von Cem Aydin vor fast 2 Jahren hinzugefügt
SL/Template/OpenDocument.pm | ||
---|---|---|
360 | 360 |
close(OUT); |
361 | 361 |
|
362 | 362 |
my $is_qr_bill = $::instance_conf->get_create_qrbill_invoices && |
363 |
$form->{formname} eq 'invoice' && |
|
363 |
($form->{formname} eq 'invoice' || |
|
364 |
$form->{formname} eq 'invoice_for_advance_payment') && |
|
364 | 365 |
$form->{'template_meta'}->{'printer'}->{'template_code'} =~ m/qr/ ? |
365 | 366 |
1 : 0; |
366 | 367 |
|
... | ... | |
559 | 560 |
$form->{'iban_formatted'} = get_iban_formatted($form->{qrbill_iban}); |
560 | 561 |
$form->{'amount_formatted'} = $amount_formatted; |
561 | 562 |
$form->{'unstructured_message'} = $form->{'qr_unstructured_message'}; |
562 |
|
|
563 |
|
|
563 | 564 |
# set outfile |
564 | 565 |
my $outfile = $form->{"tmpdir"} . '/' . 'qr-code.png'; |
565 | 566 |
|
... | ... | |
693 | 694 |
} else { |
694 | 695 |
$ENV{'HOME'} = getcwd() . "/" . $self->{"userspath"}; |
695 | 696 |
} |
696 |
|
|
697 |
|
|
697 | 698 |
my $outdir = dirname($filename); |
698 | 699 |
|
699 | 700 |
if (!$::lx_office_conf{print_templates}->{openofficeorg_daemon}) { |
Auch abrufbar als: Unified diff
Swiss QR-Bill: Rechnungstyp Anzahlungsrechnung für QR-Rechnung erlauben
- Leerzeichen entfernt Z. 563, 697