[freeside-commits] freeside/httemplate/graph report_money_time_daily.html, 1.1.2.2, 1.1.2.3

Erik Levinson levinse at wavetail.420.am
Thu May 26 14:00:01 PDT 2011


Update of /home/cvs/cvsroot/freeside/httemplate/graph
In directory wavetail.420.am:/tmp/cvs-serv4854/httemplate/graph

Modified Files:
      Tag: FREESIDE_2_1_BRANCH
	report_money_time_daily.html 
Log Message:
daily sales, credits, and receipts report

Index: report_money_time_daily.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/graph/report_money_time_daily.html,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -w -d -r1.1.2.2 -r1.1.2.3
--- report_money_time_daily.html	13 May 2011 20:03:50 -0000	1.1.2.2
+++ report_money_time_daily.html	26 May 2011 20:59:59 -0000	1.1.2.3
@@ -4,7 +4,12 @@
 
 <TABLE>
 
-<% include( '/elements/tr-input-beginning_ending.html' ) %>
+<% include( '/elements/tr-input-beginning_ending.html',
+                'datesrequired' => 1,
+                'from' => time2str('%m/%d/%Y',$from),
+                'to' => time2str('%m/%d/%Y',time),
+            ) 
+%>
 
 <% include('/elements/tr-select-agent.html',
              'label'         => 'For agent: ',
@@ -20,6 +25,8 @@
 <% include('/elements/footer.html') %>
 <%init>
 
+my $from = time - 30*86400;
+
 die "access denied"
   unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');
 



More information about the freeside-commits mailing list