Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Owen Leonard f471ed3903 Bug 16286 - Use validation plugin when adding or editing patron category
This patch updates the patron category entry form so that it is
validated using the staff client's globally-included form validation
plugin. This patch also moves the page's JavaScript into a separate
file.

To test, apply the patch and go to Administration -> Patron categories.

- Create a new category. Try to submit the form with the following
  fields empty:
  - Category code
  - Description
  - Both enrollment period fields
  - Category type
- Try to enter data in the category code field which contains characters
  other than letters, numbers, hyphens, or underscores.
- Try to enter non-numeric data in the following fields:
  - Enrollment period in months
  - Age required
  - Upper age limit
  - Enrollment fee
  - Hold fee
- Try to submit the form with both enrollment period fields filled.

Followed test plan, works as expected.
Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2016-04-29 14:54:14 +00:00
..
acqui Bug 16262 - Remove the use of "onclick" from acquisitions basket template 2016-04-29 14:46:38 +00:00
admin Bug 16286 - Use validation plugin when adding or editing patron category 2016-04-29 14:54:14 +00:00
authorities Bug 16242 - Move staff client JavaScript out of language directory 2016-04-29 14:32:42 +00:00
basket Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00
batch
catalogue Bug 16238: Use .prop() instead of .attr() for 'disabled' 2016-04-29 14:18:24 +00:00
cataloguing Bug 16242 - Move staff client JavaScript out of language directory 2016-04-29 14:32:42 +00:00
circ Bug 16242 [Follow-up] Move staff client JavaScript out of language directory 2016-04-29 14:32:42 +00:00
common Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00
course_reserves Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00
errors Bug 16270: Typo authentification/authentication 2016-04-29 14:44:26 +00:00
help Bug 16167: Remove Authorised value images prefs 2016-04-29 13:59:58 +00:00
installer
labels Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00
members Bug 16242 - Move staff client JavaScript out of language directory 2016-04-29 14:32:42 +00:00
offline_circ Bug 16242 - Move staff client JavaScript out of language directory 2016-04-29 14:32:42 +00:00
patron_lists Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00
patroncards Bug 16238: Use .prop() instead of .attr() for 'checked' 2016-04-29 14:18:24 +00:00
plugins
reports Bug 16238: Use .prop() instead of .attr() for 'disabled' 2016-04-29 14:18:24 +00:00
reserve Bug 16238: QA fix: remove tab characters 2016-04-29 14:18:24 +00:00
reviews
rotating_collections Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00
serials Bug 16242 - Move staff client JavaScript out of language directory 2016-04-29 14:32:42 +00:00
services
sms
suggestion Bug 16242 - Move staff client JavaScript out of language directory 2016-04-29 14:32:42 +00:00
tags Bug 16238 [Follow-up] Upgrade jQuery in staff client: use .prop() instead of .attr() 2016-04-29 14:18:25 +00:00
test
tools Bug 16257 - EDIfact messages link on tools page results error 2016-04-29 14:37:08 +00:00
virtualshelves Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00
about.tt
auth.tt
intranet-main.tt Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00