X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=inventory%2Finquiry%2Fstock_movements.php;h=e7fb0eed31d893b157e62dd5d99ef286dc6a5140;hb=7561718ee5113232ce917f63085d272884b0929c;hp=2c2e0974225965cbc2764b141a2835308c051a17;hpb=53d942f2a0d20cce5e9c409c6485867ce0869e4d;p=fa-stable.git diff --git a/inventory/inquiry/stock_movements.php b/inventory/inquiry/stock_movements.php index 2c2e0974..e7fb0eed 100644 --- a/inventory/inquiry/stock_movements.php +++ b/inventory/inquiry/stock_movements.php @@ -19,9 +19,9 @@ include_once($path_to_root . "/sales/includes/sales_db.inc"); 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 ($use_date_picker) +if (user_use_date_picker()) $js .= get_js_date_picker(); page(_($help_context = "Inventory Item Movement"), @$_GET['popup'], false, "", $js); //------------------------------------------------------------------------------------------------ @@ -55,7 +55,7 @@ start_row(); 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'); @@ -195,4 +195,3 @@ end_table(1); div_end(); end_page(); -?>