Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin
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
..
preferences Bug 16270 (followup) Typo authentification vs authentication 2016-04-29 14:44:26 +00:00
admin-home.tt Bug 16206: Corrections to templates related new EDI feature 2016-04-20 16:49:46 +00:00
aqbudgetperiods.tt Bug 16242 - Move staff client JavaScript out of language directory 2016-04-29 14:32:42 +00:00
aqbudgets.tt Bug 16242 - Move staff client JavaScript out of language directory 2016-04-29 14:32:42 +00:00
aqcontract.tt Bug 16242 - Move staff client JavaScript out of language directory 2016-04-29 14:32:42 +00:00
aqplan.tt Bug 16242 - Move staff client JavaScript out of language directory 2016-04-29 14:32:42 +00:00
audio_alerts.tt Bug 16242 - Move staff client JavaScript out of language directory 2016-04-29 14:32:42 +00:00
auth_subfields_structure.tt Bug 16263: making authority tags and subfields actions buttons 2016-04-29 11:39:30 +00:00
auth_tag_structure.tt Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00
authorised_values.tt Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00
authtypes.tt Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00
biblio_framework.tt Bug 16242 - Move staff client JavaScript out of language directory 2016-04-29 14:32:42 +00:00
branch_transfer_limits.tt Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00
branches.tt Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00
categories.tt Bug 16286 - Use validation plugin when adding or editing patron category 2016-04-29 14:54:14 +00:00
checkmarc.tt
cities.tt Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00
classsources.tt Bug 15938 - Use validation plugin when adding or editing classification sources and filing rules 2016-04-29 13:30:41 +00:00
clone-rules.tt Bug 15941 - The template for cloning circulation and fine rules says "issuing rules" 2016-03-07 18:01:10 +00:00
columns_settings.tt
currency.tt Bug 16238: Use .prop() instead of .attr() for 'disabled' 2016-04-29 14:18:24 +00:00
didyoumean.tt
edi_accounts.tt Bug 16206: Corrections to templates related new EDI feature 2016-04-20 16:49:46 +00:00
edi_ean_accounts.tt Bug 16256 - Can't edit library EAN if you leave EAN empty 2016-04-20 16:52:17 +00:00
fieldmapping.tt
item_circulation_alerts.tt Bug 14828: Use Koha::ItemType[s] everywhere C4::ItemType was used 2016-01-27 20:46:58 +00:00
items_search_field.tt Bug 15887: Revise layout and behavior of item search fields management 2016-03-02 22:36:17 +00:00
items_search_fields.tt Bug 16242 - Move staff client JavaScript out of language directory 2016-04-29 14:32:42 +00:00
itemtypes.tt Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00
koha2marclinks.tt Bug 16081: Making Koha to MARC mapping actions buttons 2016-03-23 01:02:56 +00:00
localization.tt Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00
marc_subfields_structure.tt Bug 16242 - Move staff client JavaScript out of language directory 2016-04-29 14:32:42 +00:00
marctagstructure.tt Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00
matching-rules.tt Bug 15990: (follow-up) Making record matching rules actions buttons 2016-03-18 07:10:29 +00:00
oai_set_mappings.tt Bug 16045 - Use Font Awesome icons in OAI sets administration 2016-03-12 23:44:52 +00:00
oai_sets.tt Bug 16096: Change 'modify' to 'edit' for OAI sets config 2016-03-23 01:02:02 +00:00
patron-attr-types.tt Bug 12267: Remove borrower_attributes.password 2016-04-22 23:08:32 +00:00
preferences.tt Bug 16242 - Move staff client JavaScript out of language directory 2016-04-29 14:32:42 +00:00
printers.tt
smart-rules.tt Bug 16238: Use .prop() instead of .attr() for 'disabled' 2016-04-29 14:18:24 +00:00
sms_providers.tt Bug 16242 - Move staff client JavaScript out of language directory 2016-04-29 14:32:42 +00:00
sru_modmapping.tt
systempreferences.tt Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00
transport-cost-matrix.tt Bug 16238: Use .prop() instead of .attr() for 'disabled' 2016-04-29 14:18:24 +00:00
z3950servers.tt Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00