Koha/koha-tmpl/intranet-tmpl/prog/en/modules/acqui
Aleisha Amohia 0c9cabbff7
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>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-11-09 10:15:05 -03:00
..
csv Bug 28327: Unify CSV delimiter special behavior for tabulation 2022-08-19 15:53:12 -03:00
acqui-home.tt Bug 6419: Add StaffAuthoritiesHome block to additional contents 2023-10-18 15:41:29 -03:00
addorder.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
addorderiso2709.tt Bug 35254: Add import_record_id to order inputs 2023-11-08 17:52:45 -03:00
ajax.tt
basket.tt Bug 33664: (follow-up) Move check for 'received' to include Modify link 2023-11-01 17:23:13 -03:00
basketgroup.tt Bug 34085: (follow-up) remove typo in Javascript 2023-09-08 11:54:57 -03:00
basketheader.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
booksellers.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
cancelorder.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
duplicate_orders.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
edi_ean.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
edifactmsgs.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
edimsg.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
histsearch.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
invoice-files.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
invoice.tt Bug 34375: Fix the option to provide no fund in budget dropdown 2023-11-08 09:58:57 -03:00
invoices.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
lateorders.tt Bug 12732: (follow-up) Use data-order instead of data-sort 2023-10-20 11:03:03 -03:00
moddeliverydate.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
modordernotes.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
neworderempty.tt Bug 34708: Add ability to modify orderline to increase quantity 2023-11-09 10:15:05 -03:00
neworderempty_duplicate.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
newordersubscription.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
newordersuggestion.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
ordered.tt Bug 31631: Optionally use tax-exclusive values for calculating fund values 2023-10-18 15:41:35 -03:00
orderreceive.tt Bug 35004: Set row.quantity_received to 1 if row.quantity_received is empty and we're in 'cataloguing' mode 2023-11-03 12:04:43 -03:00
parcel.tt Bug 34834: Add translation context for "Order" 2023-11-01 17:23:20 -03:00
parcels.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
showorder.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
spent.tt Bug 31631: Optionally use tax-exclusive values for calculating fund values 2023-10-18 15:41:35 -03:00
supplier.tt Bug 35272: Add padding above vendor contracts section 2023-11-08 09:59:00 -03:00
transferorder.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
uncertainprice.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
vendor_issues.tt Bug 33105: Redirect to 404 if no vendor exists 2023-07-20 10:59:30 -03:00
z3950_search.tt Bug 34834: Add translation context for "Order" 2023-11-01 17:23:20 -03:00