Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 407245ca

Von Cem Aydin vor 24 Tagen hinzugefügt

  • ID 407245ca50829c05b3c9223efbfd2fac8433b0bb
  • Vorgänger 5b4ef61a
  • Nachfolger 630592d6

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