[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
Fri Feb 16 12:12:44 CET 2018


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

--- Comment #53 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 71716
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=71716&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>

Signed-off-by: Josef Moravec <josef.moravec at gmail.com>

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


More information about the Koha-bugs mailing list