type warning in dimension tags
[fa-stable.git] / includes / types.inc
index 754ddb727f7ae036ddbe9d4c2ea8a0fc579c183c..3636a4936e3eee4287504da194059956ee210755 100644 (file)
@@ -89,17 +89,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");
@@ -281,4 +270,14 @@ $stock_types = array(
                'D' => _("Service")
 );
 
+//----------------------------------------------------------------------------------
+
+define('TAG_ACCOUNT',   1);
+define('TAG_DIMENSION', 2);
+
+$tag_types = array (
+               TAG_ACCOUNT   => _("Account"),
+               TAG_DIMENSION => _("Dimension")
+);
+
 ?>
\ No newline at end of file