summaryrefslogtreecommitdiff
path: root/httemplate/misc/states.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/misc/states.cgi')
-rw-r--r--httemplate/misc/states.cgi16
1 files changed, 0 insertions, 16 deletions
diff --git a/httemplate/misc/states.cgi b/httemplate/misc/states.cgi
deleted file mode 100644
index cff2c97..0000000
--- a/httemplate/misc/states.cgi
+++ /dev/null
@@ -1,16 +0,0 @@
-<%
-
- my $country = $cgi->param('arg');
-
- my @states =
- sort
- map { s/[\n\r]//g; $_; }
- map { $_->state; }
- qsearch( 'cust_main_county',
- { 'country' => $country },
- 'DISTINCT ON ( state ) *',
- )
- ;
-
-
-%>[ <%= join(', ', map { qq("$_") } @states) %> ]