@@ -, +, @@
(2/2)
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, 207 insertions(+), 29 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
@@ -319,7 +319,7 @@ function CheckAttributeTypeForm(f) {
[% item.code %] |
[% 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,5 +1,7 @@
+[% USE AuthorisedValues %]
[% USE Koha %]
[% USE KohaDates %]
+[% USE Math %]
[% SET userupdateview = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
@@ -95,6 +97,9 @@
[% END %]
+ [% IF ( extended_unique_id_failed_code ) %]
+
+ [% END %]
|