X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_receivables.html;h=b7c84f0de20387120b7e07a90fc2e87b05cdfdb8;hb=2ab068f449eb97a10e18d20e9dab5ab9faa017e7;hp=56097534fd0ab5000da7329caca277d927ec45e0;hpb=f30ed1be7dccd91667712e586c517db6ab8f5b9d;p=freeside.git diff --git a/httemplate/search/report_receivables.html b/httemplate/search/report_receivables.html index 56097534f..b7c84f0de 100755 --- a/httemplate/search/report_receivables.html +++ b/httemplate/search/report_receivables.html @@ -10,15 +10,26 @@ - <% include( '/elements/tr-select-agent.html' ) %> + <% include( '/elements/tr-select-agent.html', 'disable_empty'=>0 ) %> + + <% include( '/elements/tr-select-cust_main-status.html', + 'label' => 'Customer Status' + ) + %> Customers - All customers (even those without an outstanding balance)
- Customers with a balance over days old + All customers (even those without an outstanding balance)
+ Customers with a balance over days old + <% include( '/elements/tr-input-date-field.html', { + 'name' => 'as_of', + 'value' => time, + 'label' => 'As of date ', + 'format' => FS::Conf->new->config('date_format') || '%m/%d/%Y', + } ) %> @@ -30,6 +41,7 @@ <%init> die "access denied" - unless $FS::CurrentUser::CurrentUser->access_right('Financial reports'); + unless $FS::CurrentUser::CurrentUser->access_right('Receivables report') + or $FS::CurrentUser::CurrentUser->access_right('Financial reports');