summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-04-05 21:13:12 -0500
committerJonathan Prykop <jonathan@freeside.biz>2016-04-05 21:30:53 -0500
commit581667942ed4683643f24d1a7bbbe499030f1ca4 (patch)
tree6aff1ee1f06334b1d433b0cb09dbb2af3594147d
parent326a2afa1d56f7931cb577e892a1332ed7f3312d (diff)
RT#39368: Automatically suspend for one day before cancelling modification
-rw-r--r--FS/FS/Conf.pm6
-rw-r--r--FS/FS/part_pkg/global_Mixin.pm2
2 files changed, 4 insertions, 4 deletions
diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm
index aee741006..e370fb837 100644
--- a/FS/FS/Conf.pm
+++ b/FS/FS/Conf.pm
@@ -4813,11 +4813,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' }
},
{
diff --git a/FS/FS/part_pkg/global_Mixin.pm b/FS/FS/part_pkg/global_Mixin.pm
index 2318c3e61..1d2a6017a 100644
--- a/FS/FS/part_pkg/global_Mixin.pm
+++ b/FS/FS/part_pkg/global_Mixin.pm
@@ -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',
},