[freeside-commits] freeside/httemplate/edit prospect_main.html, 1.9, 1.9.2.1 cust_main.cgi, 1.113.2.1, 1.113.2.2
Ivan,,,
ivan at wavetail.420.am
Mon Dec 12 21:10:25 PST 2011
- Previous message: [freeside-commits] freeside/httemplate/elements location.html, 1.18, 1.18.2.1 tr-select-cust_location.html, 1.21, 1.21.2.1 city.html, 1.6, 1.6.4.1 tr-coords.html, NONE, 1.1.2.2 popup_link.html, 1.10, 1.10.4.1 coord-links.html, NONE, 1.1.2.2
- Next message: [freeside-commits] freeside/httemplate/edit/process prospect_main.html, 1.3, 1.3.2.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail.420.am:/tmp/cvs-serv15013/httemplate/edit
Modified Files:
Tag: FREESIDE_2_3_BRANCH
prospect_main.html cust_main.cgi
Log Message:
add latitude/longitude to prospects, customers and package locations, RT#15539
Index: cust_main.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/cust_main.cgi,v
retrieving revision 1.113.2.1
retrieving revision 1.113.2.2
diff -u -w -d -r1.113.2.1 -r1.113.2.2
--- cust_main.cgi 27 Sep 2011 23:01:34 -0000 1.113.2.1
+++ cust_main.cgi 13 Dec 2011 05:10:23 -0000 1.113.2.2
@@ -51,6 +51,7 @@
% push @ship_style, 'background-color:#dddddd';
% foreach (
% qw( last first company address1 address2 city county state zip country
+% latitude longitude coord_auto
% daytime night fax mobile )
% ) {
% $cust_main->set("ship_$_", $cust_main->get($_) );
@@ -73,7 +74,7 @@
<SCRIPT>
function bill_changed(what) {
if ( what.form.same.checked ) {
-% for (qw( last first company address1 address2 city zip daytime night fax mobile )) {
+% for (qw( last first company address1 address2 city zip latitude longitude coord_auto daytime night fax mobile )) {
what.form.ship_<%$_%>.value = what.form.<%$_%>.value;
% }
@@ -103,7 +104,7 @@
if ( what.checked ) {
bill_changed(what);
-% my @fields = qw( last first company address1 address2 city city_select county state zip country daytime night fax mobile );
+% my @fields = qw( last first company address1 address2 city city_select county state zip country latitude longitude daytime night fax mobile );
% for (@fields) {
what.form.ship_<%$_%>.disabled = true;
what.form.ship_<%$_%>.style.backgroundColor = '#dddddd';
@@ -342,7 +343,7 @@
my $cust_location = $qual->cust_location;
$cust_location->dealternize;
$cust_main->$_( $cust_location->$_ )
- foreach qw( address1 address2 city county state zip country geocode );
+ foreach qw( address1 address2 city county state zip country latitude longitude coord_auto geocode );
#locationnum -> package order
$locationnum = $qual->locationnum;
Index: prospect_main.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/prospect_main.html,v
retrieving revision 1.9
retrieving revision 1.9.2.1
diff -u -w -d -r1.9 -r1.9.2.1
--- prospect_main.html 21 Mar 2011 00:55:12 -0000 1.9
+++ prospect_main.html 13 Dec 2011 05:10:23 -0000 1.9.2.1
@@ -184,8 +184,10 @@
var c = f.company;
if ( f.residential_commercial_Residential.checked ) {
c.disabled = true;
+ c.style.backgroundColor = '#dddddd';
} else if ( f.residential_commercial_Commercial.checked ) {
c.disabled = false;
+ c.style.backgroundColor = '#ffffff';
}
}
</SCRIPT>
- Previous message: [freeside-commits] freeside/httemplate/elements location.html, 1.18, 1.18.2.1 tr-select-cust_location.html, 1.21, 1.21.2.1 city.html, 1.6, 1.6.4.1 tr-coords.html, NONE, 1.1.2.2 popup_link.html, 1.10, 1.10.4.1 coord-links.html, NONE, 1.1.2.2
- Next message: [freeside-commits] freeside/httemplate/edit/process prospect_main.html, 1.3, 1.3.2.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list