[Koha-bugs] [Bug 15206] Show patron's age when filling date of birth in memberentry.pl

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


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

--- Comment #14 from Frédéric Demians <frederic at tamil.fr> ---
Comment on attachment 45580
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=45580
Bug 15206 - CalculateAge in memberentry use C4::Members::GetAge()

Review of attachment 45580:
 --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=15206&attachment=45580)
-----------------------------------------------------------------

::: koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt
@@ +163,5 @@
> +            data: 'dateofbirth=' + year + '-' + month + '-' + day,
> +            dataType: 'json',
> +            success : function(json, statut){
> +                var age_string = "Age: ";
> +                if (json.years) { age_string += json.years + " year(s) "; }

Translation issue here also. 

http://wiki.koha-community.org/wiki/Coding_Guidelines#JavaScript

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


More information about the Koha-bugs mailing list