summaryrefslogtreecommitdiff
path: root/httemplate/view/cust_main/contacts.html
diff options
context:
space:
mode:
authorivan <ivan>2011-12-13 05:09:32 +0000
committerivan <ivan>2011-12-13 05:09:32 +0000
commit8cbe016ac2c28cd209c48f053f361573368e7988 (patch)
tree5a39513e71f4e9528f71fa298c2abf8b8dbd07db /httemplate/view/cust_main/contacts.html
parentea1b65c11b8781160b5a76a77e1ee8108e528048 (diff)
add latitude/longitude to prospects, customers and package locations, RT#15539
Diffstat (limited to 'httemplate/view/cust_main/contacts.html')
-rw-r--r--httemplate/view/cust_main/contacts.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/httemplate/view/cust_main/contacts.html b/httemplate/view/cust_main/contacts.html
index fccdf0247..3d4043aff 100644
--- a/httemplate/view/cust_main/contacts.html
+++ b/httemplate/view/cust_main/contacts.html
@@ -65,6 +65,14 @@
<TD ALIGN="right"><% mt('Country') |h %></TD>
<TD BGCOLOR="#ffffff"><% code2country( $cust_main->get("${pre}country") ) %></TD>
</TR>
+
+% 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,
+ &>
+% }
+
<TR>
<TD ALIGN="right"><% $daytime_label %></TD>
<TD COLSPAN=3 BGCOLOR="#ffffff">