From: Thomas Kasulke Date: Mon, 14 May 2007 10:36:49 +0000 (+0000) Subject: Nullbuchungsüberprüfung und dazugehörige Übersetzungen X-Git-Tag: release-2.4.3^2~325 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=7fe6311ec91402cf843cb583d7b00c46243e80e5;p=kivitendo-erp.git Nullbuchungsüberprüfung und dazugehörige Übersetzungen --- diff --git a/bin/mozilla/ap.pl b/bin/mozilla/ap.pl index ac6305727..83425da1a 100644 --- a/bin/mozilla/ap.pl +++ b/bin/mozilla/ap.pl @@ -998,6 +998,7 @@ sub post_payment { $form->isblank("datepaid_$i", $locale->text('Payment date missing!')); + $form->error($locale->text('Zero amount posting!')) if !$form->parse_amount(\%myconfig, $form->{"amount_$i"}); $form->error($locale->text('Cannot post payment for a closed period!')) if ($datepaid <= $closedto); @@ -1032,6 +1033,7 @@ sub post { $closedto = $form->datetonum($form->{closedto}, \%myconfig); $transdate = $form->datetonum($form->{transdate}, \%myconfig); + $form->error($locale->text('Zero amount posting!')) if !$form->parse_amount(\%myconfig, $form->{amount}); $form->error($locale->text('Cannot post transaction for a closed period!')) if ($transdate <= $closedto); @@ -1045,6 +1047,7 @@ sub post { $form->isblank("datepaid_$i", $locale->text('Payment date missing!')); + $form->error($locale->text('Zero amount posting!')) if !$form->parse_amount(\%myconfig, $form->{"amount_$i"}); $form->error($locale->text('Cannot post payment for a closed period!')) if ($datepaid <= $closedto); diff --git a/bin/mozilla/ar.pl b/bin/mozilla/ar.pl index a8feb0cdd..146e421ef 100644 --- a/bin/mozilla/ar.pl +++ b/bin/mozilla/ar.pl @@ -1024,6 +1024,7 @@ sub post_payment { $form->isblank("datepaid_$i", $locale->text('Payment date missing!')); + $form->error($locale->text('Zero amount posting!')) if !$form->parse_amount(\%myconfig, $form->{amount}); $form->error($locale->text('Cannot post payment for a closed period!')) if ($datepaid <= $closedto); @@ -1057,6 +1058,7 @@ sub post { $closedto = $form->datetonum($form->{closedto}, \%myconfig); $transdate = $form->datetonum($form->{transdate}, \%myconfig); + $form->error($locale->text('Zero amount posting!')) if !$form->parse_amount(\%myconfig, $form->{amount}); $form->error($locale->text('Cannot post transaction for a closed period!')) if ($transdate <= $closedto); @@ -1071,6 +1073,7 @@ sub post { $form->isblank("datepaid_$i", $locale->text('Payment date missing!')); + $form->error($locale->text('Zero amount posting!')) if !$form->parse_amount(\%myconfig, $form->{"amount_$i"}); $form->error($locale->text('Cannot post payment for a closed period!')) if ($datepaid <= $closedto); diff --git a/locale/de/ap b/locale/de/ap index 6426c86fc..60c5fdbf1 100644 --- a/locale/de/ap +++ b/locale/de/ap @@ -166,6 +166,7 @@ $self->{texts} = { 'Vendor not on file or locked!' => 'Dieser Lieferant existiert nicht oder ist gesperrt.', 'Vendor not on file!' => 'Lieferant ist nicht in der Datenbank!', 'Yes' => 'Ja', + 'Zero amount posting!' => 'Nullbuchung!', 'bin_list' => 'Lagerliste', 'button' => '?', 'history' => 'Historie', diff --git a/locale/de/ar b/locale/de/ar index 3667d000a..5ac518b68 100644 --- a/locale/de/ar +++ b/locale/de/ar @@ -173,6 +173,7 @@ $self->{texts} = { 'Vendor not on file or locked!' => 'Dieser Lieferant existiert nicht oder ist gesperrt.', 'Vendor not on file!' => 'Lieferant ist nicht in der Datenbank!', 'Yes' => 'Ja', + 'Zero amount posting!' => 'Nullbuchung!', 'bin_list' => 'Lagerliste', 'button' => '?', 'history' => 'Historie',