projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
unearned revenue report: consider primary object dates, not application dates, #13289
[freeside.git]
/
FS
/
FS
/
svc_pbx.pm
diff --git
a/FS/FS/svc_pbx.pm
b/FS/FS/svc_pbx.pm
index
4182a13
..
66e51da
100644
(file)
--- a/
FS/FS/svc_pbx.pm
+++ b/
FS/FS/svc_pbx.pm
@@
-292,7
+292,9
@@
to allow title to indicate a range of IP addresses.
=item begin, end: Start and end of date range, as unix timestamp.
=item begin, end: Start and end of date range, as unix timestamp.
-=item cdrtypenum: Only return CDRs with this type number.
+=item cdrtypenum: Only return CDRs with this type.
+
+=item calltypenum: Only return CDRs with this call type.
=back
=back
@@
-310,6
+312,9
@@
sub psearch_cdrs {
if ($options{'cdrtypenum'}) {
$hash{'cdrtypenum'} = $options{'cdrtypenum'};
}
if ($options{'cdrtypenum'}) {
$hash{'cdrtypenum'} = $options{'cdrtypenum'};
}
+ if ($options{'calltypenum'}) {
+ $hash{'calltypenum'} = $options{'calltypenum'};
+ }
my $for_update = $options{'for_update'} ? 'FOR UPDATE' : '';
my $for_update = $options{'for_update'} ? 'FOR UPDATE' : '';