% if ($location->country eq 'US' and $censustract) { <% mt('Census tract') |h %> <% $censustract |h %>  <% $censusyear |h %> % } <%init> my $location = shift; my $conf = FS::Conf->new; my ($censustract, $censusyear); if ($location->censustract) { $censustract = $location->censustract; $censusyear = '('. ($location->censusyear || mt('unknown year')) . ')'; } elsif ($conf->exists('cust_main-require_censustract')) { $censustract = mt('unknown'); $censusyear = ''; }