summaryrefslogtreecommitdiff
path: root/httemplate/view
diff options
context:
space:
mode:
authorivan <ivan>2006-04-03 09:46:57 +0000
committerivan <ivan>2006-04-03 09:46:57 +0000
commit929f432c766bbe3bdeed5b80818a12ddf6ec6339 (patch)
tree8129b16aa927db1e4182fcaaeea0c5ee9f050fd4 /httemplate/view
parent36693c42cbaca86f6957d5ed6794624810018bb3 (diff)
have the UI use full country names, and state names outside the US...
Diffstat (limited to 'httemplate/view')
-rw-r--r--httemplate/view/cust_main/contacts.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/view/cust_main/contacts.html b/httemplate/view/cust_main/contacts.html
index 89926ea64..7aba11813 100644
--- a/httemplate/view/cust_main/contacts.html
+++ b/httemplate/view/cust_main/contacts.html
@@ -33,13 +33,13 @@ Billing address
<TD ALIGN="right">City</TD>
<TD BGCOLOR="#ffffff"><%= $cust_main->city %></TD>
<TD ALIGN="right">State</TD>
- <TD BGCOLOR="#ffffff"><%= $cust_main->state %></TD>
+ <TD BGCOLOR="#ffffff"><%= state_label($cust_main->state, $cust_main->country) %></TD>
<TD ALIGN="right">Zip</TD>
<TD BGCOLOR="#ffffff"><%= $cust_main->zip %></TD>
</TR>
<TR>
<TD ALIGN="right">Country</TD>
- <TD BGCOLOR="#ffffff"><%= $cust_main->country %></TD>
+ <TD BGCOLOR="#ffffff"><%= code2country($cust_main->country) %></TD>
</TR>
<%
my $daytime_label = FS::Msgcat::_gettext('daytime') =~ /^(daytime)?$/