https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38839

--- Comment #3 from David Nind <[email protected]> ---
Created attachment 176285
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=176285&action=edit
Bug 38839: Add validation for replacement price in item and batch modification
forms

Adds validation for the replacement price on the item
input and batch modification forms.

Test plan:
1. Search for a record in the staff interface, select any record
   with an item, click "Edit", and select  "Manage items".
2. Click "Actions" on the item in the table, select "Edit", and
   input an invalid "v - Cost, replacement price" (e.g., 1,00).
3. Click "Save changes" and the form will submit but with no price
   shown in the table on the next page.
4. Apply the patch, update the CSS (yarn build) and restart
   everything (restart_all).
5. Repeat steps 1-3. A red error message will now appear below
   the input field, notifying the user that only numbers and periods
   are allowed. The user will not be able to submit the form.
6. The same change was also made to the batch modification
   form under Cataloging > Batch item modification.

Signed-off-by: David Nind <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to