From e168a9ccf62706d6624807a69ace645e531731ce 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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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. Signed-off-by: Marc Véron Signed-off-by: Jonathan Druart Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com --- .../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 eee075ec07..48077964bb 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' %] @@ -11,7 +11,7 @@ $('#patron-lists-table').dataTable($.extend(true, {}, dataTablesDefaults, { "autoWidth": false, "aoColumnDefs": [ - { "aTargets": [ -1, -2, -3 ], "bSortable": false, "bSearchable": false }, + { "aTargets": [ -1, -2, -3, -4 ], "bSortable": false, "bSearchable": false }, ], "sPaginationType": "four_button" } )); @@ -46,6 +46,7 @@       +   @@ -69,6 +70,11 @@ Delete + + + Print patron cards + + [% END %] -- 2.39.5