Added hook support for localized functions.
[fa-stable.git] / includes / systypes.inc
index 3d45981038f15f3d61bc53b50b5e26c666036d3d..fc0dbb9a315bb574608772709f4cc99fa624ed40 100644 (file)
@@ -1,5 +1,14 @@
 <?php
-
+/**********************************************************************
+    Copyright (C) FrontAccounting, LLC.
+       Released under the terms of the GNU General Public License, GPL, 
+       as published by the Free Software Foundation, either version 3 
+       of the License, or (at your option) any later version.
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
+    See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
+***********************************************************************/
 Function get_next_trans_no ($trans_type){
 
     // sql to get the next display transaction number
@@ -48,6 +57,7 @@ function get_systype_db_info($type)
         case     28 : return array("".TB_PREF."wo_issues", null, "issue_no", "reference", "issue_date");
         case     29 : return array("".TB_PREF."wo_manufacture", null, "id", "reference", "date_");
         case     30 : return array("".TB_PREF."sales_orders", null, "order_no", "customer_ref", "ord_date");
+        case     31 : return array("".TB_PREF."service_orders", null, "order_no", "cust_ref", "date");
         case    40 : return array("".TB_PREF."dimensions", null, "id", "reference", "date_");
         case     35 : return null;
        }