[freeside-commits] freeside/FS/FS/cdr taqua.pm,1.9,1.10
Ivan,,,
ivan at wavetail.420.am
Mon May 2 00:21:22 PDT 2011
Update of /home/cvs/cvsroot/freeside/FS/FS/cdr
In directory wavetail.420.am:/tmp/cvs-serv12868
Modified Files:
taqua.pm
Log Message:
don't skip taqua acctcode ad-ons, RT#12181
Index: taqua.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cdr/taqua.pm,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -w -d -r1.9 -r1.10
--- taqua.pm 11 Apr 2011 04:59:31 -0000 1.9
+++ taqua.pm 2 May 2011 07:21:20 -0000 1.10
@@ -16,7 +16,9 @@
#RecordType
sub {
my($cdr, $field, $conf, $hashref) = @_;
- $hashref->{skiprow} = 1 unless ($field == 0 && $cdr->disposition == 100);
+ $hashref->{skiprow} = 1
+ unless ($field == 0 && $cdr->disposition == 100 ) #regular CDR
+ || ($field == 1 && $cdr->lastapp eq 'acctcode'); #accountcode
$cdr->cdrtypenum($field);
},
@@ -48,7 +50,7 @@
'disposition',
# -1 => '',
# 0 => '',
- # 100 => '',
+ # 100 => '', #regular cdr
# 101 => '',
# 102 => '',
# 103 => '',
More information about the freeside-commits
mailing list