[freeside-commits]
freeside/httemplate/view/cust_main contacts.html, 1.2, 1.3
Ivan,,,
ivan at wavetail.420.am
Mon Apr 3 02:46:59 PDT 2006
Update of /home/cvs/cvsroot/freeside/httemplate/view/cust_main
In directory wavetail:/tmp/cvs-serv8347/httemplate/view/cust_main
Modified Files:
contacts.html
Log Message:
have the UI use full country names, and state names outside the US...
Index: contacts.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/contacts.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- contacts.html 22 Feb 2006 13:07:48 -0000 1.2
+++ contacts.html 3 Apr 2006 09:46:57 -0000 1.3
@@ -33,13 +33,13 @@
<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)?$/
More information about the freeside-commits
mailing list