X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Flocations.html;h=0a2e5ec2c72c351e9dd7f374ccba3013418f9b03;hb=11bbf29de447fe39e9d7155fe280a0df70fa8c3c;hp=fdbbc396bd8a04956f6e79e65d8a54e5da14bdba;hpb=8cc50a2ad12ec3d5bd3f31db741290664064ef06;p=freeside.git diff --git a/httemplate/view/cust_main/locations.html b/httemplate/view/cust_main/locations.html index fdbbc396b..0a2e5ec2c 100755 --- a/httemplate/view/cust_main/locations.html +++ b/httemplate/view/cust_main/locations.html @@ -35,16 +35,18 @@ table.location {
<% $loc->location_label %> -% if ( $loc->censustract ) { -
- - <% $loc->censustract %> (<% $loc->censusyear %> census) - -% } elsif ( $conf->exists('cust_main-require_censustract') ) { -
- - <% emt('Census tract unknown') %> - +% if ( $loc->country eq 'US' ) { # only U.S. census tracts for now +% if ( $loc->censustract ) { +
+ + <% $loc->censustract %> (<% $loc->censusyear %> census) + +% } elsif ( $conf->exists('cust_main-require_censustract') ) { +
+ + <% emt('Census tract unknown') %> + +% } % }
@@ -56,11 +58,9 @@ table.location { % }
% if (@$packages) { - <& packages/section.html, - 'packages' => $packages, - 'cust_main' => $cust_main, - 'no_links' => $opt{no_links} - &> +% my %sopt = %opt; +% $sopt{'packages'} = $packages; + <& packages/section.html, %sopt &> % }
% } #foreach $locationnum