X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fcp.pl;h=86a5890bd5153c9c50689497fd486e99e73d9f60;hb=4c9d45bf6dc8697327cc6e49f94c56426e67354f;hp=d341ffdfc89855cc80c9f3f9e5b8622b32fad9b8;hpb=57eb13371bb3387afbef6ffa4cb71dd9d9f9e33e;p=kivitendo-erp.git diff --git a/bin/mozilla/cp.pl b/bin/mozilla/cp.pl index d341ffdfc..86a5890bd 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}"} .= "