Merge branch 'master' of ssh://git.freeside.biz/home/git/freeside
authorChristopher Burger <burgerc@freeside.biz>
Wed, 13 Feb 2019 16:57:58 +0000 (11:57 -0500)
committerChristopher Burger <burgerc@freeside.biz>
Wed, 13 Feb 2019 16:57:58 +0000 (11:57 -0500)
FS/FS.pm
FS/FS/Schema.pm
FS/FS/cdr.pm

index 9575c3d..aed0c5f 100644 (file)
--- a/FS/FS.pm
+++ b/FS/FS.pm
@@ -664,35 +664,7 @@ and higher SNR than the users list.  Send a blank message to
 Commercial products and services are available; see
 <http://freeside.biz/freeside/products.html> and <http://freeside.biz/freeside/services.html>.
 
-=head1 AUTHORS
-
-=head2 CORE TEAM
-
-Jeremy Davis
-
-Jason Hall
-
-Ivan Kohler
-
-Mark Wells
-
-=head2 CORE EMERITUS
-
-Peter Bowen
-
-Jeff Finucane
-
-Kristian Hoffman
-
-Erik Levinson
-
-Brian McCane
-
-Richard Siddall
-
-Matt Simerson
-
-=head2 CONTRIBUTORS
+=head1 AUTHORS AND CONTRIBUTORS
 
 See httemplate/docs/credits.html
 
index 290c89d..fc22d6c 100644 (file)
@@ -5660,6 +5660,9 @@ sub tables_hashref {
         #NULL, done (or something)
         'freesidestatus', 'varchar',   'NULL',     32,   '', '', 
 
+        #additional status info (i.e. reason for "skipped" freesidestatus)
+        'freesidestatustext', 'text',  'NULL',     '',   '', '',
+
         #NULL, done (or something)
         'freesiderewritestatus', 'varchar',   'NULL',     32,   '', '', 
 
index 5a398ce..aa1c406 100644 (file)
@@ -518,6 +518,7 @@ sub set_status_and_rated_price {
   } else {
 
     $self->freesidestatus($status);
+    $self->freesidestatustext($opt{'statustext'}) if exists($opt{'statustext'});
     $self->rated_price($rated_price);
     $self->$_($opt{$_})
       foreach grep exists($opt{$_}), map "rated_$_",
@@ -681,6 +682,7 @@ sub rate_prefix {
     return $self->set_status_and_rated_price( 'skipped',
                                               0,
                                               $opt{'svcnum'},
+                                              'statustext' => $reason,
                                             );
   }