[Koha-bugs] [Bug 18789] Send a Koha::Patron object to the templates

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 15 19:49:33 CET 2018


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

--- Comment #40 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 71682
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=71682&action=edit
Bug 18789: add tests for is_adult and is_child

This patch add 2 methods to the Koha::Patron module: is_adult and
is_child.
That way the business logic is at only one place and covered by tests.

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list