Bug 27717: Display date of birth even if the patron is under 1
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 17 Feb 2021 12:25:34 +0000 (12:25 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 5 Mar 2021 12:38:58 +0000 (13:38 +0100)
commit35b5e29988f9781516b7e09327741455bfa202a5
tree0a4f781b0d81b1b1748141e2a46953cf93206bc0
parent2cd4c6011a13ec85c35005216be3f3ed39a5278b
Bug 27717: Display date of birth even if the patron is under 1

This patch moves the 'age' condition to below the date of birth display,
allowing the date to display for babies.

Test plan
1/ Add a user with a date of birth within the last year
2/ Check that the date of birth appears on the patron details page
(under contact details) with the patch applied.

Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/includes/patron-age.inc