Summary: | Ability to modify an order line to increase quantity of ordered item | ||
---|---|---|---|
Product: | Koha | Reporter: | Aleisha Amohia <aleisha> |
Component: | Acquisitions | Assignee: | Aleisha Amohia <aleisha> |
Status: | CLOSED FIXED | QA Contact: | Katrin Fischer <katrin.fischer> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | bugzilla, caroline.cyr-la-rose, fridolin.somers, katariina.hanhisalo, kebliss |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | Sponsored | Patch complexity: | Small patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: |
This allows to add additional items to an already saved order lines when items are created on order.
|
Version(s) released in: |
23.11.00
|
Circulation function: | |||
Bug Depends on: | |||
Bug Blocks: | 36620 | ||
Attachments: |
Bug 34708: [WIP]
Bug 34708: Add ability to modify orderline to increase quantity Bug 34708: Add ability to modify orderline to increase quantity Bug 34708: Add ability to modify orderline to increase quantity |
Description
Aleisha Amohia
2023-09-04 21:54:15 UTC
Created attachment 155520 [details] [review] Bug 34708: [WIP] Created attachment 155580 [details] [review] Bug 34708: Add ability to modify orderline to increase quantity This enhancement allows libraries to modify an existing orderline and increase the quantity in the order. The quantity is increased by adding more items to the order, through the usual Item for which is visible when adding or modifying an order. To test: 1. Ensure you have a budget, fund, vendor etc. to use the Acquisitions module 2. Open a new basket. Make sure you do NOT check the 'orders are standing' option 3. Add an order to the basket using any method. Add an item or more to this orderline and save the order to the basket 4. Click Modify to edit the orderline 5. Notice the quantity text field. Try to directly change this number. You'll get an error pop-up and be redirected back to the basket. 6. Apply the patch, restart services, refresh the basket page 7. Click Modify to edit the orderline 8. Notice the item form and Items list table is visible with your existing item(s) for this order. There should be no Action buttons as actions can't be done on an existing item order. 9. Confirm you are able to add more items to the Items list and to the order by filling out the form and clicking 'Add item' as normal. Confirm the quantity increases accordingly. 10. Confirm the Edit and Delete buttons for newly added items work as expected 11. Save and confirm the quantity for the orderline has increased 12. Confirm this behaviour persists with the other methods of adding new orders to a basket Sponsored-by: Pymble Ladies' College Created attachment 156039 [details] [review] Bug 34708: Add ability to modify orderline to increase quantity This enhancement allows libraries to modify an existing orderline and increase the quantity in the order. The quantity is increased by adding more items to the order, through the usual Item for which is visible when adding or modifying an order. To test: 1. Ensure you have a budget, fund, vendor etc. to use the Acquisitions module 2. Open a new basket. Make sure you do NOT check the 'orders are standing' option 3. Add an order to the basket using any method. Add an item or more to this orderline and save the order to the basket 4. Click Modify to edit the orderline 5. Notice the quantity text field. Try to directly change this number. You'll get an error pop-up and be redirected back to the basket. 6. Apply the patch, restart services, refresh the basket page 7. Click Modify to edit the orderline 8. Notice the item form and Items list table is visible with your existing item(s) for this order. There should be no Action buttons as actions can't be done on an existing item order. 9. Confirm you are able to add more items to the Items list and to the order by filling out the form and clicking 'Add item' as normal. Confirm the quantity increases accordingly. 10. Confirm the Edit and Delete buttons for newly added items work as expected 11. Save and confirm the quantity for the orderline has increased 12. Confirm this behaviour persists with the other methods of adding new orders to a basket Sponsored-by: Pymble Ladies' College Signed-off-by: Katariina Hanhisalo <katariina.hanhisalo@xamk.fi> Created attachment 158407 [details] [review] Bug 34708: Add ability to modify orderline to increase quantity This enhancement allows libraries to modify an existing orderline and increase the quantity in the order. The quantity is increased by adding more items to the order, through the usual Item for which is visible when adding or modifying an order. To test: 1. Ensure you have a budget, fund, vendor etc. to use the Acquisitions module 2. Open a new basket. Make sure you do NOT check the 'orders are standing' option 3. Add an order to the basket using any method. Add an item or more to this orderline and save the order to the basket 4. Click Modify to edit the orderline 5. Notice the quantity text field. Try to directly change this number. You'll get an error pop-up and be redirected back to the basket. 6. Apply the patch, restart services, refresh the basket page 7. Click Modify to edit the orderline 8. Notice the item form and Items list table is visible with your existing item(s) for this order. There should be no Action buttons as actions can't be done on an existing item order. 9. Confirm you are able to add more items to the Items list and to the order by filling out the form and clicking 'Add item' as normal. Confirm the quantity increases accordingly. 10. Confirm the Edit and Delete buttons for newly added items work as expected 11. Save and confirm the quantity for the orderline has increased 12. Confirm this behaviour persists with the other methods of adding new orders to a basket Sponsored-by: Pymble Ladies' College Signed-off-by: Katariina Hanhisalo <katariina.hanhisalo@xamk.fi> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Perltidy Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Pushed to master for 23.11. Nice work everyone, thanks! Enhancement not pushed to 23.05.x The manual only says we can edit orders, without specifying with or without items. So I won't change anything there. |