Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision a3449070

Von Cem Aydin vor fast 3 Jahren hinzugefügt

Swiss QR-Bill: QR-Code in Printablauf nur für Formname "Rechnung" erzeugen

Unterschiede anzeigen:

SL/Template/OpenDocument.pm
359 359
  close(OUT);
360 360

  
361 361
  my $qr_image_path;
362
  if ($::instance_conf->get_create_qrbill_invoices) {
362
  if ($::instance_conf->get_create_qrbill_invoices && $form->{formname} eq 'invoice') {
363 363
    # the biller account information, biller address and the reference number,
364 364
    # are needed in the template aswell as in the qr-code generation, therefore
365 365
    # assemble these and add to $::form
......
435 435
    $zip->contents("styles.xml", Encode::encode('utf-8-strict', $new_styles));
436 436
  }
437 437

  
438
  if ($::instance_conf->get_create_qrbill_invoices) {
438
  if ($::instance_conf->get_create_qrbill_invoices && $form->{formname} eq 'invoice') {
439 439
    # get placeholder path from odt XML
440 440
    my $qr_placeholder_path;
441 441
    my $dom = XML::LibXML->load_xml(string => $contents);

Auch abrufbar als: Unified diff