projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix ticketing system error on bootstrap of new install
[freeside.git]
/
bin
/
taqua-accountcode-rewrite
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',