Difference between revisions of "Freeside:3:Documentation:Developer/FS/cust main/Status"

From Freeside
Jump to: navigation, search
m (Edit via perl MediaWiki framework (1.13))
m (Edit via perl MediaWiki framework (1.13))
Line 21: Line 21:
 
Hey! '''The above document had some coding errors, which are explained below:'''
 
Hey! '''The above document had some coding errors, which are explained below:'''
  
; Around line 157:
+
; Around line 145:
 
:You forgot a '=back' before '=head1'
 
:You forgot a '=back' before '=head1'

Revision as of 07:48, 24 March 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

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'