RT#38671: Do not include charges and credits from failed signup processing [deprecate...
authorJonathan Prykop <jonathan@freeside.biz>
Wed, 28 Oct 2015 00:09:07 +0000 (19:09 -0500)
committerJonathan Prykop <jonathan@freeside.biz>
Wed, 28 Oct 2015 00:09:07 +0000 (19:09 -0500)
FS/FS/Conf.pm
FS/FS/cust_credit.pm

index 594c0e0..990f2a3 100644 (file)
@@ -4176,9 +4176,10 @@ and customer address. Include units.',
     reason_type_options('R'),
   },
 
+  # was only used to negate invoices during signup when card was declined, now we just void
   {
     'key'         => 'signup_credit_type',
-    'section'     => 'billing', #self-service?
+    'section'     => 'deprecated', #self-service?
     'description' => 'The group to use for new, automatically generated credit reasons resulting from signup and self-service declines.',
     reason_type_options('R'),
   },
index 31adebe..2f2338e 100644 (file)
@@ -40,7 +40,6 @@ $FS::UID::callback{'FS::cust_credit'} = sub {
 
 our %reasontype_map = ( 'referral_credit_type' => 'Referral Credit',
                         'cancel_credit_type'   => 'Cancellation Credit',
-                        'signup_credit_type'   => 'Self-Service Credit',
                       );
 
 =head1 NAME