Spellchecks
authorSven Schöling <s.schoeling@linet-services.de>
Thu, 24 May 2012 10:32:52 +0000 (12:32 +0200)
committerSven Schöling <s.schoeling@linet-services.de>
Thu, 24 May 2012 10:54:00 +0000 (12:54 +0200)
SL/BP.pm
SL/DB/Order.pm
t/006spellcheck.t

index c8b4a3d..f7eaf2b 100644 (file)
--- a/SL/BP.pm
+++ b/SL/BP.pm
@@ -196,7 +196,7 @@ sub get_spoolfiles {
     }
   }
 
-  if ($form->{type} =~ /(invoice|sales_order|sales_quotation|puchase_order|request_quotation|packing_list)$/) {
+  if ($form->{type} =~ /(invoice|sales_order|sales_quotation|purchase_order|request_quotation|packing_list)$/) {
     if ($form->{transdatefrom}) {
       $query .= " AND a.transdate >= ?";
       push(@values, $form->{transdatefrom});
index 8212a64..6a9977b 100644 (file)
@@ -155,7 +155,7 @@ sub number {
   my %number_method = (
     sales_order       => 'ordnumber',
     sales_quotation   => 'quonumber',
-    puchase_order     => 'ordnumber',
+    purchase_order    => 'ordnumber',
     request_quotation => 'quonumber',
   );
 
index 600460c..0a332ff 100644 (file)
@@ -41,6 +41,9 @@ paramater
 varsion
 fomr
 puhs
+invoce
+CONTANTS
+puchase
 );
 
 $testcount = scalar(@Support::Files::testitems);