X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_receivables.html;h=19f863525a9c1d67ca5affaed0f6999b073c2605;hb=d8299144d2175f1695adafe29e9549bd9b158e2f;hp=56097534fd0ab5000da7329caca277d927ec45e0;hpb=f30ed1be7dccd91667712e586c517db6ab8f5b9d;p=freeside.git diff --git a/httemplate/search/report_receivables.html b/httemplate/search/report_receivables.html index 56097534f..19f863525 100755 --- a/httemplate/search/report_receivables.html +++ b/httemplate/search/report_receivables.html @@ -1,35 +1,73 @@ -<% 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-input-date-field.html, { + 'name' => 'as_of', + 'value' => time, + 'label' => emt('As of date '), + 'format' => FS::Conf->new->config('date_format') || '%m/%d/%Y', + } + &>
- 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 %>

-<% 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');