Koha/koha-tmpl/intranet-tmpl/prog/en/modules/tools
Kyle M Hall 94cee66ec7
Bug 34136: Add ability to render a report using a notice template
Sometimes it is useful to display the results of a report in a non-table format. We should be able to create notice templates to render reports.

Test Plan:
1) Apply this patch
2) Restart all the things!
3) Create a new notice template using the new "Report" option from the
   "New notice" pulldown.
4) In the "Print" area, paste the following template:

[% FOREACH b IN data %]
<div class="panel panel-default">
  <div class="panel-heading">[% b.surname %], [% b.firstname %]</div>
  <div class="panel-body">Expiration: [% b.dateexpiry %]</div>
  <div class="panel-footer">ID: [% b.borrowernumber %]</div>
</div>
[% END %]

5) Create a report with the query: SELECT * FROM borrowers
6) Once the report is saved, use the new "Run with template" option to
   select the template you just created.
7) Note that instead of the results being a paged table, you instead
   see the results rendered as cards!

Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
2023-10-27 16:46:22 -03:00
..
access_files.tt Bug 34796: Improve translation of title tags: Tools - Additional tools 2023-10-09 11:41:22 -03:00
additional-contents.tt Bug 34964: (follow-up) Add descriptions of new staff html customization regions 2023-10-25 11:07:53 -03:00
automatic_item_modification_by_age.tt Bug 34112: Replace fa.fa-pencil-alt with fa-solid.fa-pencil in edit buttons 2023-07-11 08:52:31 -03:00
batch_delete_records.tt Bug 32910: (follow-up) Replace v4 icon names with v6 2023-06-12 11:52:10 -03:00
batch_extend_due_dates.tt Bug 26978: Add item type option to batch extend due date tool 2023-10-11 12:13:03 -03:00
batch_record_modification.tt Bug 32910: (follow-up) Replace v4 icon names with v6 2023-06-12 11:52:10 -03:00
batchMod-del.tt Bug 34225: KohaTable broken on batch item deletion and modification results 2023-07-14 15:23:15 -03:00
batchMod-edit.tt Bug 34225: KohaTable broken on batch item deletion and modification results 2023-07-14 15:23:15 -03:00
batchMod.tt Bug 33571: Use template wrapper for breadcrumbs: Tools, part 2 2023-04-24 10:43:36 -03:00
cleanborrowers.tt Bug 15504: Remove PatronLastActivity preference 2023-10-24 10:05:22 -03:00
csv-profiles.tt Bug 35043: Do not have \n or \t appear in PO files 2023-10-27 16:45:52 -03:00
export.tt Bug 33590: Fix DOM id name for tabs after WRAPPER code added to export.tt 2023-05-05 09:13:17 -03:00
holidays.tt Bug 34796: Improve translation of title tags: Tools - Additional tools 2023-10-09 11:41:22 -03:00
import_borrowers.tt Bug 34954: Fixed typo to 'dateexpiry' 2023-10-20 17:22:02 -03:00
inventory.tt Bug 34820: (QA follow-up) Fix span tag 2023-10-04 09:44:05 -04:00
letter.tt Bug 34136: Add ability to render a report using a notice template 2023-10-27 16:46:22 -03:00
manage-marc-import.tt Bug 34112: Replace fa.fa-pencil-alt with fa-solid.fa-pencil in edit buttons 2023-07-11 08:52:31 -03:00
marc_modification_templates.tt Bug 34112: Replace fa.fa-pencil-alt with fa-solid.fa-pencil in edit buttons 2023-07-11 08:52:31 -03:00
modborrowers.tt Bug 33927: Improve translation of title tags: Tools 2023-09-22 10:52:49 -03:00
overduerules.tt Bug 33927: Improve translation of title tags: Tools 2023-09-22 10:52:49 -03:00
page.tt Bug 31383: Create a parent-child DB relation for additional content 2023-10-20 14:43:56 -03:00
picture-upload.tt Bug 33927: Improve translation of title tags: Tools 2023-09-22 10:52:49 -03:00
preview_letter.tt Bug 33927: Improve translation of title tags: Tools 2023-09-22 10:52:49 -03:00
problem-reports.tt Bug 34796: Improve translation of title tags: Tools - Additional tools 2023-10-09 11:41:22 -03:00
quotes-upload.tt Bug 34796: Improve translation of title tags: Tools - Additional tools 2023-10-09 11:41:22 -03:00
quotes.tt Bug 34796: Improve translation of title tags: Tools - Additional tools 2023-10-09 11:41:22 -03:00
scheduler.tt Bug 34796: Improve translation of title tags: Tools - Additional tools 2023-10-09 11:41:22 -03:00
showdiffmarc.tt Bug 33600: Use template wrapper for breadcrumbs: Tools, part 7 2023-05-09 10:57:57 -03:00
stage-marc-import.tt Bug 34468: Update how we call updateProgress in stage-marc-import.tt 2023-10-25 12:09:49 -03:00
stockrotation.tt Bug 32335: (QA follow-up) Add 'btn-primary' instead of 'btn-default' class to dialog Save buttons 2023-10-11 10:31:48 -03:00
tools-home.tt Bug 33927: Improve translation of title tags: Tools 2023-09-22 10:52:49 -03:00
upload-images.tt Bug 33963: Remove leftovers from previous works 2023-06-15 08:48:12 -03:00
upload.tt Bug 34796: Improve translation of title tags: Tools - Additional tools 2023-10-09 11:41:22 -03:00
viewlog.tt Bug 34796: Improve translation of title tags: Tools - Additional tools 2023-10-09 11:41:22 -03:00