Moving tax_included to sales_types,changed coinstraint for tax type name,
[fa-stable.git] / dimensions / dimension_entry.php
index 6474ac1482aee51cbc82cc30d4c67b189d060a4d..c1c0a0bef9b893bb2ff38285f291df8cb43b001c 100644 (file)
@@ -5,8 +5,6 @@ $page_security = 10;
 $path_to_root="..";
 include_once($path_to_root . "/includes/session.inc");
 
-page(_("Dimension Entry"));
-
 include_once($path_to_root . "/includes/date_functions.inc");
 include_once($path_to_root . "/includes/manufacturing.inc");
 include_once($path_to_root . "/includes/data_checks.inc");
@@ -14,6 +12,11 @@ include_once($path_to_root . "/includes/data_checks.inc");
 include_once($path_to_root . "/dimensions/includes/dimensions_db.inc");
 include_once($path_to_root . "/dimensions/includes/dimensions_ui.inc");
 
+$js = "";
+if ($use_date_picker)
+       $js .= get_js_date_picker();
+page(_("Dimension Entry"), false, false, "", $js);
+
 //---------------------------------------------------------------------------------------
 
 if (isset($_GET['trans_no']))