blob: accf8ac648f058436b5057b539430925124e4940 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
<TR>
<TD ALIGN="right" VALIGN="top"><% mt('Phones') %></TD>
<TD COLSPAN=6>
<TABLE CELLSPACING=0 CELLPADDING=0>
<TR>
<TD>
<INPUT TYPE="text" NAME="<%$pre%>daytime" VALUE="<% $cust_main->get($pre.'daytime') %>" SIZE=18 onChange="<% $onchange %>" <%$disabled%> <%$style%>>
<BR><FONT SIZE=-1><% $daytime_label %></FONT>
</TD>
<TD> </TD>
<TD>
<INPUT TYPE="text" NAME="<%$pre%>night" VALUE="<% $cust_main->get($pre.'night') %>" SIZE=18 onChange="<% $onchange %>" <%$disabled%> <%$style%>>
<BR><FONT SIZE=-1><% $night_label %></FONT>
</TD>
<TD> </TD>
<TD>
<INPUT TYPE="text" NAME="<%$pre%>mobile" VALUE="<% $cust_main->get($pre.'mobile') %>" SIZE=18 onChange="<% $onchange %>" <%$disabled%> <%$style%>>
<BR><FONT SIZE=-1><% $mobile_label %></FONT>
</TD>
</TR>
</TABLE>
</TD>
</TR>
<%init>
my $daytime_label = FS::Msgcat::_gettext('daytime') =~ /^(daytime)?$/
? 'Day'
: FS::Msgcat::_gettext('daytime');
my $night_label = FS::Msgcat::_gettext('night') =~/^(night)?$/
? 'Night'
: FS::Msgcat::_gettext('night') || 'Night';
my $mobile_label = FS::Msgcat::_gettext('mobile') =~/^(mobile)?$/
? 'Mobile'
: FS::Msgcat::_gettext('mobile') || 'Mobile';
my %opt = @_;
my $pre = $opt{'prefix'};
my $cust_main = $opt{'cust_main'};
my $onchange = $opt{'onchange'};
my $disabled = $opt{'disabled'};
my $style = $opt{'style'};
</%init>
|