Koha-clms/acqui
Emily Lamancusa ea49cfb38b
Bug 39572: Improve EDIFACT order confirmation message
Add EAN account information to EDIFACT order confirmation message
when the BasketConfirmations system preference is enabled.

To test:
1. Set EDIFACT system preference to Enable
2. Set BasketConfirmations system preference to Enable
3. Create at least 2 EANs, one with a description and one without a
   description
   i. Go to Acquisitions > Library EANs
   ii. Click "New EAN" and fill in the fields
4. Create an EDI account
   i. Go to Acquisitions > EDI accounts
   ii. Click "New account"
   iii. Click Submit (for testing purposes you don't need to fill in
         the fields)
5. Find or create a basket for the same vendor that's on the EDI account
6. Add an order to the basket from any source
7. In the menu bar at the top of the basket screen, click "Create
   EDIFACT order" and select an EAN
--> Note that the confirmation page doesn't tell you which EAN was
    selected
8. Click "No, don't close"
9. Apply patch and restart_all
10. Repeat step 7
--> The confirmation page should now display both the basket and the
    selected EAN
11. Click "Cancel"
--> Confirm that the basket is still open
12. Repeat step 7
13. Click "Yes, generate order and close basket"
--> Confirm the basket is closed
14. Click "EDIFACT messages" in the sidebar menu
--> Confirm that you see a message with type ORDERS for that basket

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 0c9e5029b3)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
2025-07-24 10:23:14 +02:00
..
acqui-home.pl Bug 39044: Pass budgets to template 2025-02-13 15:31:00 +01:00
addorder.pl Bug 35044: (QA follow-up): DRY code before set_additional_fields 2024-08-23 18:21:26 +02:00
addorderiso2709.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
ajax-getauthvaluedropbox.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
basket.pl Bug 39572: Improve EDIFACT order confirmation message 2025-07-24 10:23:14 +02:00
basketgroup.pl Bug 39325: Automatic fix 2025-04-28 18:51:22 +02:00
basketheader.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
booksellers.pl Bug 40066: Restore budget check to booksellers.pl 2025-06-17 21:43:04 +02:00
cancelorder.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
check_budget_total.pl Bug 39325: Manual fixes 2025-04-28 18:51:23 +02:00
check_uniqueness.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
duplicate_orders.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
edifactmsgs.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
edimsg.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
finishreceive.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
histsearch.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
invoice-files.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
invoice.pl Bug 39325: Automatic fix 2025-04-28 18:51:22 +02:00
invoices.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
lateorders-export.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
lateorders.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
moddeliverydate.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
modordernotes.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
neworderempty.pl Bug 39325: Automatic fix 2025-04-28 18:51:22 +02:00
newordersubscription.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
newordersuggestion.pl Bug 31632: (QA follow-up) Align behavior with order from suggestion 2025-07-10 22:47:25 +02:00
ordered.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
orderreceive.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
parcel.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
parcels.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
showorder.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
spent.pl Bug 39319: Fixes for Pod::Checker 2025-04-14 08:51:21 +02:00
transferorder.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
uncertainprice.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
vendor_issues.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
vendors.pl Bug 38010: (QA follow-up) Move syspref values to config endpoint 2025-05-02 17:19:26 +02:00
z3950_search.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00