RT#39368: Automatically suspend for one day before cancelling modification
authorJonathan Prykop <jonathan@freeside.biz>
Wed, 6 Apr 2016 02:13:12 +0000 (21:13 -0500)
committerJonathan Prykop <jonathan@freeside.biz>
Wed, 6 Apr 2016 02:13:12 +0000 (21:13 -0500)
FS/FS/Conf.pm
FS/FS/part_pkg/global_Mixin.pm

index 248954a..d0b1180 100644 (file)
@@ -4542,11 +4542,11 @@ and customer address. Include units.',
   {
     'key'         => 'part_pkg-delay_cancel-days',
     'section'     => '',
-    'description' => 'Expire packages in this many days when using delay_cancel (default is 1)',
+    'description' => 'Number of days to suspend when using automatic suspension period before cancel (default is 1)',
     'type'        => 'text',
     'validate'    => sub { (($_[0] =~ /^\d*$/) && (($_[0] eq '') || $_[0]))
-                           ? 'Must specify an integer number of days'
-                           : '' }
+                           ? ''
+                           : 'Must specify an integer number of days' }
   },
 
   {
index 2318c3e..1d2a601 100644 (file)
@@ -41,7 +41,7 @@ tie my %a2billing_simultaccess, 'Tie::IxHash', (
       'type' => 'checkbox',
     },
     'delay_cancel' => {
-      'name' => 'Automatically suspend for one day before cancelling',
+      'name' => 'Automatic suspension period before cancelling',
       'type' => 'checkbox',
     },