Bugzilla – Attachment 175070 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.85 KB, created by
Nick Clemens (kidclamp)
on 2024-12-03 12:43:48 UTC
(
hide
)
Description:
Bug 37993: (QA follow-up) Add a hint/warning when no EANs are defined
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2024-12-03 12:43:48 UTC
Size:
1.85 KB
patch
obsolete
>From d2f8e65a192ec5c06646966c75482a5a41345545 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 > >--- > 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.39.5
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