Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision e89fc1a6

Von Cem Aydin vor etwa 1 Monat hinzugefügt

  • ID e89fc1a638154a303efab068b7a31d38bb9ab4bc
  • Vorgänger 7bbfa415
  • Nachfolger 9f6e49c1

Reclamation Controller: Support für Drucken via internem Kivi parser hinzugefügt

Dazu werden die benötigten Druck Variablen aus dem Rose DB objekt
ins template array geschrieben.

Helfer Funktionen unter SL/DB/Helper/LegacyPrinting.pm erstellt.
Siehe auch perldoc in dieser Datei.

Unterschiede anzeigen:

SL/Controller/Reclamation.pm
2147 2147
  if ($print_form->{format} =~ /(opendocument|oasis)/i) {
2148 2148
    $template_ext  = 'odt';
2149 2149
    $template_type = 'OpenDocument';
2150

  
2151
    # add variables for printing with the built-in parser
2152
    $reclamation->flatten_to_form($print_form, format_amounts => 1);
2153
    $reclamation->add_legacy_template_arrays($print_form);
2150 2154
  }
2151 2155

  
2152 2156
  # search for the template

Auch abrufbar als: Unified diff