X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FIS.pm;h=e29f67fe2717941cb5c49e906c1f49ea95dbe0c6;hb=311a645bc3b3a74052c7c0565afaad77961102a8;hp=d4d8c6f1dbf44a0f8b701999a87d14be5f8e9c18;hpb=081a4f9736f3bc345872be8f61632cbed4a8d9b3;p=kivitendo-erp.git diff --git a/SL/IS.pm b/SL/IS.pm index d4d8c6f1d..e29f67fe2 100644 --- a/SL/IS.pm +++ b/SL/IS.pm @@ -304,9 +304,6 @@ sub invoice_details { $form->{paid} = $form->format_amount($myconfig, $form->{paid}, 2); - # myconfig variables - map { $form->{$_} = $myconfig->{$_} } - (qw(company address tel fax signature businessnumber)); $form->{username} = $myconfig->{name}; $dbh->disconnect; @@ -360,8 +357,8 @@ sub customer_details { $ref = $sth->fetchrow_hashref(NAME_lc); - # remove id and taxincluded before copy back - delete @$ref{qw(id taxincluded)}; + # remove notes, id and taxincluded before copy back + delete @$ref{qw(id taxincluded notes)}; map { $form->{$_} = $ref->{$_} } keys %$ref; $sth->finish;