[Koha-bugs] [Bug 14763] show patron's age

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 17 23:59:22 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14763

--- Comment #2 from Aleisha Amohia <aleishaamohia at hotmail.com> ---
Created attachment 45790
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=45790&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

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


More information about the Koha-bugs mailing list