Cleanup (missing $row declaration).
[fa-stable.git] / includes / types.inc
index 7df363ab984f2b389cdcdfc3ed94f53b159776bf..c7bb52c2b3e013cd982285922cfee684891b823c 100644 (file)
@@ -42,6 +42,11 @@ define('ST_SALESQUOTE', 32);
 define('ST_COSTUPDATE', 35);
 define('ST_DIMENSION', 40);
 
+// Don't include these defines in the $systypes_array.
+// They are used for documents only.
+define ('ST_STATEMENT', 91);
+define ('ST_CHEQUE', 92);
+
 $systypes_array = array (
        ST_JOURNAL => _("Journal Entry"),
        ST_BANKPAYMENT => _("Bank Payment"),
@@ -89,17 +94,6 @@ $bank_transfer_types = array(
                        _("Cash")
        );
 
-//----------------------------------------------------------------------------------
-// Core FA menu tabs (modules)
-//
-$tabs = array('orders'=>_("Sales"), 
-                       'AP'=>_("Purchases"),
-                       'stock'=>_("Items and Inventory"),
-                       'manuf'=>_("Manufacturing"), 
-                       'proj'=>_("Dimensions"),
-                       'GL'=>_("Banking and General Ledger"),
-                       'system'=>_("Setup"));
-
 include_once($path_to_root . "/manufacturing/includes/manufacturing_db.inc");
 include_once($path_to_root . "/purchasing/includes/purchasing_db.inc");
 include_once($path_to_root . "/sales/includes/sales_db.inc");
@@ -286,7 +280,7 @@ $stock_types = array(
 define('TAG_ACCOUNT',   1);
 define('TAG_DIMENSION', 2);
 
-$tag_types_array = array (
+$tag_types = array (
                TAG_ACCOUNT   => _("Account"),
                TAG_DIMENSION => _("Dimension")
 );