summaryrefslogtreecommitdiff
path: root/httemplate/search/report_prepaid_income.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/search/report_prepaid_income.html')
-rw-r--r--httemplate/search/report_prepaid_income.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/httemplate/search/report_prepaid_income.html b/httemplate/search/report_prepaid_income.html
index d707bd81b..04801beee 100644
--- a/httemplate/search/report_prepaid_income.html
+++ b/httemplate/search/report_prepaid_income.html
@@ -44,7 +44,7 @@
<SCRIPT TYPE="text/javascript">
Calendar.setup({
inputField: "date_text",
- ifFormat: "%m/%d/%Y",
+ ifFormat: "<% $date_format %>",
button: "date_button",
align: "BR"
});
@@ -58,4 +58,7 @@
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');
+my $conf = new FS::Conf;
+my $date_format = $conf->config('date_format') || '%m/%d/%Y';
+
</%init>