[freeside-commits] branch FREESIDE_3_BRANCH updated. 3ce79089dc0cba6ccf5b88174a340811e886e0a1

Ivan ivan at 420.am
Tue Feb 11 22:44:28 PST 2014


The branch, FREESIDE_3_BRANCH has been updated
       via  3ce79089dc0cba6ccf5b88174a340811e886e0a1 (commit)
      from  b3ad577ec13cbd7e101fff025dfdb735702e7484 (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 3ce79089dc0cba6ccf5b88174a340811e886e0a1
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Tue Feb 11 22:44:27 2014 -0800

    fix redefinition warning and add ordered_cust_main sub for completeness, RT#27442

diff --git a/FS/FS/agent.pm b/FS/FS/agent.pm
index fcb5c24..9f85c61 100644
--- a/FS/FS/agent.pm
+++ b/FS/FS/agent.pm
@@ -421,14 +421,15 @@ sub num_ordered_cust_main {
   shift->num_sql(FS::cust_main->ordered_sql);
 }
 
-=item active_cust_main
+=item ordered_cust_main
 
-Returns the active customers for this agent, as cust_main objects.
+Returns the ordered customers for this agent (customers with packages ordered,
+but not yet billed), as cust_main objects.
 
 =cut
 
-sub active_cust_main {
-  shift->cust_main_sql(FS::cust_main->active_sql);
+sub ordered_cust_main {
+  shift->cust_main_sql(FS::cust_main->ordered_sql);
 }
 
 

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

Summary of changes:
 FS/FS/agent.pm |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)




More information about the freeside-commits mailing list