Freeside:4:Documentation:Developer/FS/cust main/Status

From Freeside
< Freeside:4:Documentation:Developer‎ | FS‎ | cust main
Revision as of 07:34, 18 November 2015 by Jeremyd (talk | contribs) (Edit via perl MediaWiki framework (1.13))

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

NAME

FS::cust_main::Status - Status mixin for cust_main

SYNOPSIS

DESCRIPTION

These methods are available on FS::cust_main objects:

METHODS

statuscolors
Returns an (ordered with Tie::IxHash) hash reference of possible status names and colors.
cancelled_sql

CLASS METHODS

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.).

BUGS

SEE ALSO

FS::cust_main

POD ERRORS

Hey! The above document had some coding errors, which are explained below:

Around line 157:
You forgot a '=back' before '=head1'