X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fgraph%2Freport_cust_bill_pkg.html;h=d43ce7b642209be6122e1b8dfc56356fe08c143c;hb=f2766e203e1aa144d046a26cf13e01e1f5b00f64;hp=664aab74e78d3407703e997b83195ebe286fed64;hpb=c8cccb4a92adceb943c635fe62dad0d034462ce0;p=freeside.git diff --git a/httemplate/graph/report_cust_bill_pkg.html b/httemplate/graph/report_cust_bill_pkg.html index 664aab74e..d43ce7b64 100644 --- a/httemplate/graph/report_cust_bill_pkg.html +++ b/httemplate/graph/report_cust_bill_pkg.html @@ -2,17 +2,144 @@
- +
+ + + + <% include('/elements/tr-select-from_to.html' ) %> -<% include('/elements/tr-select-agent.html', 'label' => 'For agent: ' ) %> + + + + + + + +<& /elements/tr-select-agent.html, + 'field' => 'agentnum', + 'label' => 'Agent ', + 'disable_empty' => 0, + 'pre_options' => [ 'all' => 'all (aggregate)' ], + 'empty_label' => 'all (breakdown)', + 'onchange' => 'enable_agent_totals', +&> + +<& /elements/tr-select-cust_class.html, + 'field' => 'cust_classnum', + 'label' => 'Customer class', + 'multiple' => 1, +&> + +<& /elements/tr-select-part_referral.html, + 'field' => 'refnum', + 'label' => 'Advertising source ', + 'disable_empty' => 0, + 'pre_options' => [ 'all' => 'all (aggregate)' ], + 'empty_label' => 'all (breakdown)', + 'onchange' => 'enable_agent_totals' +&> + + + + + + + + + -<% include('/elements/tr-select-pkg_class.html', '', - 'pre_options' => [ '0' => 'all' ], - 'empty_label' => '(empty class)', - ) -%> + + + + + + + +% foreach ( qw(Setup Usage) ) { +<& /elements/tr-select.html, + 'label' => "$_ fees", + 'field' => 'use_'.lc($_), + 'options' => [ 0, 1, 2 ], + 'labels' => { 0 => 'Combine', 1 => 'Separate', 2 => 'Do not show' }, + 'onchange'=> 'enable_agent_totals', +&> +% } + + + + + + + + + + + + + + + + + + + + +
<% mt('Search options') |h %>
Show projected data for future months
+ + <% emt('Package class') %> +
+ + <% emt('Report class') %> +
+ + + + + + + + +
+
+ <& /elements/select-pkg_class.html, + 'field' => 'classnum', + 'multiple' => 1, + 'all_selected' => 1, + 'pre_options' => [ #'all' => 'all (aggregate)', + # '' => 'all (breakdown)', + '0' => '(empty class)' ], + 'disable_empty' => 1, + 'onchange' => 'enable_agent_totals', + &> +
+ +
+ + <% emt('Aggregate') %> +
+ + <% emt('Breakdown') %> +
+
 
<% mt('Display options') |h %>
Show per-agent subtotals
Separate sub-packages from parents
Average per customer package
Distribute recurring fees over billing period

<% include('/elements/footer.html') %> +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Financial reports'); + +