diff options
Diffstat (limited to 'httemplate/search/elements/grouped-search/html')
-rw-r--r-- | httemplate/search/elements/grouped-search/html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/httemplate/search/elements/grouped-search/html b/httemplate/search/elements/grouped-search/html index ae80865..24cf50e 100644 --- a/httemplate/search/elements/grouped-search/html +++ b/httemplate/search/elements/grouped-search/html @@ -114,9 +114,13 @@ my $money = $conf->config('money_char') || '$'; %# download links <P><% emt('Download results:') %> % $cgi->param('type', 'xls'); -<A HREF="<% $cgi->self_url %>"><% emt('Spreadsheet') %></A> | +<A HREF="<% $cgi->self_url %>"><% emt('Spreadsheet') %></A> | % $cgi->param('type', 'html-print'); <A HREF="<% $cgi->self_url %>"><% emt('webpage') %></A> +% if ( ref($query) && $query->{table} eq 'cust_pay' ) { +% $cgi->param('type', 'deposit_slip'); + | <A HREF="<% $cgi->self_url %>"><% emt('deposit slip') %></A> +% } % $cgi->delete('type'); </P> % } |