X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fgeocode_Mixin.pm;h=08e7b86197a9e6e923cd6c375b10a5dd23216a7d;hb=b49c1bd5510a5f10b05bffacc6cc8b6a1b2153e8;hp=c153914f0ee072b122c1969f9eda767636c07e9b;hpb=52af11086f11adc4228a68047bcfa1552650d1d5;p=freeside.git diff --git a/FS/FS/geocode_Mixin.pm b/FS/FS/geocode_Mixin.pm index c153914f0..08e7b8619 100644 --- a/FS/FS/geocode_Mixin.pm +++ b/FS/FS/geocode_Mixin.pm @@ -51,7 +51,8 @@ sub location_hash { map { my $method = ($_ eq 'geocode') ? $_ : $prefix.$_; $_ => $self->get($method); } - qw( address1 address2 city county state zip country geocode ); + qw( address1 address2 city county state zip country geocode + location_type location_number location_kind ); } =item location_label [ OPTION => VALUE ... ] @@ -87,7 +88,7 @@ sub location_label { my $prefix = $self->has_ship_address ? 'ship_' : ''; my $notfirst = 0; - foreach (qw ( address1 address2 ) ) { + foreach (qw ( address1 address2 location_type location_number ) ) { my $method = "$prefix$_"; $line .= ($notfirst ? $separator : ''). &$escape($self->$method) if $self->$method;