X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_receivables.html;h=20a98bef6590f80720d9fcefaf2f3c1a1eeb9541;hp=8040e57e69a15f27dc20631d517440ffae002087;hb=f30eaaf66cd0a947f388a03edd4522ba92a367bb;hpb=7502ab7b99bb956013cc0e555a0d7657b3c32723 diff --git a/httemplate/search/report_receivables.html b/httemplate/search/report_receivables.html index 8040e57e6..20a98bef6 100755 --- a/httemplate/search/report_receivables.html +++ b/httemplate/search/report_receivables.html @@ -1,35 +1,90 @@ -<% include('/elements/header.html', 'Accounts Receivable Aging Summary' ) %> +<& /elements/header.html, mt('Accounts Receivable Aging Summary') &>
- - <% include( '/elements/tr-select-agent.html' ) %> - + <& /elements/tr-select-agent.html, 'disable_empty'=>0 &> + + <& /elements/tr-select-cust_main-status.html, + 'label' => emt('Customer Status'), + &> + + <& /elements/tr-select-cust_class.html, + 'label' => emt('Customer class'), + 'field' => 'cust_classnum', + 'multiple' => 1, + 'pre_options' => [ '' => emt('(none)') ], + 'all_selected' => 1, + &> + - + + <& /elements/tr-input-date-field.html, { + 'name' => 'as_of', + 'value' => time, + 'label' => emt('At the end of date '), + 'format' => FS::Conf->new->config('date_format') || '%m/%d/%Y', + } + &> + + + + + + + + + <& /elements/tr-select-cust-fields.html &>
- Search options + + <% mt('Search options') |h %>
Customers<% mt('Customers') |h %> - All customers (even those without an outstanding balance)
- Customers with a balance over days old + + + + + + + + + + + + + + +
<% mt('All customers (even those without an outstanding balance)') |h %>
+% my $daysinput = qq!!; +% my $str = emt("Customers with a balance over [_1] days old",'XXXDAYSXXX'); # yeah it's a hack +% $str =~ s/XXXDAYSXXX/$daysinput/; + <% $str %> +
 <% mt('Including customers with credit balances') |h %>
 
<% mt('Display options') |h %>

-<% include('/elements/footer.html') %> +<& /elements/footer.html &> <%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');