@@ -, +, @@
---
acqui/basketgroup.pl | 1 -
.../prog/en/modules/acqui/basketgroups.tt | 49 ++++++++++---------
2 files changed, 25 insertions(+), 25 deletions(-)
--- a/acqui/basketgroup.pl
+++ a/acqui/basketgroup.pl
@@ -355,7 +355,6 @@ if ($op eq 'mod_basket') {
# template will know if basketgroup must be displayed or edited, depending on
# the value of closed key
-my $bookseller = Koha::Acquisition::Booksellers->find($booksellerid);
my $basketgroupid = $input->param('basketgroupid');
my $billingplace;
my $deliveryplace;
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroups.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroups.tt
@@ -1,6 +1,7 @@
[% USE Asset %]
[% USE Branches %]
[% USE KohaDates %]
+[% USE raw %]
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
@@ -10,7 +11,7 @@
Koha › Basket groups
[% END %]
[% INCLUDE 'doc-head-close.inc' %]
-[% Asset.css('css/datatables.css') %]
+[% Asset.css('css/datatables.css') | $raw %]
[% INCLUDE 'header.inc' %]
@@ -22,7 +23,7 @@
Acquisitions
›
[% IF (bookseller) %]
- [% bookseller.name |html %]
+ [% bookseller.name | html %]
›
[% END %]
Basket groups
@@ -35,11 +36,11 @@
[% IF bookseller %]
-
+
[% END %]
[% IF basketgroups.size > 0 %]
@@ -62,39 +63,39 @@
[% IF ( basketgroup.name ) %]
- [% basketgroup.name %]
+ [% basketgroup.name | html %]
[% ELSE %]
- Basket group no. [% basketgroup.id %]
+ Basket group no. [% basketgroup.id | $raw %]
[% END %]
|
- [% basketgroup.vendor.name %] |
- [% Branches.GetName(basketgroup.billingplace) %] |
+ [% basketgroup.vendor.name | html %] |
+ [% Branches.GetName(basketgroup.billingplace) | html %] |
[% IF (basketgroup.freedeliveryplace) %]
- [% basketgroup.freedeliveryplace %]
+ [% basketgroup.freedeliveryplace | html %]
[% ELSE %]
- [% Branches.GetName(basketgroup.deliveryplace) %]
+ [% Branches.GetName(basketgroup.deliveryplace) | html %]
[% END %]
|
- [% basketgroup.baskets_count %] |
- [% basketgroup.ordered_titles_count %] |
- [% basketgroup.received_titles_count %] |
+ [% basketgroup.baskets_count | $raw %] |
+ [% basketgroup.ordered_titles_count | $raw %] |
+ [% basketgroup.received_titles_count | $raw %] |
[% basketgroup.closeddate | $KohaDates %] |
|