X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fsvc_acct_pop.pm;h=fa4f5c670d914accf6d6034e24442cfc07b7578d;hb=1fd6d8cf5d7854860ef4fd10ed89828e0c04ec39;hp=3b8e9785a7fa13bfb7d53d01507dad1071725e48;hpb=3eb749fd79fec377d4975f69b077b14e5aaf94dd;p=freeside.git diff --git a/FS/FS/svc_acct_pop.pm b/FS/FS/svc_acct_pop.pm index 3b8e9785a..fa4f5c670 100644 --- a/FS/FS/svc_acct_pop.pm +++ b/FS/FS/svc_acct_pop.pm @@ -107,7 +107,8 @@ Returns: sub text { my $self = shift; - $self->city. ', '. $self->state. ' ('. $self->ac. ')/'. $self->exch; + $self->city. ', '. $self->state. + ' ('. $self->ac. ')/'. $self->exch. '-'. $self->loc; } =back @@ -129,7 +130,6 @@ sub popselector { push @{$svc_acct_pop{$_->state}}, $_ foreach @svc_acct_pop; } - my $size = 0; my $text = < function opt(what,href,text) { @@ -151,7 +151,6 @@ END foreach my $pop ( @{$svc_acct_pop{$popstate}}) { my $o_popnum = $pop->popnum; my $poptext = $pop->text; - $size = length($poptext) if length($poptext) > $size; $text .= "opt(what.form.popnum, \"$o_popnum\", \"$poptext\");\n" } $text .= "}\n"; @@ -173,13 +172,15 @@ END } $text .= ''; + $text; + } =back =head1 VERSION -$Id: svc_acct_pop.pm,v 1.4 2001-09-27 20:41:37 ivan Exp $ +$Id: svc_acct_pop.pm,v 1.6 2001-12-18 06:29:30 ivan Exp $ =head1 BUGS