Merged changes form stabel branch up to the current state (2.3.22+).
[fa-stable.git] / purchasing / inquiry / po_search.php
index 3cf0b6cd4f21d78fbd5196a415d39a058d1cdc96..44b9b357f05139f65c9a23586c4a3c51221e47e9 100644 (file)
@@ -61,7 +61,7 @@ start_table(TABLESTYLE_NOBORDER);
 start_row();
 ref_cells(_("#:"), 'order_number', '',null, '', true);
 
-date_cells(_("from:"), 'OrdersAfterDate', '', null, -30);
+date_cells(_("from:"), 'OrdersAfterDate', '', null, -$_SESSION["wa_current_user"]->prefs->transaction_days());
 date_cells(_("to:"), 'OrdersToDate');
 
 locations_list_cells(_("Location:"), 'StockLocation', null, true);