Koha/koha-tmpl/intranet-tmpl/prog
Jonathan Druart c52e15689f
Bug 23888: Do not allow invalid vendor id on creating a subscription
It will avoid crash and invalid data when creating/updating a
subscription.

This could have been done with a AJAX query but seems more convenient
this way.

Test plan:
- Create or update a subscription
- In the "Vendor" input try an empty string, a valid vendor's id, and
invalid one.
=> With an empty string you get the existing alert message
=> With a valid id you do not get any messages
=> With an invalid id you are not allowed to go to page 2

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-03-27 12:14:09 +00:00
..
css Bug 24953: Compiled CSS 2020-03-24 11:03:54 +00:00
en Bug 23888: Do not allow invalid vendor id on creating a subscription 2020-03-27 12:14:09 +00:00
img
js Bug 23888: Do not allow invalid vendor id on creating a subscription 2020-03-27 12:14:09 +00:00
pdf Bug 5016: Fix some translation issues with English PDF order templates 2020-02-19 11:26:41 +00:00
sound