From 8001f6b4f2c7f9337ca7b305db3b8acf61bc4372 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Thu, 25 Oct 2018 12:33:13 +0200 Subject: [PATCH] Bug 21659: Acquisitions Receipt summary Basket group links missing params Acquisitions Receipt summary report is missing parameters required for it to work. To test open Acquisitions Receipt summary report and verify that basket group links are now working. --- acqui/parcel.pl | 1 + koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/acqui/parcel.pl b/acqui/parcel.pl index ec7332d..d4d4bac 100755 --- a/acqui/parcel.pl +++ b/acqui/parcel.pl @@ -124,6 +124,7 @@ my $total_tax_included = 0; my $subtotal_for_funds; for my $order ( @orders ) { $order->{'unitprice'} += 0; + $order->{'booksellerid'} = $booksellerid; # required for basket group links if ( $bookseller->invoiceincgst ) { $order->{ecost} = $order->{ecost_tax_included}; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt index 7b3e958..1f17d0e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt @@ -133,7 +133,7 @@ [% loop_order.basketname | html %] ([% loop_order.basketno | html %]) [% IF loop_order.basketgroupid %] - [% loop_order.basketgroupname | html %] ([% loop_order.basketgroupid | html %]) + [% loop_order.basketgroupname | html %] ([% loop_order.basketgroupid | html %]) [% ELSE %] No basket group [% END %] @@ -280,7 +280,7 @@ [% order.basketname | html %] ([% order.basketno | html %]) [% IF order.basketgroupid %] - [% order.basketgroupname | html %] ([% order.basketgroupid | html %]) + [% order.basketgroupname | html %] ([% order.basketgroupid | html %]) [% ELSE %] No basket group [% END %] -- 2.1.4