Bug 34529: Offline circulation should be able to accept userid as well as cardnumber
authorKyle M Hall <kyle@bywatersolutions.com>
Mon, 14 Aug 2023 14:55:09 +0000 (10:55 -0400)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 6 Nov 2023 14:34:44 +0000 (11:34 -0300)
commit14f7660b2e46ac4e13478b0a60f9cf8b1ef68add
tree457fed8ee8bd9a519d32d32e320112d8ccfd67e2
parentdcbd3f8387d17f3e6ab8dec60c99d68e1265e11b
Bug 34529: Offline circulation should be able to accept userid as well as cardnumber

Like everywhere else in Koha, offline circulation should be able to use userid as well as cardnumber to look up the patron for a transaction ( checkouts and fine payments ).

Test Plan:
1) Apply this patch
2) Restart all the things!
3) Download the test.koc file attached to this bug
4) Verify you have an item with the barcode 39999000001396
   create it if needed
5) Set a patron's username to "hacevedo"
6) Upload and import the test.koc file into offline circ
7) Verify the item was checked out and the payment was made

Signed-off-by: Philip Orr <philip.orr@lmscloud.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/Circulation.pm
offline_circ/list.pl