projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Unnecesary direct access to user setting superseded by calls to user_* functions.
[fa-stable.git]
/
inventory
/
inquiry
/
stock_movements.php
diff --git
a/inventory/inquiry/stock_movements.php
b/inventory/inquiry/stock_movements.php
index 6021f1ee71082f92c30896424dd3b4123e4eefc8..e7fb0eed31d893b157e62dd5d99ef286dc6a5140 100644
(file)
--- a/
inventory/inquiry/stock_movements.php
+++ b/
inventory/inquiry/stock_movements.php
@@
-19,7
+19,7
@@
include_once($path_to_root . "/sales/includes/sales_db.inc");
include_once($path_to_root . "/includes/ui.inc");
$js = "";
include_once($path_to_root . "/includes/ui.inc");
$js = "";
-if ($use_popup_windows)
+if ($
SysPrefs->
use_popup_windows)
$js .= get_js_open_window(800, 500);
if (user_use_date_picker())
$js .= get_js_date_picker();
$js .= get_js_open_window(800, 500);
if (user_use_date_picker())
$js .= get_js_date_picker();
@@
-55,7
+55,7
@@
start_row();
locations_list_cells(_("From Location:"), 'StockLocation', null, true);
locations_list_cells(_("From Location:"), 'StockLocation', null, true);
-date_cells(_("From:"), 'AfterDate', '', null, -
$_SESSION["wa_current_user"]->prefs->
transaction_days());
+date_cells(_("From:"), 'AfterDate', '', null, -
user_
transaction_days());
date_cells(_("To:"), 'BeforeDate');
submit_cells('ShowMoves',_("Show Movements"),'',_('Refresh Inquiry'), 'default');
date_cells(_("To:"), 'BeforeDate');
submit_cells('ShowMoves',_("Show Movements"),'',_('Refresh Inquiry'), 'default');
@@
-195,4
+195,3
@@
end_table(1);
div_end();
end_page();
div_end();
end_page();
-?>