X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_tax.cgi;h=120768d3bac52cc7ede603b50c6e216ff8e77274;hb=6d40d7b2f1bbaa986d7eafc34c3908106b1c3ab5;hp=248f6c5e46e3e69968b2e430ffdf2b9b38c59bc5;hpb=01d9085c7db7c3c96c3a8ef9ebe049b4a3bbbb18;p=freeside.git diff --git a/httemplate/search/report_tax.cgi b/httemplate/search/report_tax.cgi index 248f6c5e4..120768d3b 100755 --- a/httemplate/search/report_tax.cgi +++ b/httemplate/search/report_tax.cgi @@ -752,7 +752,12 @@ sub getlabel { $label = $r->country; $label = $r->state.", $label" if $r->state; $label = $r->county." county, $label" if $r->county; - $label = $r->city. ", $label" if $r->city && $cgi->param('show_cities'); + if ( $cgi->param('show_cities') and $r->city ) { + $label = $r->city . ", $label"; + if ( $cgi->param('show_districts') and $r->district ) { + $label = '#' . $r->district . ", $label"; + } + } $label = "$label (". $r->taxclass. ")" if $r->taxclass && $cgi->param('show_taxclasses')