X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fcp.pl;h=8e31a8f1a588b7ea300f32f2aa65ef978c4a3f80;hb=5e59cc54dd5e2d69f71828541795a29ed51a96f0;hp=8d7f6594321f756a7859991f620a5b48340a6d0f;hpb=89edb2eb5dec976b711d3d05303103176e8f4615;p=kivitendo-erp.git diff --git a/bin/mozilla/cp.pl b/bin/mozilla/cp.pl index 8d7f65943..8e31a8f1a 100644 --- a/bin/mozilla/cp.pl +++ b/bin/mozilla/cp.pl @@ -483,14 +483,7 @@ sub form_footer { print qq| -|; - - if ($form->{menubar}) { - require "$form->{path}/menu.pl"; - &menubar; - } - print qq| @@ -724,10 +717,6 @@ sub print { $form->{company} = $myconfig{company}; $form->{address} = $myconfig{address}; - @a = - qw(name invnumber company address text_amount street zipcode city country memo); - $form->format_string(@a); - $form->parse_template(\%myconfig, $userspath); if ($form->{media} ne 'screen') { @@ -766,7 +755,7 @@ sub check_form { $form->{amount} = $amount; for $i (1 .. $form->{rowcount}) { - if ($form->{"paid_$i"}) { + if ($form->parse_amount(\%myconfig, $form->{"paid_$i"})) { $amount -= $form->parse_amount($myconfig, $form->{"paid_$i"}); push(@{ $form->{paid} }, $form->{"paid_$i"});