@@ -145,30 +126,32 @@
[% END %]
[% IF ( no_add ) %]
Cannot add patron
- [% IF ( no_branches ) %]
There are no libraries defined. [% IF ( CAN_user_parameters ) %]Please add a library.[% ELSE %]An administrator must define at least one library.[% END %]
[% END %]
- [% IF ( no_categories ) %]
There are no patron categories defined. [% IF ( CAN_user_parameters ) %]Please add a patron category.[% ELSE %]An administrator must define at least one patron category.
[% END %][% END %]
[% END %]
+ [% IF ( no_branches ) %]
There are no libraries defined. [% IF ( CAN_user_parameters ) %]Please add a library.[% ELSE %]An administrator must define at least one library.[% END %]
[% END %]
+ [% IF ( no_categories ) %]
There are no patron categories defined. [% IF ( CAN_user_parameters ) %]Please add a patron category.[% ELSE %]An administrator must define at least one patron category.
[% END %][% END %]
[% END %]
[% UNLESS ( no_add ) %]
- [% IF ( opadd ) %]
-
- Add[% IF ( categoryname ) %] [% categoryname %] patron[% ELSE %][% IF ( I ) %] Organization patron[% END %][% IF ( A ) %] Adult patron[% END %][% IF ( C ) %] Child patron[% END %][% IF ( P ) %] Professional patron[% END %][% IF ( S ) %] Staff patron[% END %][% END %] [% firstname %] [% surname %]
-
- [% ELSE %]
-
- [% IF ( opduplicate ) %]Duplicate[% ELSE %]Modify[% END %][% IF ( categoryname ) %] [% categoryname %] patron[% ELSE %][% IF ( I ) %] Organization patron[% END %][% IF ( A ) %] Adult patron[% END %][% IF ( C ) %] Child patron[% END %][% IF ( P ) %] Professional patron[% END %][% IF ( S ) %] Staff patron[% END %][% END %]
-[% firstname %] [% surname %]
-
- [% END %]
-
+
[% 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 %])
+
+ [% IF quickadd && opadd && !check_member %]
+
Show full form
+
Show brief form
+ [% END %]
+
[% IF ( check_member ) %]
Duplicate patron record?
-
-
+
+
-
[% END %]
@@ -186,12 +169,12 @@
Cardnumber length is incorrect.
[% END %]
[% IF ( ERROR_age_limitations ) %]
-
Patron's age is incorrect for their category.
+ Patron's age is incorrect for their category.
Ages allowed are [% age_low %]-[% age_high %].
[% END %]
[% IF ( ERROR_branch ) %]
Library is invalid.
- [% END %]
+ [% END %]
[% IF ( ERROR_dateofbirth ) %]
Date of birth is invalid.
[% END %]
@@ -208,14 +191,39 @@
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.
+
[% ERROR_extended_unique_id_failed_description %]: Attribute value "[% ERROR_extended_unique_id_failed_value %]" is already in use by another patron record.
[% END %]
+ [% IF ERROR_bad_email %]
+
The primary email is invalid.
+ [% END %]
+ [% IF ERROR_bad_email_secondary %]
+
The secondary email is invalid.
+ [% END %]
+ [% IF ERROR_bad_email_alternative %]
+
The alternative email is invalid.
+ [% END %]