diff options
author | Ivan Kohler <ivan@freeside.biz> | 2014-02-03 17:12:32 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2014-02-03 17:12:32 -0800 |
commit | 85df57b62bee761a4946850f97230a21e96c51a6 (patch) | |
tree | 4a578c3cc684bda1ed5a57068b02d13c6cfcb781 /FS/FS/UI | |
parent | 6c5eaea8dc2240e411aaa132cbc026e99f343692 (diff) |
fix A/R aging and other customer reports when choosing a display format with address, RT#27393
Diffstat (limited to 'FS/FS/UI')
-rw-r--r-- | FS/FS/UI/Web.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/FS/FS/UI/Web.pm b/FS/FS/UI/Web.pm index e31ff14..5fcd522 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); |