https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22707

--- Comment #6 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 199827
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=199827&action=edit
Bug 22707: Add Koha::Patron::AutoNumber as a domain adapter for patron
cardnumbers

Adds a thin adapter class that instantiates Koha::AutoNumber with the
patron-specific context:

  format_pref  => autoMemberNumFormat
  counter_pref => autoMemberNumValue
  db_source    => Borrower
  db_column    => cardnumber

Callers use Koha::Patron::AutoNumber->new->next_value($schema) without
needing to know about the generic framework. A future
Koha::Item::AutoNumber can follow the identical pattern for item barcodes.

-- 
You are receiving this mail because:
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/

Reply via email to