X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fcp.pl;h=c6910ba8542f499b0ec2ab2e19b8a5867ad5f3b7;hb=d4a434e1deba2695ef4d4a3fc0d51ac1b2044fb0;hp=6a21edecbbf1990eed7f7a3320ebeb7d85702136;hpb=6607a7145fc56b322e1c24afd07f72f085a25465;p=kivitendo-erp.git diff --git a/bin/mozilla/cp.pl b/bin/mozilla/cp.pl index 6a21edecb..c6910ba85 100644 --- a/bin/mozilla/cp.pl +++ b/bin/mozilla/cp.pl @@ -32,11 +32,11 @@ #====================================================================== use SL::CP; -use SL::OP; use SL::IS; use SL::IR; - -use strict ("vars", "subs"); +use SL::AR; +use SL::AP; +use strict; #use warnings; require "bin/mozilla/arap.pl"; @@ -60,6 +60,8 @@ sub payment { # setup customer/vendor selection for open invoices if ($form->{all_vc}) { + # Dieser Zweig funktioniert derzeit NIE. Ggf. ganz raus oder + # alle offenen Zahlungen wieder korrekt anzeigen. jb 12.10.2010 $form->all_vc(\%myconfig, $form->{vc}, $form->{ARAP}); } else { CP->get_openvc(\%myconfig, \%$form); @@ -68,35 +70,38 @@ sub payment { $form->{"select$form->{vc}"} = ""; if ($form->{"all_$form->{vc}"}) { + # s.o. jb 12.10.2010 $form->{"$form->{vc}_id"} = $form->{"all_$form->{vc}"}->[0]->{id}; map { $form->{"select$form->{vc}"} .= "