$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;
$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;