X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Flocations.html;h=ea6216ea92951062eef24c84077e5c969205edc7;hb=74e058c8a010ef6feb539248a550d0bb169c1e94;hp=319a9274784673af36360ebe5ac31907d56c7774;hpb=f424f11eb366fe64f5f7bb42b21745e22537cab1;p=freeside.git diff --git a/httemplate/view/cust_main/locations.html b/httemplate/view/cust_main/locations.html index 319a92747..ea6216ea9 100755 --- a/httemplate/view/cust_main/locations.html +++ b/httemplate/view/cust_main/locations.html @@ -29,7 +29,7 @@ Default service location: % if ( $locationnum and !$loc->disabled ) { <% edit_location_link($locationnum) %> % } -% if ( !$loc->disabled and !$active{$locationnum} ) { +% if ( $locationnum and !$loc->disabled and !$active{$locationnum} ) {  <% disable_location_link($locationnum) %> % } @@ -50,7 +50,7 @@ my %locations = map { $_->locationnum => $_ } qsearch({ }); my @sections = keys %locations; $locations{''} = $cust_main; -my %packages_in = map { $_ => [] } @sections; +my %packages_in = map { $_ => [] } ('', @sections); my %active = (); # groups with non-canceled packages foreach my $cust_pkg ( @$all_packages ) {