[freeside-commits] freeside/httemplate/view/cust_main contacts.html, 1.18.2.2, 1.18.2.3 packages.html, 1.80, 1.80.2.1

Ivan,,, ivan at wavetail.420.am
Mon Dec 12 21:10:25 PST 2011


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

Modified Files:
      Tag: FREESIDE_2_3_BRANCH
	contacts.html packages.html 
Log Message:
add latitude/longitude to prospects, customers and package locations, RT#15539

Index: contacts.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/contacts.html,v
retrieving revision 1.18.2.2
retrieving revision 1.18.2.3
diff -u -w -d -r1.18.2.2 -r1.18.2.3
--- contacts.html	16 Oct 2011 01:17:57 -0000	1.18.2.2
+++ contacts.html	13 Dec 2011 05:10:23 -0000	1.18.2.3
@@ -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">

Index: packages.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/packages.html,v
retrieving revision 1.80
retrieving revision 1.80.2.1
diff -u -w -d -r1.80 -r1.80.2.1
--- packages.html	16 May 2011 21:35:44 -0000	1.80
+++ packages.html	13 Dec 2011 05:10:23 -0000	1.80.2.1
@@ -26,7 +26,7 @@
 
 <TABLE>
   <TR>
-    <TD ALIGN="left">
+    <TD ALIGN="left" VALIGN="top">
 
 % if ( @$packages ) {
 
@@ -85,6 +85,7 @@
 % # in this format, put all packages in one section
 <& /elements/table-grid.html &>
 <& packages/section.html,
+    'cust_main'     => $cust_main,
     'packages'      => $packages,
     'show_location' => $show_location,
  &>



More information about the freeside-commits mailing list