Bugzilla – Attachment 175076 Details for
Bug 37993
Having a single EDI EAN account produces a bad redirect
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37993: (QA follow-up) Add a hint/warning when no EANs are defined
Bug-37993-QA-follow-up-Add-a-hintwarning-when-no-E.patch (text/plain), 1.92 KB, created by
Martin Renvoize (ashimema)
on 2024-12-03 13:02:33 UTC
(
hide
)
Description:
Bug 37993: (QA follow-up) Add a hint/warning when no EANs are defined
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-12-03 13:02:33 UTC
Size:
1.92 KB
patch
obsolete
>From 0f37ed78e4e6bf85329e5dc49b7d3ea20ba60bd0 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Tue, 3 Dec 2024 12:43:35 +0000 >Subject: [PATCH] Bug 37993: (QA follow-up) Add a hint/warning when no EANs are > defined > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt >index 67075bb91d0..37640b9c329 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt >@@ -111,7 +111,9 @@ > > [% IF Koha.Preference('EDIFACT') && ediaccount %] > <div class="btn-group"> >- [% IF eans.size == 1 %] >+ [% UNLESS eans.size %] >+ <a title="You must define an EAN in Administration -> Library EANs" class="btn btn-default btn-xs" diasbled="disabled" href="#"><i class="fa fa-download"></i> Create EDIFACT order</a> >+ [% ELSIF eans.size == 1 %] > <a class="btn btn-default btn-xs submit-form-link" href="#" data-ean="[% eans.0 | html %]" data-basketno="[% basketno | html %]" data-action="basket.pl" data-method="post" data-op="cud-ediorder"><i class="fa fa-download"></i> Create EDIFACT order</a> > [% ELSE %] > <button class="btn btn-default dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false" id="ediorderbutton"><i class="fa fa-download"></i> Create EDIFACT order</button> >-- >2.47.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 37993
:
175024
|
175025
|
175026
|
175027
|
175042
|
175043
|
175044
|
175069
|
175070
|
175072
|
175073
|
175074
|
175075
| 175076 |
175081
|
175132