Handle new-style licenses as patron barcodes
authorJeff Godin <jgodin@tadl.org>
Mon, 21 May 2012 20:26:57 +0000 (16:26 -0400)
committerJeff Godin <jgodin@tadl.org>
Tue, 22 May 2012 15:34:14 +0000 (11:34 -0400)
commit19cc64bc91d0779e630a625ba04ceab92e9756bf
treec59cb9736bd392274677572bef4000d57441be92
parentd8a3759ba863a694f4bcca3dfecdb3eb3217a017
Handle new-style licenses as patron barcodes

Handle new-style drivers licenses when used as patron barcodes by
using the first 13 characters (lowercased) when the "raw" barcode
is either 25 or 27 characters long. Previously we only handled 25
character barcodes.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm
Open-ILS/xul/staff_client/server/patron/barcode_entry.xul