]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Form.pm
netprice auf Anzahl von Nachkommastellen von sellprice runden
[mfinanz.git] / SL / Form.pm
index a85902823b67c2772eb66c1cbb6907d33b5afa9a..1368df738a27461745b299b2a3a634ccd295c188 100644 (file)
@@ -1034,7 +1034,7 @@ sub parse_template {
                                       %{ $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" };
+  $self->{"notes"} = $self->{ $self->{"formname"} . "notes" } if exists $self->{ $self->{"formname"} . "notes" };
 
   if (!$self->{employee_id}) {
     $self->{"employee_${_}"} = $myconfig->{$_} for qw(email tel fax name signature);