X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_receivables.html;h=912ef26b4ea7a3fa53c258095b05b94390431a9f;hb=f48936de00e81e89ea0f84b28e9c7b213fe898a8;hp=8040e57e69a15f27dc20631d517440ffae002087;hpb=7502ab7b99bb956013cc0e555a0d7657b3c32723;p=freeside.git diff --git a/httemplate/search/report_receivables.html b/httemplate/search/report_receivables.html index 8040e57e6..912ef26b4 100755 --- a/httemplate/search/report_receivables.html +++ b/httemplate/search/report_receivables.html @@ -5,12 +5,17 @@ - - <% 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' + ) + %> @@ -19,6 +24,12 @@ 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', + } ) %>
+ Search options
Customers
@@ -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');