@@ -, +, @@
1) Create attributes that cover the spectrum of possible attribute
types; repeatable, unique, dropdown, etc.
2) Verify that all of these attributes are correctly validated and
saved.
---
.../prog/en/modules/admin/patron-attr-types.tt | 2 +-
.../bootstrap/en/modules/opac-memberentry.tt | 109 ++++++++++++++----
opac/opac-memberentry.pl | 125 +++++++++++++++++++--
3 files changed, 206 insertions(+), 30 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt
@@ -322,7 +322,7 @@ function CheckAttributeTypeForm(f) {
[% item.code |html %] |
[% item.description %] |
- [% IF item.branches.size > 0 %]
+ [% IF ( item.branches ) %]
[% branches_str = "" %]
[% FOREACH branch IN item.branches %]
[% branches_str = branches_str _ " " _ branch.branchname _ "(" _ branch.branchcode _ ")" %]
--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt
+++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt
@@ -1,6 +1,8 @@
+[% USE AuthorisedValues %]
[% USE Categories %]
[% USE Koha %]
[% USE KohaDates %]
+[% USE Math %]
[% SET userupdateview = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
@@ -110,6 +112,9 @@
[% END %]
+ [% IF ( extended_unique_id_failed_code ) %]
+
+ [% END %]
|