[Bug 41779] New: Late orders: disable batch controls if no checkboxes are checked
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41779 Bug ID: 41779 Summary: Late orders: disable batch controls if no checkboxes are checked Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Acquisitions Assignee: oleonard@myacpl.org Reporter: oleonard@myacpl.org QA Contact: testopia@bugs.koha-community.org On the late orders page, the "Export" and "Claim" controls should be disabled when there are no orders have their checkboxes checked. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41779 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |Small patch Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41779 --- Comment #1 from Owen Leonard <oleonard@myacpl.org> --- Created attachment 192542 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=192542&action=edit Bug 41779: Late orders: disable batch controls if no checkboxes are checked This patch adds JavaScript which changes the enabled or disabled state of the batch controls on the late orders page: "Export as CSV" and "Claim order." To test you must have more than one late order. - Apply the patch and go to Acquisitions -> Late orders. - At the bottom of the table of late orders you should see the "Export as CSV" and "Claim order" buttons and they should be disabled. - Try checking and unchecking boxes, and confirm that the controls are enabled and disabled as they should be. - Filter your list of late orders by vendor using the filter form in the sidebar. - Test that the "Check all" and "Uncheck all" controls above the table. The batch controls should be enabled and disabled correctly. Sponsored-by: Athens County Public Libraries -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41779 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Sponsorship status|--- |Sponsored Status|Needs Signoff |Signed Off Comma delimited| |Athens County Public list of Sponsors| |Libraries -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41779 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #192542|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41779 --- Comment #2 from David Nind <david@davidnind.com> --- Created attachment 192583 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=192583&action=edit Bug 41779: Late orders: disable batch controls if no checkboxes are checked This patch adds JavaScript which changes the enabled or disabled state of the batch controls on the late orders page: "Export as CSV" and "Claim order." To test you must have more than one late order. - Apply the patch and go to Acquisitions -> Late orders. - At the bottom of the table of late orders you should see the "Export as CSV" and "Claim order" buttons and they should be disabled. - Try checking and unchecking boxes, and confirm that the controls are enabled and disabled as they should be. - Filter your list of late orders by vendor using the filter form in the sidebar. - Test that the "Check all" and "Uncheck all" controls above the table. The batch controls should be enabled and disabled correctly. Sponsored-by: Athens County Public Libraries Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41779 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Patch doesn't apply -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41779 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Patch doesn't apply |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41779 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #192583|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41779 --- Comment #3 from Owen Leonard <oleonard@myacpl.org> --- Created attachment 200263 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200263&action=edit Bug 41779: Late orders: disable batch controls if no checkboxes are checked This patch adds JavaScript which changes the enabled or disabled state of the batch controls on the late orders page: "Export as CSV" and "Claim order." To test you must have more than one late order. - Apply the patch and go to Acquisitions -> Late orders. - At the bottom of the table of late orders you should see the "Export as CSV" and "Claim order" buttons and they should be disabled. - Try checking and unchecking boxes, and confirm that the controls are enabled and disabled as they should be. - Filter your list of late orders by vendor using the filter form in the sidebar. - Test that the "Check all" and "Uncheck all" controls above the table. The batch controls should be enabled and disabled correctly. Sponsored-by: Athens County Public Libraries -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org