$('#spouse_label').slideUp();
$('#spouse_last_input').slideUp();
$('#spouse_first_input').slideUp();
$('#spouse_label').slideUp();
$('#spouse_last_input').slideUp();
$('#spouse_first_input').slideUp();
$('#spouse_label').slideDown();
$('#spouse_last_input').slideDown();
$('#spouse_first_input').slideDown();
$('#spouse_label').slideDown();
$('#spouse_last_input').slideDown();
$('#spouse_first_input').slideDown();
- 'locationname', 'address1', 'city', 'state', 'zip', 'country',
+ 'locationname', 'address1',<% $conf->exists('cust_main-no_city_in_address') ? '' : q( 'city',) %> 'state', 'zip', 'country',
if ( ship_locked_agents[agentnum] ) {
% # For this agent, the service location (except address2)
% # should be locked to the agent's location.
if ( ship_locked_agents[agentnum] ) {
% # For this agent, the service location (except address2)
% # should be locked to the agent's location.
% # disabled, then they contain some agent's address, which is
% # no longer meaningful. So set them back to the customer's
% # current location.
% # disabled, then they contain some agent's address, which is
% # no longer meaningful. So set them back to the customer's
% # current location.
for(var i=0; i<ship_fields.length; i++) {
x = ship_fields[i];
if ( f['ship_'+x].disabled ) {
f['ship_'+x].value = f['old_ship_'+x].value;
}
f['ship_'+x].disabled = false;
for(var i=0; i<ship_fields.length; i++) {
x = ship_fields[i];
if ( f['ship_'+x].disabled ) {
f['ship_'+x].value = f['old_ship_'+x].value;
}
f['ship_'+x].disabled = false;
<&| /elements/onload.js &>
rescom_changed(document.getElementById('residential_commercial_Residential'));
agent_changed(document.getElementById('agentnum'));
<&| /elements/onload.js &>
rescom_changed(document.getElementById('residential_commercial_Residential'));
agent_changed(document.getElementById('agentnum'));
my $agent_ship_location = $cust_main->ship_location;
$ship_locked_agents{$agentnum} = +{
map { $_ => $agent_ship_location->$_ }
my $agent_ship_location = $cust_main->ship_location;
$ship_locked_agents{$agentnum} = +{
map { $_ => $agent_ship_location->$_ }