summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2014-06-09 18:18:59 -0700
committerIvan Kohler <ivan@freeside.biz>2014-06-09 18:18:59 -0700
commit26a32660f45092621bf21b445692b3e1f6e820ad (patch)
tree9d6612b4b711fba099a9d8e705a5d5c8b89988b6
parent8cd40200c27a569c222ab2e031f9b08bea818f3f (diff)
Wholesale CDR cost re-billing, RT#27555
-rw-r--r--FS/FS/part_pkg/agent_cdr.pm15
1 files changed, 14 insertions, 1 deletions
diff --git a/FS/FS/part_pkg/agent_cdr.pm b/FS/FS/part_pkg/agent_cdr.pm
index fc8436c..be0f987 100644
--- a/FS/FS/part_pkg/agent_cdr.pm
+++ b/FS/FS/part_pkg/agent_cdr.pm
@@ -50,13 +50,26 @@ tie my %temporalities, 'Tie::IxHash',
'select_options' => { FS::cdr::invoice_formats() },
'default' => 'simple2', #with source
},
+
+ 'usage_section' => { 'name' => 'Section in which to place separate usage charges',
+ },
+
+ 'summarize_usage' => { 'name' => 'Include usage summary with recurring charges when usage is in separate section',
+ 'type' => 'checkbox',
+ },
+
+ 'usage_mandate' => { 'name' => 'Always put usage details in separate section',
+ 'type' => 'checkbox',
+ },
#eofalse
},
'fieldorder' => [ qw( recur_temporality recur_method cutoff_day ),
FS::part_pkg::prorate_Mixin::fieldorder,
- qw( output_format ),
+ qw(
+ output_format usage_section summarize_usage usage_mandate
+ ),
],
'weight' => 53,