projects
/
freeside.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
remove inadvertant extra table statement preventing page from showing up in konq
[freeside.git]
/
httemplate
/
misc
/
states.cgi
1
<%
2
3
my $country = $cgi->param('arg');
4
5
my @states =
6
sort
7
map { s/[\n\r]//g; $_; }
8
map { $_->state; }
9
qsearch( 'cust_main_county',
10
{ 'country' => $country },
11
'DISTINCT ON ( state ) *',
12
)
13
;
14
15
16
%>[ <%= join(', ', map { qq("$_") } @states) %> ]