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