From c5646306f1674738722b94590b5f1bcb78d23f49 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Sat, 12 Nov 2011 09:52:48 +0100 Subject: [PATCH] Couldn't use the date picker in the new transaction tabs in customer/supplier/items. --- inventory/manage/items.php | 2 ++ purchasing/manage/suppliers.php | 2 ++ sales/manage/customers.php | 3 +++ 3 files changed, 7 insertions(+) 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"); -- 2.30.2