X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=purchasing%2Finquiry%2Fpo_search_completed.php;h=a7495eab100e172acbdf4a9c3f0d47612a6b224b;hb=9451db1760036985de791ba24c442801e37f37de;hp=ca83d87465b21f5bc85740092e132b18a781d1fc;hpb=bd8f517d30d1edd3261e26e582ddd9e11c555616;p=fa-stable.git diff --git a/purchasing/inquiry/po_search_completed.php b/purchasing/inquiry/po_search_completed.php index ca83d874..a7495eab 100644 --- a/purchasing/inquiry/po_search_completed.php +++ b/purchasing/inquiry/po_search_completed.php @@ -104,8 +104,8 @@ function edit_link($row) { global $page_nested; - return $page_nested ? '' - trans_editor_link(ST_PURCHORDER, $trans["order_no"]); + return $page_nested ? '' : + trans_editor_link(ST_PURCHORDER, $row["order_no"]); } function prt_link($row) @@ -131,9 +131,10 @@ $cols = array( array('insert'=>true, 'fun'=>'prt_link'), ); -if (get_post('StockLocation') != $all_items) { +if (get_post('StockLocation') != ALL_TEXT) { $cols[_("Location")] = 'skip'; } + //--------------------------------------------------------------------------------------------------- $table =& new_db_pager('orders_tbl', $sql, $cols);