Revert "RT# 75680 - telapi_voip cdr csv import"
[freeside.git] / httemplate / misc / xmlhttp-cust_main-censustract.html
1 <% encode_json($return) %>\
2 <%init>
3
4 my %arg = $cgi->param('arg');
5 my $year = delete($arg{'year'});
6 my $return = get_censustract(\%arg, $year);
7 if ( $return =~ /^\d/ ) {
8   $return = { 'censustract' => $return };
9 }
10 else {
11   $return = { 'error' => $return };
12 }
13
14 </%init>