]> wagnertech.de Git - kivitendo-erp.git/commitdiff
Nachtag zu r1152, fehlerhafte Abfrage beim Bezahlen von Rechnungen "0,00" ist nicht...
authorStephan Köhler <s.koehler@linet-services.de>
Mon, 12 Jun 2006 13:43:42 +0000 (13:43 +0000)
committerStephan Köhler <s.koehler@linet-services.de>
Mon, 12 Jun 2006 13:43:42 +0000 (13:43 +0000)
bin/mozilla/ir.pl
bin/mozilla/is.pl

index 264100e743b151ccd980ae0ee008b301bca22668..c896836be7155c23e7cb1f81533c8bd69d41dab2 100644 (file)
@@ -875,7 +875,7 @@ sub post {
     if ($form->{currency} ne $form->{defaultcurrency});
 
   for $i (1 .. $form->{paidaccounts}) {
-    if ($form->{"paid_$i"}) {
+    if ($form->parse_amount(\%myconfig, $form->{"paid_$i"})) {
       $datepaid = $form->datetonum($form->{"datepaid_$i"}, \%myconfig);
 
       $form->isblank("datepaid_$i", $locale->text('Payment date missing!'));
index 7bbcc12a7c91d8fd73b8f9de016b449c4b6ce8ba..b5479473ccdf23912772a2accc070c6e2802532e 100644 (file)
@@ -1061,7 +1061,7 @@ sub post {
     if ($form->{currency} ne $form->{defaultcurrency});
 
   for $i (1 .. $form->{paidaccounts}) {
-    if ($form->{"paid_$i"}) {
+    if ($form->parse_amount(\%myconfig, $form->{"paid_$i"})) {
       $datepaid = $form->datetonum($form->{"datepaid_$i"}, \%myconfig);
 
       $form->isblank("datepaid_$i", $locale->text('Payment date missing!'));