From 7fe6311ec91402cf843cb583d7b00c46243e80e5 Mon Sep 17 00:00:00 2001 From: Thomas Kasulke Date: Mon, 14 May 2007 10:36:49 +0000 Subject: [PATCH] =?utf8?q?Nullbuchungs=C3=BCberpr=C3=BCfung=20und=20dazuge?= =?utf8?q?h=C3=B6rige=20=C3=9Cbersetzungen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/ap.pl | 3 +++ bin/mozilla/ar.pl | 3 +++ locale/de/ap | 1 + locale/de/ar | 1 + 4 files changed, 8 insertions(+) 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', -- 2.20.1