https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43744

            Bug ID: 43744
           Summary: Make report object available when running report with
                    template
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Reports
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]
        Depends on: 34136
  Target Milestone: ---

When using a template to display report data, it would be helpful to be able to
put data about the report itself into the template. The use case that comes
immediately to mind is being able to include the report title -- currently
running a report with a template causes the title to disappear. In some cases
this is desired -- like when using a template to render letters to be printed
and mailed to patrons. In other cases, staff could like to see that title to
know which report they're looking at.

If we passed the report object to GetPreparedLetter when rendering the
template, one could use [% report.report_name %] in the template. It seems
possible folks would come up with uses for displaying other bits of the report
object, too, like the SQL query or the notes field.

Being able to include any runtime parameter values in the template would also
be useful, but seems more involved.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34136
[Bug 34136] Add ability to render a report using a notice template
-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to