X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=manufacturing%2Fsearch_work_orders.php;h=98b645b340e351d9b9810aa75d50732e08b7459e;hb=cfaa5cec1f5137bcc1599a4306879e3265d1dacd;hp=d79fc1dc2aeead789c37acf56bc49bb99becd835;hpb=5e63c6ace55729bbb5ee3b060035a25a4426eb0a;p=fa-stable.git diff --git a/manufacturing/search_work_orders.php b/manufacturing/search_work_orders.php index d79fc1dc..98b645b3 100644 --- a/manufacturing/search_work_orders.php +++ b/manufacturing/search_work_orders.php @@ -64,10 +64,16 @@ start_form(false, false, $_SERVER['PHP_SELF'] ."?outstanding_only=$outstanding_o start_table(TABLESTYLE_NOBORDER); start_row(); +ref_cells(_("#:"), 'OrderId', '',null, '', true); ref_cells(_("Reference:"), 'OrderNumber', '',null, '', true); locations_list_cells(_("at Location:"), 'StockLocation', null, true); +end_row(); +end_table(); +start_table(TABLESTYLE_NOBORDER); +start_row(); + check_cells( _("Only Overdue:"), 'OverdueOnly', null); if ($outstanding_only==0) @@ -152,8 +158,8 @@ function dec_amount($row, $amount) return number_format2($amount, $row['decimals']); } -$sql = get_sql_for_work_orders($outstanding_only, get_post('SelectedStockItem'), get_post('StockLocation'), get_post('OrderNumber'), - check_value('OverdueOnly')); +$sql = get_sql_for_work_orders($outstanding_only, get_post('SelectedStockItem'), get_post('StockLocation'), + get_post('OrderId'), get_post('OrderNumber'), check_value('OverdueOnly')); $cols = array( _("#") => array('fun'=>'view_link', 'ord'=>''),