View | Details | Raw Unified | Return to bug 14763
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt (-1 / +1 lines)
Lines 226-232 function validate1(date) { Link Here
226
        [% IF ( emailpro ) %]<li><span class="label">Secondary email: </span><a href="mailto:[% emailpro %]">[% emailpro %]</a></li>[% END %]
226
        [% IF ( emailpro ) %]<li><span class="label">Secondary email: </span><a href="mailto:[% emailpro %]">[% emailpro %]</a></li>[% END %]
227
    [% END %]
227
    [% END %]
228
    [% IF ( initials ) %]<li><span class="label">Initials: </span>[% initials %]</li>[% END %]
228
    [% IF ( initials ) %]<li><span class="label">Initials: </span>[% initials %]</li>[% END %]
229
    [% IF ( dateofbirth ) %]<li><span class="label">Date of birth:</span>[% dateofbirth | $KohaDates %]</li>[% END %]
229
    [% IF ( dateofbirth ) %]<li><span class="label">Date of birth:</span>[% dateofbirth | $KohaDates %] ([% age %] years)</li>[% END %]
230
    [% IF ( sex ) %]<li><span class="label">Gender:</span>
230
    [% IF ( sex ) %]<li><span class="label">Gender:</span>
231
    [% IF ( sex == 'F' ) %]Female[% ELSIF ( sex == 'M' ) %]Male[% ELSE %][% sex %][% END %]
231
    [% IF ( sex == 'F' ) %]Female[% ELSIF ( sex == 'M' ) %]Male[% ELSE %][% sex %][% END %]
232
    </li>[% END %][% END %]
232
    </li>[% END %][% END %]
(-)a/members/moremember.pl (-1 / +5 lines)
Lines 254-259 $today->truncate(to => 'day'); Link Here
254
my $overdues_exist = 0;
254
my $overdues_exist = 0;
255
my $totalprice = 0;
255
my $totalprice = 0;
256
256
257
# Calculate and display patron's age
258
my $dateofbirth = $data->{ 'dateofbirth' };
259
my $age = GetAge($dateofbirth);
260
$template->param( age => $age );
261
257
### ###############################################################################
262
### ###############################################################################
258
# BUILD HTML
263
# BUILD HTML
259
# show all reserves of this borrower, and the position of the reservation ....
264
# show all reserves of this borrower, and the position of the reservation ....
260
- 

Return to bug 14763