From 9611b4dc4faa02e7b30e5abced82856ef2549b24 Mon Sep 17 00:00:00 2001 From: Liz Date: Thu, 15 Oct 2015 04:11:39 +0000 Subject: [PATCH] Bug 14131 - Adding print patron cards to patron lists home page To test: Go to /cgi-bin/koha/patron-lists/lists.pl Make a patron list Click "Print patron cards" Success: you get a pdf of cards to print. Failure: you can't get a pdf of cards to print. Note that you'll need to have a card layout, template, and printer profile defined. The defaults should work. --- .../intranet-tmpl/prog/en/modules/patron_lists/lists.tt | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt index dc1160a..fadb31e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt @@ -1,7 +1,7 @@ [% INCLUDE 'doc-head-open.inc' %] Koha › Tools › Patron lists [% INCLUDE 'doc-head-close.inc' %] - +[% INCLUDE 'greybox.inc' %] [% INCLUDE 'datatables.inc' %] @@ -10,7 +10,7 @@ $(document).ready(function() { $('#patron-lists-table').dataTable($.extend(true, {}, dataTablesDefaults, { "aoColumnDefs": [ - { "aTargets": [ -1, -2, -3 ], "bSortable": false, "bSearchable": false }, + { "aTargets": [ -1, -2, -3, -4 ], "bSortable": false, "bSearchable": false }, ], "sPaginationType": "four_button" } )); @@ -45,6 +45,7 @@       +   @@ -68,6 +69,11 @@ Delete + + + Print patron cards + + [% END %] -- 1.7.10.4