Merge branch 'master' of git.freeside.biz:/home/git/freeside
[freeside.git] / httemplate / graph / report_money_time.html
1 <% include('/elements/header.html', 'Sales, Credits and Receipts Summary' ) %>
2
3 <FORM ACTION="money_time.cgi" METHOD="GET">
4
5 <!--
6 <INPUT TYPE="checkbox" NAME="ar">
7   Accounts receivable (invoices - applied credits)<BR>
8 <INPUT TYPE="checkbox" NAME="charged">
9   Just Invoices<BR>
10 <INPUT TYPE="checkbox" NAME="defer">
11   Accounts receivable, with deferred revenue (invoices - applied credits, with charges for annual/semi-annual/quarterly/etc. services deferred over applicable time period) (there has got to be a shorter description for this)<BR>
12 <INPUT TYPE="checkbox" NAME="cash">
13   Cashflow (payments - refunds)<BR>
14 <BR>
15 -->
16
17 <TABLE>
18
19 <% include('/elements/tr-select-from_to.html' ) %>
20
21 <% include('/elements/tr-select-agent.html',
22              'label'         => 'For agent: ',
23              'disable_empty' => 0,
24           )
25 %>
26
27 <& /elements/tr-select-cust_class.html,
28     'field'    => 'cust_classnum', # to avoid ambiguity in FS::Report::Table
29     'multiple' => 1
30 &>
31
32 <% include('/elements/tr-select-part_referral.html',
33              'label'         => 'Advertising source ',
34              'disable_empty' => 0,
35              'empty_label'   => 'all',
36           )
37 %>
38
39 <tr>
40   <td />
41   <td>
42     <& /elements/checkbox.html,
43       field => '12mo',
44       value => 1,
45     &>
46     <% emt('Show 12 month totals instead of monthly values') %>
47   </td>
48 </tr>
49 <tr>
50   <td />
51   <td>
52     <& /elements/checkbox.html,
53       field => 'exclude_discount',
54       value => 1,
55       curr_value => 0,
56     &>
57     <% emt('Exclude discounts from total sales') %>
58   </td>
59 </TR>
60
61 </TABLE>
62
63 <BR><INPUT TYPE="submit" VALUE="Display">
64 </FORM>
65
66 <% include('/elements/footer.html') %>
67 <%init>
68
69 die "access denied"
70   unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');
71
72 </%init>