projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed mysqli related warnings.
[fa-stable.git]
/
purchasing
/
inquiry
/
po_search_completed.php
diff --git
a/purchasing/inquiry/po_search_completed.php
b/purchasing/inquiry/po_search_completed.php
index 74b8f719e570e3758a9a2e45064cb722989c6de7..a7495eab100e172acbdf4a9c3f0d47612a6b224b 100644
(file)
--- a/
purchasing/inquiry/po_search_completed.php
+++ b/
purchasing/inquiry/po_search_completed.php
@@
-60,7
+60,7
@@
start_table(TABLESTYLE_NOBORDER);
start_row();
ref_cells(_("#:"), 'order_number', '',null, '', true);
start_row();
ref_cells(_("#:"), 'order_number', '',null, '', true);
-date_cells(_("from:"), 'OrdersAfterDate', '', null, -
$_SESSION["wa_current_user"]->prefs->
transaction_days());
+date_cells(_("from:"), 'OrdersAfterDate', '', null, -
user_
transaction_days());
date_cells(_("to:"), 'OrdersToDate');
locations_list_cells(_("into location:"), 'StockLocation', null, true);
date_cells(_("to:"), 'OrdersToDate');
locations_list_cells(_("into location:"), 'StockLocation', null, true);
@@
-104,8
+104,8
@@
function edit_link($row)
{
global $page_nested;
{
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)
}
function prt_link($row)
@@
-131,9
+131,10
@@
$cols = array(
array('insert'=>true, 'fun'=>'prt_link'),
);
array('insert'=>true, 'fun'=>'prt_link'),
);
-if (get_post('StockLocation') !=
$all_items
) {
+if (get_post('StockLocation') !=
ALL_TEXT
) {
$cols[_("Location")] = 'skip';
}
$cols[_("Location")] = 'skip';
}
+
//---------------------------------------------------------------------------------------------------
$table =& new_db_pager('orders_tbl', $sql, $cols);
//---------------------------------------------------------------------------------------------------
$table =& new_db_pager('orders_tbl', $sql, $cols);