[freeside-commits] branch master updated. 85df57b62bee761a4946850f97230a21e96c51a6

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


The branch, master has been updated
       via  85df57b62bee761a4946850f97230a21e96c51a6 (commit)
      from  6c5eaea8dc2240e411aaa132cbc026e99f343692 (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 85df57b62bee761a4946850f97230a21e96c51a6
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon Feb 3 17:12:32 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 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);

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

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




More information about the freeside-commits mailing list