From: jeff Date: Tue, 30 Dec 2008 19:13:02 +0000 (+0000) Subject: allow upstream_simple to specify a usage_class for tax purposes in calltypenum X-Git-Tag: root_of_webpay_support~168 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=356029b5671879f75ceface8f57e68657896dda6 allow upstream_simple to specify a usage_class for tax purposes in calltypenum --- diff --git a/FS/FS/part_pkg/voip_cdr.pm b/FS/FS/part_pkg/voip_cdr.pm index 79e50b5ca..8bfeeebc3 100644 --- a/FS/FS/part_pkg/voip_cdr.pm +++ b/FS/FS/part_pkg/voip_cdr.pm @@ -382,6 +382,7 @@ sub calc_recur { $charges += $charge; @call_details = ($cdr->downstream_csv( 'format' => $output_format )); + $classnum = $cdr->calltypenum; } else { die "don't know how to rate CDRs using method: $rating_method\n";