projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed hardcoded trans days in inquiries (30) to be a user preference.
[fa-stable.git]
/
sales
/
inquiry
/
customer_inquiry.php
diff --git
a/sales/inquiry/customer_inquiry.php
b/sales/inquiry/customer_inquiry.php
index d8a000c1866431d7d4ba3fc857adfe104a9b805f..86b965881f6ef4bdb677a816b2c7c0c9645296f6 100644
(file)
--- a/
sales/inquiry/customer_inquiry.php
+++ b/
sales/inquiry/customer_inquiry.php
@@
-43,7
+43,7
@@
start_row();
if (!$page_nested)
customer_list_cells(_("Select a customer: "), 'customer_id', null, true, false, false, !@$_GET['popup']);
if (!$page_nested)
customer_list_cells(_("Select a customer: "), 'customer_id', null, true, false, false, !@$_GET['popup']);
-date_cells(_("From:"), 'TransAfterDate', '', null, -
30
);
+date_cells(_("From:"), 'TransAfterDate', '', null, -
$_SESSION["wa_current_user"]->prefs->transaction_days()
);
date_cells(_("To:"), 'TransToDate', '', null, 1);
if (!isset($_POST['filterType']))
date_cells(_("To:"), 'TransToDate', '', null, 1);
if (!isset($_POST['filterType']))