Couldn't use the date picker in the new transaction tabs in customer/supplier/items.
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Sat, 12 Nov 2011 08:52:48 +0000 (09:52 +0100)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Sat, 12 Nov 2011 08:52:48 +0000 (09:52 +0100)
inventory/manage/items.php
purchasing/manage/suppliers.php
sales/manage/customers.php

index 8c11d45de55a99fa2873483c324ed6344d1cccfa..43495e0fd136d1eb947056e24fb78414323e416e 100644 (file)
@@ -15,6 +15,8 @@ include($path_to_root . "/includes/session.inc");
 $js = "";
 if ($use_popup_windows)
        $js .= get_js_open_window(900, 500);
+if ($use_date_picker)
+       $js .= get_js_date_picker();
        
 page(_($help_context = "Items"), false, false, "", $js);
 
index 3f2d85665563535547e10c824fe2eacae7e980fa..b545115e9c7d8a60ce91c506ae58d45cd386c7d8 100644 (file)
@@ -16,6 +16,8 @@ include_once($path_to_root . "/includes/session.inc");
 $js = "";
 if ($use_popup_windows)
        $js .= get_js_open_window(900, 500);
+if ($use_date_picker)
+       $js .= get_js_date_picker();
 
 page(_($help_context = "Suppliers"), @$_REQUEST['popup'], false, "", $js);
 
index 7df12402b17207d54156ec2cd320d0c3802a6068..006d4b90f22f33b0063ee0a35ec94f00ebb574ee 100644 (file)
@@ -17,6 +17,9 @@ include_once($path_to_root . "/includes/session.inc");
 $js = "";
 if ($use_popup_windows)
        $js .= get_js_open_window(900, 500);
+if ($use_date_picker)
+       $js .= get_js_date_picker();
+       
 page(_($help_context = "Customers"), @$_REQUEST['popup'], false, "", $js); 
 
 include_once($path_to_root . "/includes/date_functions.inc");