- <% mt('Signup date') |h %> |
+ <% mt('Signup date') |h %> |
<& /elements/tr-input-beginning_ending.html,
@@ -56,7 +51,7 @@
% if ( $conf->exists('cust_main-enable_birthdate') ) {
- <% mt('Date of Birth') |h %> |
+ <% mt('Date of Birth') |h %> |
<& /elements/tr-input-beginning_ending.html,
@@ -70,7 +65,7 @@
% if ( $conf->exists('cust_main-enable_spouse_birthdate') ) {
- <% mt('Spouse Date of Birth') |h %> |
+ <% mt('Spouse Date of Birth') |h %> |
<& /elements/tr-input-beginning_ending.html,
@@ -84,7 +79,7 @@
% if ( $conf->exists('cust_main-enable_anniversary_date') ) {
- <% mt('Anniversary Date') |h %> |
+ <% mt('Anniversary Date') |h %> |
<& /elements/tr-input-beginning_ending.html,
@@ -97,7 +92,7 @@
% }
- Tags |
+ Tags |
<& /elements/select-cust_tag.html,
'cgi' => $cgi,
@@ -112,49 +107,113 @@
|
- <& /elements/tr-select-payby.html,
- 'payby_type' => 'cust',
- 'multiple' => 1,
- 'all_selected' => 1,
+
+
+
+ <% emt('Referral search options') %>
+
+
+ <& /elements/tr-input-text.html,
+ label => emt('At least this many'),
+ field => 'with_referrals',
+ size => 4,
+ maxlength => 4,
+ &>
+
+ <& /elements/tr-select-cust_main-status.html,
+ label => emt('Referral status'),
+ field => 'referral_status',
+ &>
+
+
+
+
+ <% emt('Package search options') %>
+
+
+
+ <% emt('Location search options') %>
+
+ <& elements/options_cust_location.html &>
+
+
+
+ <% emt('Contacts search options') %>
+
+ <& elements/options_cust_contacts.html,
+ 'pre_fix' => 'contacts_',
&>
+
+
+
+ <% emt('Billing search options') %>
+
+
+% my @exempt_groups = grep /\S/, $conf->config('tax-cust_exempt-groups');
+% unless ( @exempt_groups ) {
+
+% #falze laziness with With/Without postal mail invoices
+
+ <% mt('Tax exempt') |h %> |
+ |
+
- <% mt('Payment expiration before') |h %> |
-
-
- /
-
- |
+ <% mt('Not tax exempt') |h %> |
+ |
-
+% }
+
- <% mt('Invoice terms') |h %> |
+ <% mt('Invoice terms') |h %> |
+% my @agentnums = $FS::CurrentUser::CurrentUser->agentnums;
+% my $agentnum = scalar(@agentnums) == 1 ? $agentnums[0] : '';
<& /elements/select-terms.html,
- 'pre_options' => [ '' => emt('all') ],
- 'empty_value' => 'NULL',
+ 'pre_options' => [ '' => emt('all') ],
+ 'empty_value' => 'NULL',
+ 'agentnum' => $agentnum,
&>
|
@@ -165,31 +224,17 @@
&>
- <% mt('Without census tract') |h %> |
- |
-
-
-% if ( $conf->exists('enable_taxproducts') ) {
-
-
- <% mt('With hardcoded tax location') |h %> |
- |
-
-
-% }
-
-
- <% mt('With email address(es)') |h %> |
+ <% mt('With invoicing email address(es)') |h %> |
|
- <% mt('With postal mail invoices') |h %> |
+ <% mt('With postal mail invoices') |h %> |
|
- <% mt('Without postal mail invoices') |h %> |
+ <% mt('Without postal mail invoices') |h %> |
|
@@ -206,22 +251,21 @@
}
-
- |
-
+
+
+
+ <% emt('Display options') %>
+ | | | |