X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fagent.pm;h=9f85c61c4e91e705cc67009763efba6ffedeebb6;hb=a31c3c63d893b38065f2b9e18235ba99ac412630;hp=fcb5c24ff0b54867620ff8368fb26e5b0c3aee7c;hpb=a75d334b3f00e1945c668a5b5d22d2f76aeefb1d;p=freeside.git diff --git a/FS/FS/agent.pm b/FS/FS/agent.pm index fcb5c24ff..9f85c61c4 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); }