X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_cust_bill.html;h=4be5f73a77a8bcabfa7fbd9e0688060f6095cb6e;hb=d8299144d2175f1695adafe29e9549bd9b158e2f;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..4be5f73a7 100644 --- a/httemplate/search/report_cust_bill.html +++ b/httemplate/search/report_cust_bill.html @@ -1,28 +1,54 @@ -<% include('/elements/header.html', 'Invoice report criteria' ) %> +<& /elements/header.html, mt('Invoice Report') &>
- - <% include( '/elements/tr-select-agent.html', - $cgi->param('agentnum'), - 'label' => 'Invoices for agent: ', - ) - %> - <% include( '/elements/tr-input-beginning_ending.html' ) %> +
scalar( $cgi->param('agentnum') ), + 'label' => emt('Invoices for agent: '), + 'disable_empty' => 0, + &> + + <& /elements/tr-input-beginning_ending.html &> + + <& /elements/tr-input-lessthan_greaterthan.html, + label => emt('Charged'), + field => 'charged', + &> + + <& /elements/tr-input-lessthan_greaterthan.html, + label => emt('Owed'), + field => 'owed', + &> + <& /elements/tr-select-payby.html, + label => emt('Payment method:'), + payby_type => 'cust', + multiple => 1, + all_selected => 1, + &> + - + - + +
Show only open invoices<% mt('Show only open invoices') |h %>
Show only the single most recent invoice per-customer<% mt('Show only the single most recent invoice per-customer') |h %>

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