<% mt('Signup date') |h %> |
@@ -76,55 +79,158 @@
% }
- <& /elements/tr-select-cust_tag.html,
- 'cgi' => $cgi,
- 'is_report' => 1,
- 'multiple' => 1,
- &>
+% 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-payby.html,
- 'payby_type' => 'cust',
- 'multiple' => 1,
- 'all_selected' => 1,
- &>
+
+ Tags |
+
+ <& /elements/select-cust_tag.html,
+ 'cgi' => $cgi,
+ 'is_report' => 1,
+ 'multiple' => 1,
+ &>
+
+ Any of these
+
+ All of these
+
+ |
+
+
+
+ With package of class |
+
+ <& /elements/select-pkg_class.html,
+ 'field' => 'pkg_classnum',
+ 'multiple' => 1,
+ &>
+
+
+ Any of these
+
+
+ All of these
+
+ |
+
+
+
+ |
+
+
+
+ <% mt('Location search options') |h %> |
+
+
+
+ <% mt('Address') |h %> |
+ |
+
- <% mt('Payment expiration before') |h %> |
+ <% mt('City') |h %> |
-
- /
-
+ <& /elements/city.html,
+ disable_empty => 0,
+ empty_label => '(all)',
+ disable_text => 1,
+ &>
|
+
+ <% mt('County') |h %> |
+
+ <& /elements/select-county.html,
+ disable_empty => 0,
+ empty_label => '(all)',
+ &>
+ |
+
+
+
+ <% mt('State') |h %> |
+
+ <& /elements/select-state.html,
+ disable_empty => 0,
+ empty_label => '(all)',
+ &>
+ |
+
+
+
+ <% mt('Zip') |h %> |
+ |
+
+
+
+ <% mt('Country') |h %> |
+
+ <& /elements/select-country.html,
+ disable_empty => 0,
+ state_disable_empty => 0,
+ state_empty_label => '(all)',
+ &>
+ |
+
+
+
+ |
+
+
+
+ <% mt('Billing search options') |h %> |
+
+
+% 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('Not tax exempt') |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,
&>
|
@@ -135,18 +241,32 @@
&>
- <% mt('Without census tract') |h %> |
- |
+ <% mt('With invoicing email address(es)') |h %> |
+ |
-% if ( $conf->exists('enable_taxproducts') ) {
+
+ <% mt('With postal mail invoices') |h %> |
+ |
+
-
- <% mt('With hardcoded tax location') |h %> |
- |
-
+
+ <% mt('Without postal mail invoices') |h %> |
+ |
+
-% }
+
|
|