From 9c9350510c90d7bf14448e37ab3dd28f3f8d6649 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 25 Jun 2019 16:47:42 +0000 Subject: [PATCH] Bug 23206: Batch patron modification from reports which return cardnumber This patch adds an option to submit patron card numbers from report results to the batch patron modification tool. As with a report which returns biblionumbers or itemnumbers, a button appears at the top of report results which triggers a menu of batch operation options. To test, apply the patch and create a report which includes patron card number in the results. - Run the report and confirm that under the "Batch operations" button a batch patron modification menu item appears. - Confirm that selecting this option sends the correct patrons to the batch patron modification tool. - Test also with a report which returns both patron cardnumber and biblionumber or itemnumber. Signed-off-by: Maryse Simard --- .../prog/en/modules/reports/guided_reports_start.tt | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt index ba2dc6d..45f3789 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt @@ -788,7 +788,14 @@ canned reports and writing custom SQL reports.

[% END %] - [% IF ( batch_biblionumbers || batch_itemnumbers ) %] +
+ + [% # Preserve the whitespace of the following textarea in order to format the values correctly %] + +
+ + [% IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers ) %]

-- 2.7.4