projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
85ff12a
)
fix matching by classnum, #72355
author
Mark Wells
<mark@freeside.biz>
Wed, 7 Sep 2016 03:15:46 +0000
(20:15 -0700)
committer
Mark Wells
<mark@freeside.biz>
Wed, 7 Sep 2016 03:19:02 +0000
(20:19 -0700)
bin/taqua-accountcode-rewrite
patch
|
blob
|
history
diff --git
a/bin/taqua-accountcode-rewrite
b/bin/taqua-accountcode-rewrite
index
386fc9d
..
e6d5790
100755
(executable)
--- 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,
# 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',
'duration' => $primary->rated_seconds,
'startdate' => $primary->startdate,
'format' => 'C',