[freeside-commits] branch FREESIDE_3_BRANCH updated. a7dcdbbf035c9588ac7f9824c01568112253f8f1

Ivan ivan at 420.am
Sun Feb 22 18:53:17 PST 2015


The branch, FREESIDE_3_BRANCH has been updated
       via  a7dcdbbf035c9588ac7f9824c01568112253f8f1 (commit)
      from  c17a293de4655acfe58e1996f84f43be0ab896d7 (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 a7dcdbbf035c9588ac7f9824c01568112253f8f1
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Sun Feb 22 18:53:14 2015 -0800

    fix credit limit report on 3.x, RT#27267

diff --git a/FS/FS/cust_main_credit_limit.pm b/FS/FS/cust_main_credit_limit.pm
index 5a5181d..22d005d 100644
--- a/FS/FS/cust_main_credit_limit.pm
+++ b/FS/FS/cust_main_credit_limit.pm
@@ -2,7 +2,7 @@ package FS::cust_main_credit_limit;
 use base qw( FS::Record );
 
 use strict;
-#use FS::Record qw( qsearch qsearchs );
+use FS::Record qw( qsearch qsearchs );
 use FS::cust_main;
 
 =head1 NAME
@@ -107,6 +107,11 @@ sub check {
   $self->SUPER::check;
 }
 
+sub cust_main {
+  my $self = shift;
+  qsearchs('cust_main', { 'custnum' => $self->custnum } );
+}
+
 =back
 
 =head1 BUGS

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

Summary of changes:
 FS/FS/cust_main_credit_limit.pm |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)




More information about the freeside-commits mailing list