X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=bin%2Fmozilla%2Fcp.pl;h=f91e9e00cb581f40acde81c239cf76db5d6274ec;hb=d5c1e4fa391f26fc0acd568729a98493edf319d8;hp=c7e9a9b3d5deccbe6431b83bceb11f5bac60600a;hpb=510ca0b00027e4d1d0016da5f327ecd78b3b5425;p=kivitendo-erp.git diff --git a/bin/mozilla/cp.pl b/bin/mozilla/cp.pl index c7e9a9b3d..f91e9e00c 100644 --- a/bin/mozilla/cp.pl +++ b/bin/mozilla/cp.pl @@ -747,7 +747,7 @@ sub check_form { exit; } - $form->error($locale->text('Zero amount posting!')) if ($form->{amount} eq "0,00" || $form->{amount} eq "0.00"); + $form->error($locale->text('Zero amount posting!')) if !$form->parse_amount(\%myconfig, $form->{amount}); $form->error($locale->text('Date missing!')) unless $form->{datepaid}; $closedto = $form->datetonum($form->{closedto}, \%myconfig);