[% USE Koha %]
[% USE KohaDates %]
[% USE Branches %]
[% INCLUDE 'doc-head-open.inc' %]
Koha › Patrons › [% IF ( opadd ) %]Add[% ELSIF ( opduplicate ) %]Duplicate[% ELSE %] Modify[% END %] patron [% IF (firstname) %][% firstname %] [% END %][% IF (surname) %][% surname %] [% END %]([%IF ( categoryname ) %][% categoryname %][% ELSE %][% IF ( I ) %]Organization[% END %][% IF ( A ) %]Adult[% END %][% IF ( C ) %]Child[% END %][% IF ( P ) %]Professional[% END %][% IF ( S ) %]Staff[% END %][% END %])
[% INCLUDE 'doc-head-close.inc' %]
[% INCLUDE 'calendar.inc' %]
[% INCLUDE 'header.inc' %]
[% INCLUDE 'patron-search.inc' %]
Home › Patrons ›
[% IF (firstname || surname ) %] [% IF (firstname) %][% firstname | html %] [% END %][% IF (surname) %][% surname | html %] [% END %] ›[% END %]
[% IF ( opadd ) %]Add[% ELSIF ( opduplicate ) %]Duplicate[% ELSE %] Modify[% END %] patron ([%IF ( categoryname ) %][% categoryname %][% ELSE %][% IF ( I ) %]Organization[% END %][% IF ( A ) %]Adult[% END %][% IF ( C ) %]Child[% END %][% IF ( P ) %]Professional[% END %][% IF ( S ) %]Staff[% END %][% END %])
[% IF ( opadd ) %]
[% ELSE %]
[% END %]
[% IF error_alert %]
[% IF ( error_alert == "no_email" ) %]
This member has no email
[% ELSE %]
[% error_alert %]
[% END %]
[% END %]
[% IF info_alert %]
Email has been sent.
[% END %]
[% INCLUDE 'noadd-warnings.inc' %]
[% UNLESS ( no_add ) %]
[% IF ( opadd ) %]Add[% ELSIF ( opduplicate ) %]Duplicate[% ELSE %] Modify[% END %] patron [% IF (firstname) %][% firstname | html %] [% END %][% IF (surname) %][% surname | html %] [% END %]([%IF ( categoryname ) %][% categoryname %][% ELSE %][% IF ( I ) %]Organization[% END %][% IF ( A ) %]Adult[% END %][% IF ( C ) %]Child[% END %][% IF ( P ) %]Professional[% END %][% IF ( S ) %]Staff[% END %][% END %])
[% END %]
[% IF ERROR_cardnumber_already_exists %]
Cardnumber already in use.
[% END %]
[% IF ERROR_cardnumber_length %]
Cardnumber length is incorrect.
[% END %]
[% IF ( ERROR_age_limitations ) %]
Patron's age is incorrect for their category.
Ages allowed are [% age_low %]-[% age_high %].
[% END %]
[% IF ( ERROR_branch ) %]
Library is invalid.
[% END %]
[% IF ( ERROR_dateofbirth ) %]
Date of birth is invalid.
[% END %]
[% IF ( ERROR_dateenrolled ) %]
Date of enrollment is invalid.
[% END %]
[% IF ( ERROR_dateexpiry ) %]
Date of expiration is invalid.
[% END %]
[% IF ( ERROR_password_too_short ) %]
Password must be at least [% minPasswordLength %] characters long.
[% END %]
[% IF ( ERROR_password_too_weak ) %]
Password must contain at least one digit, one lowercase and one uppercase.
[% END %]
[% IF ( ERROR_password_has_whitespaces ) %]
Password must not contain leading or trailing whitespaces.
[% END %]
[% IF ( ERROR_password_mismatch ) %]
Passwords do not match.
[% END %]
[% IF ( ERROR_extended_unique_id_failed ) %]
[% ERROR_extended_unique_id_failed_description %]: Attribute value "[% ERROR_extended_unique_id_failed_value %]" is already in use by another patron record.