combine ticket notification scrips, #15353
[freeside.git] / httemplate / search / report_prepaid_income.html
index d707bd8..061b24c 100644 (file)
@@ -7,7 +7,7 @@
 <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
 
   <TR>
-    <TH BGCOLOR="#e8e8e8" COLSPAN=2 ALIGN="left">
+    <TH CLASS="background" COLSPAN=2 ALIGN="left">
       <FONT SIZE="+1">Search options</FONT>
     </TH>
   </TR>
@@ -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>