X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Flocations.html;h=0a2e5ec2c72c351e9dd7f374ccba3013418f9b03;hb=58cdf1b78c0cd419eacf7db8661564af050e0f12;hp=fdbbc396bd8a04956f6e79e65d8a54e5da14bdba;hpb=b286638fd4cb875178b0247a04b2706a44cadf6f;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