[Koha-bugs] [Bug 14763] show patron's age
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jan 13 10:05:22 CET 2016
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14763
Marc Véron <veron at veron.ch> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #45790|0 |1
is obsolete| |
--- Comment #5 from Marc Véron <veron at veron.ch> ---
Created attachment 46570
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=46570&action=edit
Bug 14763: Calculate and display patron age
This patch uses the GetAge function from C4::Members to calculate the patron's
age and display it.
To test:
1) Go to patron Details page (ie
http://localhost:8081/cgi-bin/koha/members/moremember.pl?borrowernumber=51)
2) Confirm that 'Age:' is showing under the Date of Birth and is correct
according to DOB (ie if DOB: 30/11/1996, Age: 19 years)
3) Edit date of birth to be a month later (ie from 30 November to 30 December)
so that, as of the date you are testing, the patron has not had their birthday
yet
4) Confirm that Age changes to be one year younger
5) Edit date of birth to be a different year
6) Confirm that Age changes accordingly
Followed test plan, works as expected.
Signed-off-by: Marc Véron <veron at veron.ch>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list