[freeside-commits] freeside/httemplate/edit/cust_main contact.html, 1.21, 1.21.2.1

Ivan,,, ivan at wavetail.420.am
Tue Sep 27 16:01:36 PDT 2011


Update of /home/cvs/cvsroot/freeside/httemplate/edit/cust_main
In directory wavetail.420.am:/tmp/cvs-serv10429/httemplate/edit/cust_main

Modified Files:
      Tag: FREESIDE_2_3_BRANCH
	contact.html 
Log Message:
add cust_main.mobile and ship_mobile to support uniserve portal, RT#13656

Index: contact.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/cust_main/contact.html,v
retrieving revision 1.21
retrieving revision 1.21.2.1
diff -u -w -d -r1.21 -r1.21.2.1
--- contact.html	3 Jun 2011 04:36:48 -0000	1.21
+++ contact.html	27 Sep 2011 23:01:34 -0000	1.21.2.1
@@ -63,6 +63,13 @@
 </TR>
 
 <TR>
+  <TD ALIGN="right"><% $mobile_label %></TD>
+  <TD COLSPAN=5>
+    <INPUT TYPE="text" NAME="<%$pre%>mobile" VALUE="<% $cust_main->get($pre.'mobile') %>" SIZE=18 onChange="<% $onchange %>" <%$disabled%> <%$style%>>
+  </TD>
+</TR>
+
+<TR>
   <TD ALIGN="right"><% mt('Fax') |h %></TD>
   <TD COLSPAN=5>
     <INPUT TYPE="text" NAME="<%$pre%>fax" VALUE="<% $cust_main->get($pre.'fax') %>" SIZE=12 onChange="<% $onchange %>" <%$disabled%> <%$style%>>
@@ -85,6 +92,13 @@
   </TD>
 </TR>
 
+<TR>
+  <TD ALIGN="right"><% $mobile_label %></TD>
+  <TD COLSPAN=5>
+    <INPUT TYPE="text" NAME="<%$pre%>mobile" VALUE="<% $cust_main->get($pre.'mobile') %>" SIZE=18 onChange="<% $onchange %>" <%$disabled%> <%$style%>>
+  </TD>
+</TR>
+
 <& /elements/location.html,
              'prefix'       => $pre,
              'object'       => $cust_main,
@@ -180,6 +194,10 @@
 my $night_label = FS::Msgcat::_gettext('night') =~/^(night)?$/
                 ? 'Night Phone'
                 : FS::Msgcat::_gettext('night') || 'Night Phone';
+my $mobile_label = FS::Msgcat::_gettext('mobile') =~/^(mobile)?$/
+                      ? 'Mobile Phone'
+                      : FS::Msgcat::_gettext('mobile') || 'Mobile Phone';
+
 my $stateid_label = FS::Msgcat::_gettext('stateid') =~ /^(stateid)?$/
                   ? 'Driver&rsquo;s License'
                   : FS::Msgcat::_gettext('stateid') || 'Driver&rsquo;s License';



More information about the freeside-commits mailing list