[freeside-commits] freeside/FS/FS agent.pm,1.14,1.15
Ivan,,,
ivan at wavetail.420.am
Tue Jul 25 01:33:49 PDT 2006
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv29002/FS/FS
Modified Files:
agent.pm
Log Message:
this should finish adding the "inactive" status, i think?
Index: agent.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/agent.pm,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- agent.pm 16 Jul 2006 00:55:05 -0000 1.14
+++ agent.pm 25 Jul 2006 08:33:46 -0000 1.15
@@ -322,6 +322,17 @@
$sth->fetchrow_arrayref->[0];
}
+=item num_inactive_cust_pkg
+
+Returns the number of inactive customer packages (one-time packages otherwise
+unsuspended/uncancelled) for this agent.
+
+=cut
+
+sub num_inactive_cust_pkg {
+ shift->num_pkg_sql(FS::cust_pkg->inactive_sql);
+}
+
=item num_susp_cust_pkg
Returns the number of suspended customer packages for this agent.
More information about the freeside-commits
mailing list