diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt index 0ffa23de76..6ca16cb5e2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt @@ -254,7 +254,7 @@ >

Basket grouping for [% booksellername | html %]

- [% IF (NoEDIMessage && Koha.Preference('EDIFACT')) %]
No EDIFACT configuration for [% booksellername | html %]
[% END %] + [% IF (NoEDIMessage && Koha.Preference('EDIFACT')) %]
No EDIFACT configuration for [% booksellername | html %]
[% END %] [% WRAPPER tabs id= "basket_groups" %] [% WRAPPER tabs_nav %] @@ -289,20 +289,22 @@ [% Branches.GetName( basketgroup.billingplace ) | html %] [% IF (basketgroup.freedeliveryplace) %]Free delivery place[% ELSE %][% Branches.GetName( basketgroup.deliveryplace ) | html %][% END %] [% basketgroup.basketsqty | html %] - - + +
- +
[% UNLESS basketgroup.basketsqty %]
- + [% INCLUDE 'csrf-token.inc' %]
[% END %] @@ -331,55 +333,58 @@ [% IF ( basketgroup.closed ) %] - [% IF ( basketgroup.name ) %] - [% basketgroup.name | html %] - [% ELSE %] - Basket group no. [% basketgroup.id | html %] - [% END %] + + [% IF ( basketgroup.name ) %] + [% basketgroup.name | html %] + [% ELSE %] + Basket group no. [% basketgroup.id | html %] + [% END %] + [% basketgroup.id | html %] [% Branches.GetName( basketgroup.billingplace ) | html %] [% IF (basketgroup.freedeliveryplace) %]Free delivery place[% ELSE %][% Branches.GetName( basketgroup.deliveryplace ) | html %][% END %] [% basketgroup.basketsqty | html %] - -
-
+ + + + + + [% INCLUDE 'csrf-token.inc' %]
-
-
+
+ + +
[% IF Koha.Preference('EDIFACT') %] [% IF (ediaccount) %] -
+ + + + + [% INCLUDE 'csrf-token.inc' %]
[% ELSE %] -
No EDIFACT configuration for [% booksellername | html %]
+ [% END %] [% END %] @@ -482,7 +487,7 @@ } }); - $("#close_and_print").on("click", function (e) { + $(".close_and_print").on("click", function (e) { e.preventDefault(); const basketgroupid = $(this).data("basketgroupid"); closeandprint(basketgroupid); @@ -493,7 +498,7 @@ submitForm(this); }); - $("#delete_basketgroup").on("click", function (e) { + $(".delete_basketgroup").on("click", function (e) { return confirm(_("Are you sure you want to delete this basket group?")); }); });