X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fcust_main%2FStatus.pm;h=9a3fe1bbefcd73ef7ab8fb540d01a5b546044665;hp=b5e8986ef86913890f905f200da435861309376e;hb=52a824f9b11ca266be10c76894eaf6607344c8d0;hpb=af501d08494e5930d53da1cb1f02e65e2a6ebd07 diff --git a/FS/FS/cust_main/Status.pm b/FS/FS/cust_main/Status.pm index b5e8986ef..9a3fe1bbe 100644 --- a/FS/FS/cust_main/Status.pm +++ b/FS/FS/cust_main/Status.pm @@ -68,6 +68,21 @@ sub statuscolors { } +sub statuslabels { + #my $self = shift; #i guess i'm a class method + + my %statuslabels = ( + 'prospect' => 'No packages', + 'active' => 'Active', + 'ordered' => 'Ordered', + 'inactive' => 'Inactive', + 'suspended' => 'Suspended', + 'cancelled' => 'Cancelled', + ); + + \%statuslabels; +} + =item cancelled_sql =cut