projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ef2e971
)
put default country up top
author
ivan
<ivan>
Tue, 30 Oct 2001 15:42:33 +0000
(15:42 +0000)
committer
ivan
<ivan>
Tue, 30 Oct 2001 15:42:33 +0000
(15:42 +0000)
httemplate/edit/cust_main.cgi
patch
|
blob
|
history
diff --git
a/httemplate/edit/cust_main.cgi
b/httemplate/edit/cust_main.cgi
index
0a10c7c
..
cfd99c8
100755
(executable)
--- a/
httemplate/edit/cust_main.cgi
+++ b/
httemplate/edit/cust_main.cgi
@@
-1,5
+1,5
@@
<%
<%
-#<!-- $Id: cust_main.cgi,v 1.1
1 2001-10-30 15:41:00
ivan Exp $ -->
+#<!-- $Id: cust_main.cgi,v 1.1
2 2001-10-30 15:42:33
ivan Exp $ -->
use vars qw( $cgi $custnum $action $cust_main $p1 @agents $agentnum
$last $first $ss $company $address1 $address2 $city $zip
use vars qw( $cgi $custnum $action $cust_main $p1 @agents $agentnum
$last $first $ss $company $address1 $address2 $city $zip
@@
-183,7
+183,7
@@
$cust_main->country( $countrydefault ) unless $cust_main->country;
$cust_main->state( $conf->config('statedefault') || 'CA' )
unless $cust_main->state || $cust_main->country ne 'US';
foreach ( sort {
$cust_main->state( $conf->config('statedefault') || 'CA' )
unless $cust_main->state || $cust_main->country ne 'US';
foreach ( sort {
- ( $
a->country eq $countrydefault ) <=> ( $b
->country eq $countrydefault )
+ ( $
b->country eq $countrydefault ) <=> ( $a
->country eq $countrydefault )
or $a->country cmp $b->country
or $a->state cmp $b->state
or $a->county cmp $b->county
or $a->country cmp $b->country
or $a->state cmp $b->state
or $a->county cmp $b->county