X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=manufacturing%2Fsearch_work_orders.php;h=e03538b5508a3fa13330c920c86625b847b28ab3;hb=11e485e4a7c5f12c9424713b7330815a9cc5e4ae;hp=f4cf1624d38bb82c9b4053ca3b3eadd217a6a827;hpb=2383d33373d6ddec06906658a0ed6398077c1147;p=fa-stable.git diff --git a/manufacturing/search_work_orders.php b/manufacturing/search_work_orders.php index f4cf1624..e03538b5 100644 --- a/manufacturing/search_work_orders.php +++ b/manufacturing/search_work_orders.php @@ -9,8 +9,8 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the License here . ***********************************************************************/ -$page_security = 2; -$path_to_root=".."; +$page_security = 'SA_MANUFTRANSVIEW'; +$path_to_root = ".."; include($path_to_root . "/includes/db_pager.inc"); include_once($path_to_root . "/includes/session.inc"); @@ -85,7 +85,7 @@ end_form(); function check_overdue($row) { return (!$row["closed"] - && date_diff(Today(), sql2date($row["required_by"]), "d") > 0); + && date_diff2(Today(), sql2date($row["required_by"]), "d") > 0); } function view_link($dummy, $order_no)