[freeside-commits] branch FREESIDE_3_BRANCH updated. 7ce15a2d67f0eff134b8c3ca9be58ccc58ad9029

Ivan ivan at 420.am
Mon Feb 3 17:12:34 PST 2014


The branch, FREESIDE_3_BRANCH has been updated
       via  7ce15a2d67f0eff134b8c3ca9be58ccc58ad9029 (commit)
      from  e18065ceed3a298c5bd11243419a9d737ea3362e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 7ce15a2d67f0eff134b8c3ca9be58ccc58ad9029
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon Feb 3 17:12:33 2014 -0800

    fix A/R aging and other customer reports when choosing a display format with address, RT#27393

diff --git a/FS/FS/UI/Web.pm b/FS/FS/UI/Web.pm
index c1a0f11..f182e42 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);

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/UI/Web.pm |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)




More information about the freeside-commits mailing list