|
From: | MJ Ray |
Subject: | Re: [Koha-devel] Katipo style number validation |
Date: | Fri Mar 19 07:51:00 2004 |
Could someone point me to what would need to be done to include "Katipo"checksum validation of the barcode field on the /cgi-bin/koha/acqui.simple/additem.pl page.
Edit additem.pl below the "check for item barcode" comment to call checkdigit($$$) from C4::Input and push onto @errors if it fails. Set nounique on the call, depending whether members and books can have the same barcode. Probably C4::Input and the parameters interface could be extended if this is a common desire. File an "enhancement" bug report at http://bugs.koha.org/ if so.
-- MJR/slef My Opinion Only and possibly not of any group I know. Please http://remember.to/edit_messages on lists to be sure I read http://mjr.towers.org.uk/ gopher://g.towers.org.uk/ address@hidden Creative copyleft computing services via http://www.ttllp.co.uk/
[Prev in Thread] | Current Thread | [Next in Thread] |