Koha-clms/koha-tmpl/intranet-tmpl/prog/en/modules/acqui
Martin Renvoize 9371504d98
Bug 30144: (QA follow-up) Only show servicing instructions when EDIFACT is available
The new servicing instructions UI on the "add order" form was showing
unconditionally, even when the EDIFACT system preference is disabled
or the vendor has no EDI account configured. Elsewhere in acquisitions
(e.g. acqui/basket.tt) EDI-only UI is gated on
Koha.Preference('EDIFACT') && ediaccount, so apply the same check here.

Test plan:
1. With EDIFACT disabled, or EDIFACT enabled but the vendor has no
   entry in vendor_edi_accounts, open Acquisitions > a basket > Add
   order (neworderempty.pl)
   => No "Servicing instructions" field is shown
2. Enable EDIFACT and add a vendor_edi_accounts row for the vendor
   => The "Servicing instructions" field appears and behaves as before

Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
2026-09-09 12:07:23 +00:00
..
csv Bug 38664: Fix some tests 2025-02-11 14:58:26 +01:00
acqui-home.tt Bug 42279: Tidy all script tags - acqui 2026-07-29 15:49:55 +00:00
addorder.tt Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
addorderiso2709.tt Bug 42279: Tidy all script tags - acqui 2026-07-29 15:49:55 +00:00
ajax.tt
…
basket.tt Bug 30144: (QA follow-up) Fix stored XSS in servicing instructions 2026-08-28 16:36:26 +00:00
basketgroup.tt Bug 43259: Fix add/remove basket to/from group 2026-09-01 15:41:56 +00:00
basketheader.tt Bug 38365: Add CSP nonces to all inline script and style tags 2026-03-16 11:57:42 +01:00
booksellers.tt Bug 38365: Add CSP nonces to all inline script and style tags 2026-03-16 11:57:42 +01:00
cancelorder.tt Bug 38010: (QA follow-up) Update routes to include 'acquisition' 2025-05-02 17:19:09 +02:00
duplicate_orders.tt Bug 42279: Tidy all script tags - acqui 2026-07-29 15:49:55 +00:00
edifactmsgs.tt Bug 42279: Tidy all script tags - acqui 2026-07-29 15:49:55 +00:00
edimsg.tt Bug 40383: Add JSON representation to Koha::Edifact and JSON download to edimsg.pl 2026-03-26 14:21:18 +01:00
histsearch.tt Bug 42330: Tidy 2026-09-04 11:23:17 +00:00
invoice-files.tt Bug 42080: (follow-up) allow some file types, checked by libmagic, to be viewed inline 2026-06-26 11:56:57 +00:00
invoice.tt Bug 42279: Tidy all script tags - acqui 2026-07-29 15:49:55 +00:00
invoices.tt Bug 42330: Tidy 2026-09-04 11:23:17 +00:00
lateorders.tt Bug 42330: Tidy 2026-09-04 11:23:17 +00:00
moddeliverydate.tt Bug 38010: (QA follow-up) Update routes to include 'acquisition' 2025-05-02 17:19:09 +02:00
modordernotes.tt Bug 38010: (QA follow-up) Update routes to include 'acquisition' 2025-05-02 17:19:09 +02:00
neworderempty.tt Bug 30144: (QA follow-up) Only show servicing instructions when EDIFACT is available 2026-09-09 12:07:23 +00:00
neworderempty_duplicate.tt Bug 7132: Acq: Check for duplicates when ordering from empty record 2025-10-15 16:12:08 -06:00
newordersubscription.tt Bug 38365: Add CSP nonces to all inline script and style tags 2026-03-16 11:57:42 +01:00
newordersuggestion.tt Bug 42279: Tidy all script tags - acqui 2026-07-29 15:49:55 +00:00
ordered.tt Bug 38365: Add CSP nonces to all inline script and style tags 2026-03-16 11:57:42 +01:00
orderreceive.tt Bug 42605: Preserve acquisition preference string values 2026-08-28 16:36:32 +00:00
parcel.tt Bug 42279: Tidy all script tags - acqui 2026-07-29 15:49:55 +00:00
parcels.tt Bug 42330: Tidy 2026-09-04 11:23:17 +00:00
showorder.tt Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
spent.tt Bug 41760: Fix <tbody> and <tfoot> in several templates 2026-04-10 09:47:58 -06:00
transferorder.tt Bug 38365: Add CSP nonces to all inline script and style tags 2026-03-16 11:57:42 +01:00
uncertainprice.tt Bug 38365: Add CSP nonces to all inline script and style tags 2026-03-16 11:57:42 +01:00
vendor_issues.tt Bug 42279: Tidy all script tags - acqui 2026-07-29 15:49:55 +00:00
vendors.tt Bug 42279: Tidy all script tags - acqui 2026-07-29 15:49:55 +00:00
z3950_search.tt Bug 38365: Add CSP nonces to all inline script and style tags 2026-03-16 11:57:42 +01:00