summaryrefslogtreecommitdiff
path: root/httemplate/graph/report_money_time.html
blob: aaaf01b19c1dd7820ac251715f86ac17c4c4080c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<% include('/elements/header.html', 'Sales, Credits and Receipts Summary' ) %>

<FORM ACTION="money_time.cgi" METHOD="GET">

<!--
<INPUT TYPE="checkbox" NAME="ar">
  Accounts receivable (invoices - applied credits)<BR>
<INPUT TYPE="checkbox" NAME="charged">
  Just Invoices<BR>
<INPUT TYPE="checkbox" NAME="defer">
  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>
<INPUT TYPE="checkbox" NAME="cash">
  Cashflow (payments - refunds)<BR>
<BR>
-->

<TABLE>

<% include('/elements/tr-select-from_to.html' ) %>

<% include('/elements/tr-select-agent.html',
             'label'         => 'For agent: ',
             'disable_empty' => 0,
          )
%>

<& /elements/tr-select-cust_class.html,
    'field'    => 'cust_classnum', # to avoid ambiguity in FS::Report::Table
    'multiple' => 1
&>

<% include('/elements/tr-select-part_referral.html',
             'label'         => 'Advertising source ',
             'disable_empty' => 0,
             'empty_label'   => 'all',
          )
%>

<tr>
  <td />
  <td>
    <& /elements/checkbox.html,
      field => '12mo',
      value => 1,
    &>
    <% emt('Show 12 month totals instead of monthly values') %>
  </td>
</tr>
<tr>
  <td />
  <td>
    <& /elements/checkbox.html,
      field => 'exclude_discount',
      value => 1,
      curr_value => 0,
    &>
    <% emt('Exclude discounts from total sales') %>
  </td>
</TR>

</TABLE>

<BR><INPUT TYPE="submit" VALUE="Display">
</FORM>

<% include('/elements/footer.html') %>
<%init>

die "access denied"
  unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');

</%init>