X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_cust_bill.html;h=b1a252e6c960e36177cea52d782ee032e7cf154e;hb=e92fa2f0535551a4e4cd92d10ccbcf930a5e5e62;hp=ec57d20943ea9c4b4fcc6c6c6b9678cf4d45a654;hpb=c8cccb4a92adceb943c635fe62dad0d034462ce0;p=freeside.git diff --git a/httemplate/search/report_cust_bill.html b/httemplate/search/report_cust_bill.html index ec57d2094..b1a252e6c 100644 --- a/httemplate/search/report_cust_bill.html +++ b/httemplate/search/report_cust_bill.html @@ -1,15 +1,38 @@ -<% include('/elements/header.html', 'Invoice report criteria' ) %> +<% include('/elements/header.html', 'Invoice Report' ) %>
- +
param('agentnum'), - 'label' => 'Invoices for agent: ', + 'curr_value' => scalar( $cgi->param('agentnum') ), + 'label' => 'Invoices for agent: ', + 'disable_empty' => 0, ) %> + <% include( '/elements/tr-input-beginning_ending.html' ) %> + + <% include( '/elements/tr-input-lessthan_greaterthan.html', + label => 'Charged', + field => 'charged', + ) + %> + + <% include( '/elements/tr-input-lessthan_greaterthan.html', + label => 'Owed', + field => 'owed', + ) + %> + <% include( '/elements/tr-select-payby.html', + label => 'Payment method:', + payby_type => 'cust', + multiple => 1, + all_selected => 1, + ) + %> + @@ -18,6 +41,7 @@ +
Show only open invoices Show only the single most recent invoice per-customer

@@ -26,3 +50,9 @@
<% include('/elements/footer.html') %> +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('List invoices'); + +