https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42752
Bug ID: 42752
Summary: Add additional patron cardnumber generation strategies
to Koha::AutoNumber
Initiative type: ---
Sponsorship ---
status:
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Patrons
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected], [email protected]
Bug 22707 introduced Koha::AutoNumber, a generic strategy framework for
patron cardnumber (and future item barcode) generation. The framework is
designed to be extended by adding new Koha::AutoNumber::* subclasses that
override _next_from() and, where needed, db_max().
Three additional strategies have been identified as useful for Koha
libraries:
1. Codabar / CLSI
The traditional North American library card standard. 14-character
format with a Codabar check character. Many libraries still hold
physical card stock in this format. Algorithm::CheckDigits supports
Codabar, making the implementation straightforward.
2. Prefixed sequential
A fixed text prefix followed by a zero-padded sequential counter,
e.g. 'LIB0001234' or 'BRANCH001'. Useful for libraries that issue
staff cards, student IDs, or branch-coded patron identifiers. Would
require one additional system preference for the prefix string.
3. Annual sequential
A year prefix followed by a sequential counter, e.g. '2026001234'.
Mirrors C4::Barcodes::annual for item barcodes. Useful for academic
libraries that issue cohort-coded patron cards.
Each strategy is a self-contained subclass; no schema changes are
required. Strategies can be implemented and submitted independently.
See also: Bug 22707
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/