X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Freason_type.pm;h=4042972b44cd7354171abe9c780b94071ff70150;hb=5da68ff1a7c638e30cbafbc9b0749f1e82b333df;hp=4425c64a07693a055681d804891306e049bc7a0c;hpb=0fb307c305e4bc2c9c27dc25a3308beae3a4d33c;p=freeside.git diff --git a/FS/FS/reason_type.pm b/FS/FS/reason_type.pm index 4425c64a0..4042972b4 100644 --- a/FS/FS/reason_type.pm +++ b/FS/FS/reason_type.pm @@ -10,12 +10,16 @@ our %class_name = ( 'C' => 'cancel', 'R' => 'credit', 'S' => 'suspend', + 'F' => 'refund', + 'X' => 'void', # credit/invoice/payment ); our %class_purpose = ( 'C' => 'explain why a customer package was cancelled', 'R' => 'explain why a customer was credited', 'S' => 'explain why a customer package was suspended', + 'F' => 'explain why a customer was refunded', + 'X' => 'explain why a transaction was voided', ); =head1 NAME @@ -46,7 +50,7 @@ inherits from FS::Record. The following fields are currently supported: =item typenum - primary key -=item class - currently 'C', 'R', or 'S' for cancel, credit, or suspend +=item class - currently 'C', 'R', 'S', 'F' or 'X' for cancel, credit, suspend, refund or void credit =item type - name of the type of reason @@ -131,12 +135,7 @@ sub enabled_reasons { } ); } -# _populate_initial_data -# # Used by FS::Setup to initialize a new database. -# -# - sub _populate_initial_data { # class method my ($self, %opts) = @_; @@ -169,12 +168,7 @@ sub _populate_initial_data { # class method } -# _upgrade_data -# # Used by FS::Upgrade to migrate to a new database. -# -# - sub _upgrade_data { # class method my ($self, %opts) = @_;