Summary: | Save clicks on single order receive | ||
---|---|---|---|
Product: | Koha | Reporter: | Caroline Cyr La Rose <caroline.cyr-la-rose> |
Component: | Acquisitions | Assignee: | Jonathan Druart <jonathan.druart> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | blocker | ||
Priority: | P5 - low | CC: | jonathan.druart, matt.blenkinsop, michaela.sieber, nugged, tomascohen |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
23.05.00
|
|
Circulation function: | |||
Bug Depends on: | 8179 | ||
Bug Blocks: | 33864, 34036 | ||
Attachments: |
Bug 33784: Don't display the multi receive form for single receive
Bug 33784: Don't display the multi receive form for single receive Bug 33784: Make buttons more meaningful Bug 33784: Make buttons more meaningful Bug 33784: Don't display the multi receive form for single receive Bug 33784: Make buttons more meaningful |
Description
Caroline Cyr La Rose
2023-05-19 14:19:29 UTC
2 extra clicks for single receive vs a multiple one is a real issue. We need to bring that down to the old number of clicks for a single receive or this will be seen as a serious regression. Created attachment 151552 [details] [review] Bug 33784: Don't display the multi receive form for single receive With bug 8179, a new step was added when receiving a single item. This extra step is not useful and adds clicks for the staff member who is receiving orders. This patch is not ideal but bug 8179 has not designed the code to make it reusable. It must have been moved to a different file (instead of making orderreceive.tt bigger than it was already). We could have displayed the modal from the parcel page. This patch is suggesting to hijack the JS code and click on the "edit" and "save" button. However it does not fully work There is a problem in the following situation: * Receive one and only one order * Don't change the quantity (0) and click "save changes" * Click "cancel" in the warning alert box => There is a .modal-backdrop that is on top of everything, the UI is stuck Created attachment 151626 [details] [review] Bug 33784: Don't display the multi receive form for single receive With bug 8179, a new step was added when receiving a single item. This extra step is not useful and adds clicks for the staff member who is receiving orders. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Created attachment 151627 [details] [review] Bug 33784: Make buttons more meaningful This patch makes dismissing the modal equivalent to cancelling the receipt and thus returning to parcel.pl. The 'Save' button is renamed to 'Confirm' and is disabled when no items are selected for receiving. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Created attachment 151628 [details] [review] Bug 33784: Make buttons more meaningful This patch makes dismissing the modal equivalent to cancelling the receipt and thus returning to parcel.pl. The 'Save' button is renamed to 'Confirm' and is disabled when no items are selected for receiving. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Created attachment 151629 [details] [review] Bug 33784: Don't display the multi receive form for single receive With bug 8179, a new step was added when receiving a single item. This extra step is not useful and adds clicks for the staff member who is receiving orders. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Created attachment 151630 [details] [review] Bug 33784: Make buttons more meaningful This patch makes dismissing the modal equivalent to cancelling the receipt and thus returning to parcel.pl. The 'Save' button is renamed to 'Confirm' and is disabled when no items are selected for receiving. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Pushed to master for 23.05. Nice work everyone, thanks! Dependencies missing - not backporting to 22.11.x |