summaryrefslogtreecommitdiff
path: root/FS/FS
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2014-02-03 17:12:33 -0800
committerIvan Kohler <ivan@freeside.biz>2014-02-03 17:12:33 -0800
commit7ce15a2d67f0eff134b8c3ca9be58ccc58ad9029 (patch)
treef0160075b9cdcb656a3808ffd1ee1f3b28118596 /FS/FS
parente18065ceed3a298c5bd11243419a9d737ea3362e (diff)
fix A/R aging and other customer reports when choosing a display format with address, RT#27393
Diffstat (limited to 'FS/FS')
-rw-r--r--FS/FS/UI/Web.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/FS/FS/UI/Web.pm b/FS/FS/UI/Web.pm
index c1a0f11bb..f182e4259 100644
--- a/FS/FS/UI/Web.pm
+++ b/FS/FS/UI/Web.pm
@@ -357,6 +357,11 @@ sub cust_sql_fields {
}
}
}
+ foreach my $pre ('bill_','ship_') {
+ if ( grep { $_ eq $pre.'country_full' } @cust_fields ) {
+ push @location_fields, $pre.'locationnum';
+ }
+ }
foreach my $field (qw(daytime night fax payby)) {
push @fields, $field if (grep { $_ eq $field } @cust_fields);