http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14763
Marc Véron <ve...@veron.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #45790|0 |1 is obsolete| | --- Comment #5 from Marc Véron <ve...@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 <ve...@veron.ch> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/