X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_cust_pkg.html;h=27aececc944e8d6d904dd6ffb5a50c19c1d8b123;hp=b3f2004b89255453c52ec48d36e33f5cc9145850;hb=f822e27a1e00594332ffa487a1c284234c5580a6;hpb=ecc15d03711690d2b2aeeda2bd8ff1119956c583 diff --git a/httemplate/search/report_cust_pkg.html b/httemplate/search/report_cust_pkg.html index b3f2004b8..27aececc9 100755 --- a/httemplate/search/report_cust_pkg.html +++ b/httemplate/search/report_cust_pkg.html @@ -190,6 +190,9 @@ <& /elements/tr-title.html, value => mt('Location search options') &> % my @location_options = qw(cust nocust census nocensus); +% if ( $conf->config('tax_data_vendor') eq 'cch' ) { +% push @location_options, 'geocode', 'nogeocode'; +% } <& /elements/tr-checkbox-multiple.html, 'label' => 'Where package location:', 'field' => 'loc', @@ -198,8 +201,10 @@ 'nocust' => "is not the customer's default location", 'census' => "has a census tract", 'nocensus' => "does not have a census tract", + 'nogeocode'=> 'has an implicit tax location', + 'geocode' => 'has a hardcoded tax location', }, - 'value' => { map { $_ => 1 } @location_options }, + 'value' => { map { $_ => 0 } @location_options }, &> <& /elements/tr-title.html, value => mt('Display options') &> @@ -255,7 +260,8 @@ my @date_fields = keys %label; #false laziness w/cust_pkg.cgi my %disable = ( 'all' => {}, - 'not yet billed' => { 'setup'=>1, 'last_bill'=>1, 'bill'=>1, 'adjourn'=>1, 'susp'=>1, 'expire'=>1, 'cancel'=>1, }, + 'on hold' => { 'setup'=>1, 'last_bill'=>1, 'bill'=>1, 'adjourn'=>1, 'expire'=>1, 'cancel'=>1, 'dundate'=> 1, }, + 'not yet billed' => { 'setup'=>1, 'last_bill'=>1, 'bill'=>1, 'adjourn'=>1, 'susp'=>1, 'expire'=>1, 'cancel'=>1, 'dundate'=>1, }, 'one-time charge' => { 'last_bill'=>1, 'bill'=>1, 'adjourn'=>1, 'susp'=>1, 'expire'=>1, 'cancel'=>1, 'contract_end'=>1, 'dundate'=>1, }, 'active' => { 'susp'=>1, 'cancel'=>1 }, 'suspended' => { 'cancel'=>1, 'dundate'=>1, }, @@ -274,4 +280,5 @@ my %checkbox = ( 'cancel' => 1, ); +my $conf = FS::Conf->new;