summaryrefslogtreecommitdiff
path: root/httemplate/view
diff options
context:
space:
mode:
authorivan <ivan>2011-09-27 23:01:34 +0000
committerivan <ivan>2011-09-27 23:01:34 +0000
commit1ea34a10ac52048e196041de7793c82500335db0 (patch)
treea4b613536d51100b58b900dc7c76a064f707c0e4 /httemplate/view
parent9e3f95319b14eff171ee176f7cd1131903014266 (diff)
add cust_main.mobile and ship_mobile to support uniserve portal, RT#13656
Diffstat (limited to 'httemplate/view')
-rw-r--r--httemplate/view/cust_main/contacts.html15
1 files changed, 14 insertions, 1 deletions
diff --git a/httemplate/view/cust_main/contacts.html b/httemplate/view/cust_main/contacts.html
index 56fbac8c6..14cd91843 100644
--- a/httemplate/view/cust_main/contacts.html
+++ b/httemplate/view/cust_main/contacts.html
@@ -84,6 +84,15 @@
</TD>
</TR>
<TR>
+ <TD ALIGN="right"><% $mobile_label %></TD>
+ <TD COLSPAN=3 BGCOLOR="#ffffff">
+ <& /elements/phonenumber.html,
+ $cust_main->get("${pre}mobile"),
+ 'callable'=>1
+ &>
+ </TD>
+</TR>
+<TR>
<TD ALIGN="right"><% mt('Fax') |h %></TD>
<TD COLSPAN=3 BGCOLOR="#ffffff">
<% $cust_main->get("${pre}fax") || '&nbsp' %>
@@ -108,9 +117,13 @@
my $daytime_label = FS::Msgcat::_gettext('daytime') =~ /^(daytime)?$/
? 'Day&nbsp;Phone'
: FS::Msgcat::_gettext('daytime');
-my $night_label = FS::Msgcat::_gettext('night') =~ /^(night)?$/
+my $night_label = FS::Msgcat::_gettext('night') =~ /^(night)?$/
? 'Night&nbsp;Phone'
: FS::Msgcat::_gettext('night');
+my $mobile_label = FS::Msgcat::_gettext('mobile') =~ /^(mobile)?$/
+ ? 'Mobile&nbsp;Phone'
+ : FS::Msgcat::_gettext('Mobile');
+
my $stateid_label = FS::Msgcat::_gettext('stateid') =~ /^(stateid)?$/
? 'Driver&rsquo;s&nbsp;License'
: FS::Msgcat::_gettext('stateid');