summaryrefslogtreecommitdiff
path: root/httemplate/search/report_cust_main.html
diff options
context:
space:
mode:
authorjeff <jeff>2007-11-03 00:57:48 +0000
committerjeff <jeff>2007-11-03 00:57:48 +0000
commite8d02908a0c85c4fcbaf7145ef00f0d3293e7311 (patch)
tree7751d096ee069a2c12a9ffb4bf0d8b45709c74cb /httemplate/search/report_cust_main.html
parent4297bc81fdabab111d1231de807f14014f65d620 (diff)
new customer report/flattened package report (ticket 1428)
Diffstat (limited to 'httemplate/search/report_cust_main.html')
-rwxr-xr-xhttemplate/search/report_cust_main.html60
1 files changed, 60 insertions, 0 deletions
diff --git a/httemplate/search/report_cust_main.html b/httemplate/search/report_cust_main.html
new file mode 100755
index 000000000..f32c3aa18
--- /dev/null
+++ b/httemplate/search/report_cust_main.html
@@ -0,0 +1,60 @@
+<% include('/elements/header.html', 'Customer Report' ) %>
+
+<FORM ACTION="cust_main_ADV.cgi" METHOD="GET">
+<INPUT TYPE="hidden" NAME="magic" VALUE="bill">
+
+ <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
+
+ <TR>
+ <TH BGCOLOR="#e8e8e8" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">Search options</FONT></TH>
+ </TR>
+ <% include( '/elements/tr-select-agent.html',
+ ($cgi->param('agentnum') || ''),
+ )
+ %>
+
+% foreach my $field (qw( signupdate )) {
+
+ <TR>
+ <TD ALIGN="right" VALIGN="center"><% $label{$field} %></TD>
+ <TD>
+ <TABLE>
+ <% include( '/elements/tr-input-beginning_ending.html',
+ prefix => $field,
+ layout => 'horiz',
+ )
+ %>
+ </TABLE>
+ </TD>
+ </TR>
+
+% }
+
+ <TR>
+ <TD ALIGN="right" VALIGN="center">Include cancelled packages</TD>
+ <TD><INPUT TYPE="checkbox" NAME="cancelled_pkgs"></TD>
+ </TR>
+
+ </TABLE>
+
+<BR>
+<INPUT TYPE="submit" VALUE="Get Report">
+
+</FORM>
+
+<% include('/elements/footer.html') %>
+<%init>
+
+die "access denied"
+ unless ( $FS::CurrentUser::CurrentUser->access_right('List customers') &&
+ $FS::CurrentUser::CurrentUser->access_right('List packages')
+ );;
+
+</%init>
+<%once>
+
+my %label = (
+ 'signupdate' => 'Signup Date',
+);
+
+</%once>