Difference between revisions of "Freeside:3:Documentation:Developer/FS/cust main/Status"
From Freeside
m (Edit via perl MediaWiki framework (1.13)) |
m (Edit via perl MediaWiki framework (1.13)) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
:Returns an (ordered with Tie::IxHash) hash reference of possible status names and colors. | :Returns an (ordered with Tie::IxHash) hash reference of possible status names and colors. | ||
; cancelled_sql | ; 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== | ==BUGS== | ||
==SEE ALSO== | ==SEE ALSO== | ||
[[Freeside:3:Documentation:Developer/FS/cust main|FS::cust_main]] | [[Freeside:3:Documentation:Developer/FS/cust main|FS::cust_main]] | ||
+ | |||
+ | ==POD ERRORS== | ||
+ | Hey! '''The above document had some coding errors, which are explained below:''' | ||
+ | |||
+ | ; Around line 145: | ||
+ | :You forgot a '=back' before '=head1' |
Latest revision as of 10:08, 10 April 2015
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
POD ERRORS
Hey! The above document had some coding errors, which are explained below:
- Around line 145:
- You forgot a '=back' before '=head1'