UI spring cleaning: customer edit
[freeside.git] / httemplate / edit / cust_main / phones.html
1 <TR>
2   <TH VALIGN="top" ALIGN="right"><% mt('Phones') |h %></TD>
3   <TD COLSPAN=6>
4     <TABLE CELLSPACING=0 CELLPADDING=0>
5       <TR>
6 % foreach my $phone (qw(daytime night mobile)) {
7         <TD>
8           <INPUT TYPE="text"
9                  NAME="<% $phone %>"
10                  VALUE="<% $cust_main->get($phone) %>"
11                  SIZE=18
12           >
13           <BR><FONT SIZE=-1 COLOR="#333333"><% mt($phone_label{$phone}) |h %></FONT>
14         </TD>
15         <TD>&nbsp;</TD>
16 % }
17       </TR>
18     </TABLE>
19   </TD>
20 </TR>
21 <%init>
22 my $cust_main = shift;
23 my $conf = FS::Conf->new;
24 my %phone_label = (
25   daytime => 'Day Phone',
26   night   => 'Night Phone',
27   mobile  => 'Mobile',
28 );
29 </%init>