X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Fsearch%2Freport_cust_bill.html;h=00d566a6221c20801bbfcb5ae1f1bf0f856a98eb;hb=624b2d44625f69d71175c3348cae635d580c890b;hp=ec57d20943ea9c4b4fcc6c6c6b9678cf4d45a654;hpb=3ce7691203a7737406bf2d4442f7fd84b81f847e;p=freeside.git diff --git a/httemplate/search/report_cust_bill.html b/httemplate/search/report_cust_bill.html index ec57d2094..00d566a62 100644 --- a/httemplate/search/report_cust_bill.html +++ b/httemplate/search/report_cust_bill.html @@ -1,15 +1,31 @@ -<% 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', + ) + %> + @@ -18,6 +34,7 @@ +
Show only open invoices Show only the single most recent invoice per-customer

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