From: Waldemar Toews Date: Wed, 8 Jan 2014 08:31:26 +0000 (+0100) Subject: Zahlungseingang: Offene Rechnungen immer beim Update laden. X-Git-Tag: release-3.1.0beta1~22^2~22^2~19^2~9 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=ad1061cccd04a5b37e1b09b58055cad15c2f9761;p=kivitendo-erp.git Zahlungseingang: Offene Rechnungen immer beim Update laden. --- diff --git a/bin/mozilla/cp.pl b/bin/mozilla/cp.pl index b9aed484a..737cb307e 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};