<% include( '/elements/header.html', 'Developer Documentation' ) %> <& /elements/menubar.html, 'Freeside Perl Modules' => $fsurl.'docs/library/FS.html', 'Complete Index' => $fsurl.'docs/library/index.html', &>

FS::cust_main::Status

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 138:

You forgot a '=back' before '=head1'

<% include ('/elements/footer.html' ) %>