[freeside-commits] branch FREESIDE_3_BRANCH updated. 306f3e2aacb3de7d9e7deecd139a95c9e120022c

Ivan ivan at 420.am
Sat Apr 1 10:29:07 PDT 2017


The branch, FREESIDE_3_BRANCH has been updated
       via  306f3e2aacb3de7d9e7deecd139a95c9e120022c (commit)
      from  7a1f0f2c760932b4a7d3732a298fce0570f3fe7d (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 306f3e2aacb3de7d9e7deecd139a95c9e120022c
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Sat Apr 1 10:29:06 2017 -0700

    add omit_cust_main_county flag to payment_info API call, RT#75124

diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm
index 254a8df..099406f 100644
--- a/FS/FS/ClientAPI/MyAccount.pm
+++ b/FS/FS/ClientAPI/MyAccount.pm
@@ -878,6 +878,8 @@ sub payment_info {
 
   my %return = %$payment_info;
 
+  delete $return{'cust_main_county'} if $p->{'omit_cust_main_county'};
+
   my $custnum = $session->{'custnum'};
 
   my $cust_main = qsearchs('cust_main', { 'custnum' => $custnum } )

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

Summary of changes:
 FS/FS/ClientAPI/MyAccount.pm |    2 ++
 1 file changed, 2 insertions(+)




More information about the freeside-commits mailing list