X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=purchasing%2Finquiry%2Fpo_search.php;h=9e77d7104d038d8379f93ec974a29f5febaa30cb;hb=95b0f12c88c15a89e6d73f8f02ec2cd042167bed;hp=71228317d99a9eee0aecec8164ed32169e318931;hpb=bd8f517d30d1edd3261e26e582ddd9e11c555616;p=fa-stable.git diff --git a/purchasing/inquiry/po_search.php b/purchasing/inquiry/po_search.php index 71228317..9e77d710 100644 --- a/purchasing/inquiry/po_search.php +++ b/purchasing/inquiry/po_search.php @@ -86,12 +86,12 @@ function trans_view($trans) function edit_link($row) { - return trans_editor_link(ST_PURCHORDER, $trans["order_no"]); + return trans_editor_link(ST_PURCHORDER, $row["order_no"]); } function prt_link($row) { - return print_document_link($row['order_no'], _("Print"), true, 18, ICON_PRINT); + return print_document_link($row['order_no'], _("Print"), true, ST_PURCHORDER, ICON_PRINT); } function receive_link($row) @@ -127,7 +127,7 @@ $cols = array( array('insert'=>true, 'fun'=>'receive_link') ); -if (get_post('StockLocation') != $all_items) { +if (get_post('StockLocation') != ALL_TEXT) { $cols[_("Location")] = 'skip'; }