From: Jan Büren Date: Tue, 12 Oct 2010 10:23:45 +0000 (+0200) Subject: Merge branch 'master' of ssh://git-jbueren@lx-office.linet-services.de/~/lx-office-erp X-Git-Tag: release-2.6.2beta1~101^2~6 X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/commitdiff_plain/aef4bc0c25c038294c180ba710099d63d2919a3e?hp=-c Merge branch 'master' of ssh://git-jbueren@lx-office.linet-services.de/~/lx-office-erp Conflicts: bin/mozilla/cp.pl --- aef4bc0c25c038294c180ba710099d63d2919a3e diff --combined bin/mozilla/cp.pl index d454faf9b,2df7812e7..df454c42d --- a/bin/mozilla/cp.pl +++ b/bin/mozilla/cp.pl @@@ -48,7 -48,6 +48,7 @@@ our ($form, %myconfig, $lxdebug, $local sub payment { $lxdebug->enter_sub(); + $auth->assert('cash'); my (@curr); @@@ -58,8 -57,6 +58,8 @@@ # 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,15 -65,12 +68,15 @@@ $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}"} .= "