[freeside-commits] branch FREESIDE_3_BRANCH updated. 581667942ed4683643f24d1a7bbbe499030f1ca4

Jonathan Prykop jonathan at 420.am
Tue Apr 5 19:39:02 PDT 2016


The branch, FREESIDE_3_BRANCH has been updated
       via  581667942ed4683643f24d1a7bbbe499030f1ca4 (commit)
      from  326a2afa1d56f7931cb577e892a1332ed7f3312d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 581667942ed4683643f24d1a7bbbe499030f1ca4
Author: Jonathan Prykop <jonathan at freeside.biz>
Date:   Tue Apr 5 21:13:12 2016 -0500

    RT#39368: Automatically suspend for one day before cancelling modification

diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm
index aee7410..e370fb8 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 2318c3e..1d2a601 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',
     },
 

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/Conf.pm                  |    6 +++---
 FS/FS/part_pkg/global_Mixin.pm |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)




More information about the freeside-commits mailing list