]> git.koha-community.org Git - koha.git/commit
Bug 11002: simplify patron mandatory field validation
authorJonathan Druart <jonathan.druart@biblibre.com>
Mon, 7 Oct 2013 08:41:24 +0000 (10:41 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 22 Oct 2013 05:18:42 +0000 (05:18 +0000)
commitc900a47aa8c7133036138cf79a81e70b827fe61f
tree51a2000f11513c79c07cc7c33fb295c1bb05f2df
parentf66f34a4200593f07b596d02b880aaf456b0c3fa
Bug 11002: simplify patron mandatory field validation

When the pref BorrowerMandatoryField is set and a librarian forget to
fill fields, a js popup appears with the following message:
  "The following fields are mandatory: surname, etc."
The fields are not translatable.

Test plan:
- fill the pref BorrowerMandatoryField with something like:
  title|zipcode|surname|cardnumber|branchcode
- go the members/memberentry.pl?op=add page
- verify you are not allowed to add the patron without filling all
  mandatory fields.

Signed-off-by: Paola Rossi <paola.rossi@cineca.it>
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/js/members.js
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt