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 264100e..c896836 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 7bbcc12..b547947 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!'));