]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/Form.pm
SL::Template: Optionen von den Contrllern zum eigentlichen Template-Modul durchleiten
[kivitendo-erp.git] / SL / Form.pm
index 0d6e9ae9afcaead8515c7dcd041733f376ed7c80..ed31ddf68ecc52bd21b902c5c74d35c4a619a298 100644 (file)
@@ -1019,7 +1019,8 @@ sub parse_template {
                                       file_name => $self->{IN},
                                       form      => $self,
                                       myconfig  => $myconfig,
-                                      userspath => $userspath);
+                                      userspath => $userspath,
+                                      %{ $self->{TEMPLATE_DRIVER_OPTIONS} || {} });
 
   # Copy the notes from the invoice/sales order etc. back to the variable "notes" because that is where most templates expect it to be.
   $self->{"notes"} = $self->{ $self->{"formname"} . "notes" };