X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fcontacts.html;h=3d4043aff1d7b37b0e50f25eecd5d86169305a22;hb=ea3ce8d7f076e7fecff4be7ae63bc413adb0adf5;hp=56fbac8c6213c96e40e71347e08f9f9f8ae091a7;hpb=dd65ba99bb9281571f19744154a3b03bcd3f01ab;p=freeside.git
diff --git a/httemplate/view/cust_main/contacts.html b/httemplate/view/cust_main/contacts.html
index 56fbac8c6..3d4043aff 100644
--- a/httemplate/view/cust_main/contacts.html
+++ b/httemplate/view/cust_main/contacts.html
@@ -65,12 +65,21 @@
<% mt('Country') |h %> |
<% code2country( $cust_main->get("${pre}country") ) %> |
+
+% if ( $cust_main->get($pre.'latitude') && $cust_main->get($pre.'longitude') ) {
+ <& /elements/tr-coords.html, $cust_main->get($pre.'latitude'),
+ $cust_main->get($pre.'longitude'),
+ $cust_main->name_short,
+ &>
+% }
+
<% $daytime_label %> |
<& /elements/phonenumber.html,
$cust_main->get("${pre}daytime"),
- 'callable'=>1
+ 'callable'=>1,
+ 'calling_list_exempt'=>$cust_main->calling_list_exempt,
&>
|
@@ -79,7 +88,18 @@
<& /elements/phonenumber.html,
$cust_main->get("${pre}night"),
- 'callable'=>1
+ 'callable'=>1,
+ 'calling_list_exempt'=>$cust_main->calling_list_exempt,
+ &>
+ |
+
+
+ <% $mobile_label %> |
+
+ <& /elements/phonenumber.html,
+ $cust_main->get("${pre}mobile"),
+ 'callable'=>1,
+ 'calling_list_exempt'=>$cust_main->calling_list_exempt,
&>
|
@@ -108,9 +128,13 @@
my $daytime_label = FS::Msgcat::_gettext('daytime') =~ /^(daytime)?$/
? 'Day Phone'
: FS::Msgcat::_gettext('daytime');
-my $night_label = FS::Msgcat::_gettext('night') =~ /^(night)?$/
+my $night_label = FS::Msgcat::_gettext('night') =~ /^(night)?$/
? 'Night Phone'
: FS::Msgcat::_gettext('night');
+my $mobile_label = FS::Msgcat::_gettext('mobile') =~ /^(mobile)?$/
+ ? 'Mobile Phone'
+ : FS::Msgcat::_gettext('Mobile');
+
my $stateid_label = FS::Msgcat::_gettext('stateid') =~ /^(stateid)?$/
? 'Driver’s License'
: FS::Msgcat::_gettext('stateid');