From 0fc373b4284c86edd0eb79f13989a48d6a7c56c2 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 10 Sep 2015 06:35:37 -0400 Subject: [PATCH] [Signed-off] Bug 14739 - Add several patrons to a new batch will create a new batch per patron added MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch changes the functionality of adding patrons to patroncard batches. Instead of using only the patron searhc, there is now a textarea which can either be manually populated with borrowernumbers, or can be populated using the patron-search To test: 1 - Create a new patron batch 2 - Click the add items button, if there is no data in the borrowrnumber form you should get a popupo 3 - Add items to batch using the popup, borrowernumbers should populate to the form 4 - Click add items again and items hsoul;d be added to a new batch 5 - Create a new batch 6 - Manually enter invalid borrowernumbers to the form 7 - Click add items, batch should return empty 8 - Manually enter valid borrowernumber 9 - Click add items, batch should be updated 10 - Edit an existing batch and confirm add items works as above Followed test plan, works as expected. Signed-off-by: Marc VĂ©ron --- .../prog/en/modules/patroncards/edit-batch.tt | 43 +++++++++++++++----- patroncards/edit-batch.pl | 17 ++++++-- 2 files changed, 47 insertions(+), 13 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt index 25f79d4..ccebbec 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt @@ -6,6 +6,7 @@ [% INCLUDE 'datatables.inc' %]