diff options
author | ivan <ivan> | 2009-01-10 23:56:59 +0000 |
---|---|---|
committer | ivan <ivan> | 2009-01-10 23:56:59 +0000 |
commit | 705f7d564546e7211844773f3566a89f0ae87a2c (patch) | |
tree | c9210d7215cce0870207f9865dd8e9c981f63037 /httemplate/elements | |
parent | a661ced3f9f678a645780eaa0b183d2de5f100fa (diff) |
implement package changes w/location change, RT#4499
Diffstat (limited to 'httemplate/elements')
-rw-r--r-- | httemplate/elements/location.html | 6 | ||||
-rw-r--r-- | httemplate/elements/tr-select-cust_location.html | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/httemplate/elements/location.html b/httemplate/elements/location.html index f21b8ad01..b0b30d3b1 100644 --- a/httemplate/elements/location.html +++ b/httemplate/elements/location.html @@ -22,7 +22,7 @@ Example: NAME = "<%$pre%>address1" ID = "<%$pre%>address1" VALUE = "<% $object->get($pre.'address1') |h %>" - SIZE = 70 + SIZE = 58 onChange = "<% $onchange %>" <% $disabled %> <% $style %> @@ -37,7 +37,7 @@ Example: NAME = "<%$pre%>address2" ID = "<%$pre%>address2" VALUE = "<% $object->get($pre.'address2') |h %>" - SIZE = 70 + SIZE = 58 onChange = "<% $onchange %>" <% $disabled %> <% $style %> @@ -56,7 +56,7 @@ Example: <% $disabled %> <% $style %> > - </TD> + </TD> <TH ALIGN="right" ID="<%$pre%>countylabel" <%$county_style%>><%$r%>County</TH> <TD> <% include('/elements/select-county.html', %select_hash ) %> diff --git a/httemplate/elements/tr-select-cust_location.html b/httemplate/elements/tr-select-cust_location.html index b62c65c03..5b023f165 100644 --- a/httemplate/elements/tr-select-cust_location.html +++ b/httemplate/elements/tr-select-cust_location.html @@ -118,7 +118,7 @@ Example: </SCRIPT> <TR> - <TH ALIGN="right">Service location</TH> + <TH ALIGN="right">Service location</TH> <TD COLSPAN=7> <SELECT NAME="locationnum" onChange="locationnum_changed(this);"> <OPTION VALUE="">(default service address) @@ -166,7 +166,7 @@ if ( $locationnum && $locationnum != -1 ) { or die "unknown locationnum"; } else { $cust_location = new FS::cust_location; - if ( $cgi->param('error') && $locationnum == -1 ) { + if ( $locationnum == -1 ) { $cust_location->$_( $cgi->param($_) ) foreach @location_fields; } else { $cust_location->$_( $cust_main->$_() ) foreach @location_fields; |