X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_cust_main.html;h=acc49aec62cc89a77daa7d3fe8cd6b981946a77d;hb=2ee09c1343daa939da146c102dbca72f0a98d2bf;hp=0ef5a5196b30eb1f60931436eff85e7552abf5ac;hpb=8ef00c68688492b2afa3dde8d3d467f89f238c40;p=freeside.git
diff --git a/httemplate/search/report_cust_main.html b/httemplate/search/report_cust_main.html
index 0ef5a5196..acc49aec6 100755
--- a/httemplate/search/report_cust_main.html
+++ b/httemplate/search/report_cust_main.html
@@ -25,10 +25,22 @@
'all_selected' => 1,
&>
+ <& /elements/tr-select-part_referral.html,
+ 'label' => emt('Advertising Source'),
+ 'multiple' => 1,
+ #no, causes customers with disabled ones to disappear
+ #'all_selected' => 1,
+ &>
+
<% mt('Address') |h %> |
|
+
+
+ <% mt('Zip') |h %> |
+ |
+
<% mt('Signup date') |h %> |
@@ -42,6 +54,48 @@
+% if ( $conf->exists('cust_main-enable_birthdate') ) {
+
+ <% mt('Date of Birth') |h %> |
+
+
+ <& /elements/tr-input-beginning_ending.html,
+ prefix => 'birthdate',
+ layout => 'horiz',
+ &>
+
+ |
+
+% }
+
+% if ( $conf->exists('cust_main-enable_spouse_birthdate') ) {
+
+ <% mt('Spouse Date of Birth') |h %> |
+
+
+ <& /elements/tr-input-beginning_ending.html,
+ prefix => 'spouse_birthdate',
+ layout => 'horiz',
+ &>
+
+ |
+
+% }
+
+% if ( $conf->exists('cust_main-enable_anniversary_date') ) {
+
+ <% mt('Anniversary Date') |h %> |
+
+
+ <& /elements/tr-input-beginning_ending.html,
+ prefix => 'anniversary_date',
+ layout => 'horiz',
+ &>
+
+ |
+
+% }
+
<& /elements/tr-select-cust_tag.html,
'cgi' => $cgi,
'is_report' => 1,
@@ -101,11 +155,6 @@
&>
- <% mt('Include cancelled packages') |h %> |
- |
-
-
-
<% mt('Without census tract') |h %> |
|
@@ -120,6 +169,16 @@
% }
+ <% mt('With email address(es)') |h %> |
+ |
+
+
+
+ <% mt('Without postal mail invoices') |h %> |
+ |
+
+
+
|
@@ -132,6 +191,12 @@
<% mt('Add package columns') |h %> |
|
+
+
+ <% mt('Include cancelled packages') |h %> |
+ |
+
+
@@ -143,9 +208,7 @@
<%init>
die "access denied"
- unless ( $FS::CurrentUser::CurrentUser->access_right('List customers') &&
- $FS::CurrentUser::CurrentUser->access_right('List packages')
- );
+ unless $FS::CurrentUser::CurrentUser->access_right('Advanced customer search');
my $conf = new FS::Conf;