X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/1ddb5731706ba6bd23eb831d0c79bdda8d503458..b13baada237c1e9508ec7c8d29713a3fe2598eb9:/bin/mozilla/cp.pl diff --git a/bin/mozilla/cp.pl b/bin/mozilla/cp.pl index 8632da99c..fb244b630 100644 --- a/bin/mozilla/cp.pl +++ b/bin/mozilla/cp.pl @@ -324,13 +324,13 @@ sub update { $updated = &check_name($form->{vc}); }; - # if ($new_name_selected || $updated) { + if ($new_name_selected || $updated) { # get open invoices from ar/ap using $form->{vc} and a.${vc}_id, i.e. customer_id CP->get_openinvoices(\%myconfig, \%$form); ($newvc) = split /--/, $form->{ $form->{vc} }; $form->{"old$form->{vc}"} = qq|$newvc--$form->{"$form->{vc}_id"}|; $updated = 1; - # } + } if ($form->{currency} ne $form->{oldcurrency}) { $form->{oldcurrency} = $form->{currency};