Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 60457bb7

Von Cem Aydin vor etwa 2 Monaten hinzugefügt

  • ID 60457bb7f2f36a9f3bf90358bfe68f75ced915bd
  • Vorgänger 4188f1f7
  • Nachfolger 1bca6c2a

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
2188 2188
  if ($print_form->{format} =~ /(opendocument|oasis)/i) {
2189 2189
    $template_ext  = 'odt';
2190 2190
    $template_type = 'OpenDocument';
2191

  
2192
    # add variables for printing with the built-in parser
2193
    $reclamation->flatten_to_form($print_form, format_amounts => 1);
2194
    $reclamation->add_legacy_template_arrays($print_form);
2191 2195
  }
2192 2196

  
2193 2197
  # search for the template

Auch abrufbar als: Unified diff