[freeside-commits] branch master updated. 4fd97fe8a23cbe875600b838f01a9ed10641f61e

Mark Wells mark at 420.am
Tue Sep 6 20:19:10 PDT 2016


The branch, master has been updated
       via  4fd97fe8a23cbe875600b838f01a9ed10641f61e (commit)
      from  acfce7fca2901c4a9a4c1dadbd101b84e5669173 (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 4fd97fe8a23cbe875600b838f01a9ed10641f61e
Author: Mark Wells <mark at freeside.biz>
Date:   Tue Sep 6 20:15:46 2016 -0700

    fix matching by classnum, #72355

diff --git a/bin/taqua-accountcode-rewrite b/bin/taqua-accountcode-rewrite
index 386fc9d..e6d5790 100755
--- a/bin/taqua-accountcode-rewrite
+++ b/bin/taqua-accountcode-rewrite
@@ -116,7 +116,7 @@ while (my $cdr = $cursor->fetch) {
         # source number, and start and end dates
         $detail = qsearchs('cust_bill_pkg_detail', {
           'amount'     => $primary->rated_price,
-          'classnum'   => $cdr->rated_classnum,
+          'classnum'   => $primary->rated_classnum,
           'duration'   => $primary->rated_seconds,
           'startdate'  => $primary->startdate,
           'format'     => 'C',

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

Summary of changes:
 bin/taqua-accountcode-rewrite |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list