[Koha-bugs] [Bug 16754] Use validation plugin when adding or editing budgets

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 16 15:40:22 CEST 2016


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

--- Comment #1 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 52463
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=52463&action=edit
Bug 16754 - Use validation plugin when adding or editing budgets

This patch removes the custom javascript form validation from the budget
edit template and replaces it with validation via the validation plugin.

I did not reproduce the date comparison portion of the script because it
didn't work correctly in many cases. The datepicker enforces the
requirement that the budget start date precedes the budget end date.

Also changed: I added the "Required" text next to required fields.

To test, apply the patch and test the budget creation process for
adding, editing, and duplicating budgets. In all cases:

- The start date and end date should be required
- The description should be required
- The budget amount should be required to be a number

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list