Revision 407245ca
Von Cem Aydin vor 8 Monaten hinzugefügt
SL/Controller/Reclamation.pm | ||
---|---|---|
if ($print_form->{format} =~ /(opendocument|oasis)/i) {
|
||
$template_ext = 'odt';
|
||
$template_type = 'OpenDocument';
|
||
|
||
# add variables for printing with the built-in parser
|
||
$reclamation->flatten_to_form($print_form, format_amounts => 1);
|
||
$reclamation->add_legacy_template_arrays($print_form);
|
||
}
|
||
|
||
# search for the template
|
Auch abrufbar als: Unified diff
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.