From a39488f57d3dd129a77fd657b7982ef33731c3d0 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Mon, 9 Jun 2014 18:19:00 -0700 Subject: [PATCH] Wholesale CDR cost re-billing, RT#27555 --- FS/FS/part_pkg/agent_cdr.pm | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/FS/FS/part_pkg/agent_cdr.pm b/FS/FS/part_pkg/agent_cdr.pm index fc8436c43..be0f987f9 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, -- 2.11.0