X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fgraph%2Freport_cust_bill_pkg.html;h=251e7d36e8ebc0de3737c192be2df846c382c70e;hb=e385ba02fcd5897a1ed19d9fd23a8471ef27a134;hp=4f29b761f57e348f5aeec813b9c783d2c92205d5;hpb=e65c6a26ca778166aec2b2d1dd3012ab84fa611a;p=freeside.git diff --git a/httemplate/graph/report_cust_bill_pkg.html b/httemplate/graph/report_cust_bill_pkg.html index 4f29b761f..251e7d36e 100644 --- a/httemplate/graph/report_cust_bill_pkg.html +++ b/httemplate/graph/report_cust_bill_pkg.html @@ -1,18 +1,61 @@ -<%= include('/elements/header.html', 'Sales Report' ) %> +<% include('/elements/header.html', 'Sales Report' ) %>
-<%= include('/elements/tr-select-from_to.html' ) %> +<% 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)', - ) -%> +<& /elements/tr-select-pkg_class.html, + 'field' => 'classnum', + 'pre_options' => [ 'all' => 'all (aggregate)', + '0' => 'all (breakdown)' ], + 'empty_label' => '(empty class)', + 'onchange' => 'enable_agent_totals', +&> +% 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', +&> +% } + + + + + + + + + + + + + + + + + + + + +
Show projected data for future months
Show per-agent subtotals
Separate sub-packages from parents
Average per customer package
Distribute recurring fees over billing period

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