Koha/koha-tmpl/intranet-tmpl/prog/en/modules/acqui
Tomas Cohen Arazi cba15aaa09 Bug 34022: Adjust items data structure
When creating items at receiving, the generated data structure didn't
match what the code expected, so this patch adapts the code to match the
new data structure introduced by bug 8179.

Once I fixed that, I noticed that the $.ajax request payload, when it
contains an array parameter, it renames it like `param[]`. So the
finishreceive.pl controller is adjusted to this behaviour for the 'on
receiving' use case.

To test:
1. Apply this patch
2. Create a basket with 'create items on receive'
3. Create an order line
4. Close basket
5. Receive shipment
6. Enter invoice number
7. Click on Receive link in the table
8. Fill out item form, make sure all mandatory fields are set
9. Save
10. Verify that the order line is marked as 'received'
11. Verify that there item is created on the record
=> SUCCESS: Works as expected
12. Sign off :-D

Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit a40c512bf0)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2023-06-26 14:49:52 +02:00
..
csv Bug 28327: Unify CSV delimiter special behavior for tabulation 2022-08-19 15:53:12 -03:00
acqui-home.tt Bug 33000: (follow-up) Add spans for translatability 2023-03-06 14:45:20 -03:00
addorder.tt Bug 26703: modules and modules/acqui folders 2021-04-21 11:16:33 +02:00
addorderiso2709.tt Bug 33748: Fix UI issue when importing records from a staged MARC file 2023-06-09 11:22:08 -03:00
ajax.tt Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
basket.tt Bug 33000: (follow-up) Add spans for translatability 2023-03-06 14:45:20 -03:00
basketgroup.tt Bug 31722: Fixed EDIFACT message to only display if EDIFACT is turned on 2023-04-14 11:35:26 -03:00
basketheader.tt Bug 33000: (follow-up) Add spans for translatability 2023-03-06 14:45:20 -03:00
booksellers.tt Bug 33000: (follow-up) Add spans for translatability 2023-03-06 14:45:20 -03:00
cancelorder.tt Bug 33000: (follow-up) Add spans for translatability 2023-03-06 14:45:20 -03:00
duplicate_orders.tt Bug 33082: Add yellow buttons and page sections to 'copy order' pages 2023-03-17 09:59:04 -03:00
edi_ean.tt Bug 33000: (follow-up) Add spans for translatability 2023-03-06 14:45:20 -03:00
edifactmsgs.tt Bug 33000: (follow-up) Add spans for translatability 2023-03-06 14:45:20 -03:00
edimsg.tt Bug 33000: (follow-up) Add spans for translatability 2023-03-06 14:45:20 -03:00
histsearch.tt Bug 33001: (follow-up) Add spans for translatability 2023-04-12 11:43:21 -03:00
invoice-files.tt Bug 33001: (follow-up) Add spans for translatability 2023-04-12 11:43:21 -03:00
invoice.tt Bug 33721: Fix display of shipping cost/fund on invoice summary page 2023-05-18 11:03:27 -03:00
invoices.tt Bug 33154: Tab WRAPPER follow-up: label text must be translatable 2023-04-13 11:47:54 -03:00
lateorders.tt Bug 33001: (follow-up) Add spans for translatability 2023-04-12 11:43:21 -03:00
moddeliverydate.tt Bug 33001: (follow-up) Add spans for translatability 2023-04-12 11:43:21 -03:00
modordernotes.tt Bug 33001: (follow-up) Add spans for translatability 2023-04-12 11:43:21 -03:00
neworderempty.tt Bug 11844: Only display 'Additional fields' section if they are defined 2023-05-17 14:35:22 -03:00
neworderempty_duplicate.tt Bug 33001: (follow-up) Add spans for translatability 2023-04-12 11:43:21 -03:00
newordersubscription.tt Bug 33001: (follow-up) Add spans for translatability 2023-04-12 11:43:21 -03:00
newordersuggestion.tt Bug 33541: Add document type to list of suggestions when ordering 2023-05-16 15:17:45 -03:00
ordered.tt Bug 33005: (follow-up) Add spans for translatability 2023-04-12 11:43:18 -03:00
orderreceive.tt Bug 34022: Adjust items data structure 2023-06-26 14:49:52 +02:00
parcel.tt Bug 8179: (follow-up) Fix currency change and remove datatables select 2023-05-15 08:53:52 -03:00
parcels.tt Bug 33005: (follow-up) Add spans for translatability 2023-04-12 11:43:18 -03:00
showorder.tt Bug 27631: acqui folder 2022-04-20 09:03:38 -10:00
spent.tt Bug 33005: (follow-up) Add spans for translatability 2023-04-12 11:43:18 -03:00
supplier.tt Bug 33797: Remove extra space 2023-05-23 16:54:00 -03:00
transferorder.tt Bug 32070: Consistent classes for primary buttons: Acquisitions 2022-11-02 19:37:37 -03:00
uncertainprice.tt Bug 33005: (follow-up) Add spans for translatability 2023-04-12 11:43:18 -03:00
z3950_search.tt Bug 33655: z39.50 search no longer shows search in progress 2023-05-12 11:22:37 -03:00