From: Joe Hunt Date: Sat, 12 Nov 2011 08:52:48 +0000 (+0100) Subject: Couldn't use the date picker in the new transaction tabs in customer/supplier/items. X-Git-Tag: 2.3-final~530 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=c5646306f1674738722b94590b5f1bcb78d23f49;p=fa-stable.git Couldn't use the date picker in the new transaction tabs in customer/supplier/items. --- diff --git a/inventory/manage/items.php b/inventory/manage/items.php index 8c11d45d..43495e0f 100644 --- a/inventory/manage/items.php +++ b/inventory/manage/items.php @@ -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); diff --git a/purchasing/manage/suppliers.php b/purchasing/manage/suppliers.php index 3f2d8566..b545115e 100644 --- a/purchasing/manage/suppliers.php +++ b/purchasing/manage/suppliers.php @@ -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); diff --git a/sales/manage/customers.php b/sales/manage/customers.php index 7df12402..006d4b90 100644 --- a/sales/manage/customers.php +++ b/sales/manage/customers.php @@ -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");