diff options
author | Mark Wells <mark@freeside.biz> | 2014-10-10 16:36:07 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2014-10-10 16:36:07 -0700 |
commit | 83e442de6a041fa3b7580d53912eeb1490ddf47c (patch) | |
tree | 2dc9a967c5e26ec27b083ce40acea6b254b7a29b /FS/FS/part_pkg | |
parent | 2a26e4616da323e083c941e9a8c3d2b35377bc3f (diff) |
upstream-markup call rating and global default rates, #30633
Diffstat (limited to 'FS/FS/part_pkg')
-rw-r--r-- | FS/FS/part_pkg/agent_cdr.pm | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/FS/FS/part_pkg/agent_cdr.pm b/FS/FS/part_pkg/agent_cdr.pm index 55792f2..a638b5b 100644 --- a/FS/FS/part_pkg/agent_cdr.pm +++ b/FS/FS/part_pkg/agent_cdr.pm @@ -23,7 +23,7 @@ tie my %temporalities, 'Tie::IxHash', %info = ( 'name' => 'Wholesale CDR cost billing, for master customers of an agent.', - 'shortname' => 'Whilesale CDR cost billing for agent.', + 'shortname' => 'Wholesale CDR cost billing for agent', 'inherit_fields' => [ 'prorate_Mixin', 'global_Mixin' ], 'fields' => { #false laziness w/cdr_termination @@ -177,7 +177,11 @@ sub calc_recur { my $classnum = ''; #usage class? #option to turn off? or just use squelch_cdr for the customer probably - push @$details, [ 'C', $call_details, $cost, $classnum ]; + # XXX use detail_format for this at some point + push @$details, { 'format' => 'C', + 'detail' => $call_details, + 'amount' => $cost, + 'classnum' => $classnum }; #eofalse laziness w/cdr_termination |