projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
7bfda74
)
Wholesale CDR cost re-billing, RT#27555
author
Ivan Kohler
<ivan@freeside.biz>
Tue, 10 Jun 2014 01:19:00 +0000
(18:19 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Tue, 10 Jun 2014 01:19:00 +0000
(18:19 -0700)
FS/FS/part_pkg/agent_cdr.pm
patch
|
blob
|
history
diff --git
a/FS/FS/part_pkg/agent_cdr.pm
b/FS/FS/part_pkg/agent_cdr.pm
index
fc8436c
..
be0f987
100644
(file)
--- 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
},
'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,
#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,
],
'weight' => 53,