]> wagnertech.de Git - kivitendo-erp.git/commitdiff
Nullbuchungsüberprüfung und dazugehörige Übersetzungen
authorThomas Kasulke <t.kasulke@linet-services.de>
Mon, 14 May 2007 10:36:49 +0000 (10:36 +0000)
committerThomas Kasulke <t.kasulke@linet-services.de>
Mon, 14 May 2007 10:36:49 +0000 (10:36 +0000)
bin/mozilla/ap.pl
bin/mozilla/ar.pl
locale/de/ap
locale/de/ar

index ac63057278a2286b4d0cf5e8a0e0f9b507c5f619..83425da1aaadefe65230066ca0effaae9b269848 100644 (file)
@@ -998,6 +998,7 @@ sub post_payment {
 
       $form->isblank("datepaid_$i", $locale->text('Payment date missing!'));
 
 
       $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);
 
       $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);
 
   $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);
 
   $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->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);
 
       $form->error($locale->text('Cannot post payment for a closed period!'))
         if ($datepaid <= $closedto);
 
index a8feb0cddd6e211533de7238b7fd51a57607e4b0..146e421ef17cf985524cf629caebdbbc59aceba1 100644 (file)
@@ -1024,6 +1024,7 @@ sub post_payment {
 
       $form->isblank("datepaid_$i", $locale->text('Payment date missing!'));
 
 
       $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);
 
       $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);
 
   $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);
 
   $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->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);
 
       $form->error($locale->text('Cannot post payment for a closed period!'))
         if ($datepaid <= $closedto);
 
index 6426c86fcb05669b728f8b5d0e2563c3b6226021..60c5fdbf14e923746fb253671812eced26eab411 100644 (file)
@@ -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',
   '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',
   'bin_list'                    => 'Lagerliste',
   'button'                      => '?',
   'history'                     => 'Historie',
index 3667d000acf29be99a92165447090f0ffadab733..5ac518b68d9b5bc79aff03ba06c13487f3a8b648 100644 (file)
@@ -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',
   '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',
   'bin_list'                    => 'Lagerliste',
   'button'                      => '?',
   'history'                     => 'Historie',