Bug 34456: Add the ability to download a template rendered report as a file
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 2 Aug 2023 11:56:46 +0000 (07:56 -0400)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 1 Nov 2023 20:23:17 +0000 (17:23 -0300)
commit6fccc1dcb5825d4d59b2b6aeb0bb6b065e10f821
tree20619d407f5fbd4009b24b27716e2143de7e040c
parent1e53f48efecfdd05db6acc31083ee2590f278f1d
Bug 34456: Add the ability to download a template rendered report as a file

Bug 34136 adds the ability to render a report using a notice template rather than displaying data in a table. It would be even more useful to be able to download the contents as a file where the notice subject can be used as the filename so the filename can be generated dynamically ( such as adding the current date as part of the filename ).

Test Plan:
1) Follow the test plan for Bug 34136
2) Run your report
3) Note under the Download menu the new item "Download as" with the
   subject line for your template
4) Click that link, note the file contains the contents of your report!

Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc
reports/guided_reports.pl