[freeside-commits] branch master updated. d0460ad624f0e71149d4451e5f2b5fcb4c4d9c68

Jonathan Prykop jonathan at 420.am
Wed May 20 00:30:27 PDT 2015


The branch, master has been updated
       via  d0460ad624f0e71149d4451e5f2b5fcb4c4d9c68 (commit)
      from  0dbf4c6c74eb213d1648f0f0676de04efc388aa4 (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 d0460ad624f0e71149d4451e5f2b5fcb4c4d9c68
Author: jonathan <jonathan at freeside.biz>
Date:   Wed May 20 07:30:08 2015 +0000

    RT#28842: NG portal - Changes for prepaid needs [bug fix for unlimited usage pkgs]

diff --git a/ng_selfservice/prepaid.php b/ng_selfservice/prepaid.php
index 1478400..d9e6a8d 100644
--- a/ng_selfservice/prepaid.php
+++ b/ng_selfservice/prepaid.php
@@ -84,7 +84,7 @@ foreach ($cust_pkg as $pkg) {
   $thissvc['pkgnum'] = $pkg['pkgnum'];
   $thissvc['status'] = $pkg['status'];
   $actsvcs[$thissvc['svcnum']] = $thissvc;
-  if ($thissvc['overlimit']) {
+  if ($thissvc['overlimit'] or ($thissvc['status'] != 'active')) {
     $expsvcs[$thissvc['svcnum']] = $thissvc;
   }
 }

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

Summary of changes:
 ng_selfservice/prepaid.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list