diff options
author | Mark Wells <mark@freeside.biz> | 2016-09-06 20:15:46 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2016-09-06 20:18:46 -0700 |
commit | 5db5f429d60d476ac63addf844392451ef6b4e8f (patch) | |
tree | f609ca1ffb0ec553eb6c16100488f8095c6802a2 | |
parent | 04c0344d3c8dd9dcbeb0fdbf7b872eb86615e14e (diff) |
fix matching by classnum, #72355
-rwxr-xr-x | bin/taqua-accountcode-rewrite | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/taqua-accountcode-rewrite b/bin/taqua-accountcode-rewrite index 386fc9dd3..e6d579013 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', |