< Freeside:4:Documentation:Developer | FS | cust main
Revision as of 07:34, 18 November 2015 by Jeremyd (Edit via perl MediaWiki framework (1.13))
FS::cust_main::Status - Status mixin for cust_main
These methods are available on FS::cust_main objects:
- Returns an (ordered with Tie::IxHash) hash reference of possible status names and colors.
- churn_sql START, END
- Returns an SQL statement for the customer churn status query. The columns returned are the custnum and the number of active, suspended, and cancelled packages (excluding one-time packages) at the start date ("s_active", "s_suspended", and "s_cancelled") and the end date ("e_active", etc.).
Hey! The above document had some coding errors, which are explained below:
- Around line 157:
- You forgot a '=back' before '=head1'