[freeside-commits] freeside/httemplate/edit prospect_main.html, 1.9, 1.10 cust_main.cgi, 1.114, 1.115
Ivan,,,
ivan at wavetail.420.am
Mon Dec 12 21:09:33 PST 2011
- Previous message: [freeside-commits] freeside/httemplate/elements location.html, 1.18, 1.19 tr-select-cust_location.html, 1.21, 1.22 city.html, 1.6, 1.7 tr-coords.html, NONE, 1.1 popup_link.html, 1.10, 1.11 coord-links.html, NONE, 1.1
- Next message: [freeside-commits] freeside/httemplate/edit/process prospect_main.html, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail.420.am:/tmp/cvs-serv14835/httemplate/edit
Modified Files:
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.114
retrieving revision 1.115
diff -u -w -d -r1.114 -r1.115
--- cust_main.cgi 27 Sep 2011 23:01:24 -0000 1.114
+++ cust_main.cgi 13 Dec 2011 05:09:31 -0000 1.115
@@ -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.10
diff -u -w -d -r1.9 -r1.10
--- prospect_main.html 21 Mar 2011 00:55:12 -0000 1.9
+++ prospect_main.html 13 Dec 2011 05:09:31 -0000 1.10
@@ -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.19 tr-select-cust_location.html, 1.21, 1.22 city.html, 1.6, 1.7 tr-coords.html, NONE, 1.1 popup_link.html, 1.10, 1.11 coord-links.html, NONE, 1.1
- Next message: [freeside-commits] freeside/httemplate/edit/process prospect_main.html, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list