Bugzilla – Attachment 81129 Details for
Bug 21659
Link to basket groups from order receive page are broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21659: Acquisitions Receipt summary Basket group links missing params
Bug-21659-Acquisitions-Receipt-summary-Basket-grou.patch (text/plain), 2.92 KB, created by
Dobrica Pavlinusic
on 2018-10-25 10:52:18 UTC
(
hide
)
Description:
Bug 21659: Acquisitions Receipt summary Basket group links missing params
Filename:
MIME Type:
Creator:
Dobrica Pavlinusic
Created:
2018-10-25 10:52:18 UTC
Size:
2.92 KB
patch
obsolete
>From 8001f6b4f2c7f9337ca7b305db3b8acf61bc4372 Mon Sep 17 00:00:00 2001 >From: Dobrica Pavlinusic <dpavlin@rot13.org> >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 @@ > <td class="basketfilterclass">[% loop_order.basketname | html %] (<a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% loop_order.basketno | html %]">[% loop_order.basketno | html %]</a>)</td> > <td> > [% IF loop_order.basketgroupid %] >- [% loop_order.basketgroupname | html %] (<a href="/cgi-bin/koha/acqui/basketgroup.pl?booksellerid=[% loop_order.booksellerid | html %]">[% loop_order.basketgroupid | html %]</a>) >+ [% loop_order.basketgroupname | html %] (<a href="/cgi-bin/koha/acqui/basketgroup.pl?op=add&booksellerid=[% loop_order.booksellerid | html %]&basketgroupid=[% loop_order.basketgroupid | html %]">[% loop_order.basketgroupid | html %]</a>) > [% ELSE %] > No basket group > [% END %] >@@ -280,7 +280,7 @@ > <td>[% order.basketname | html %] (<a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% order.basketno | html %]">[% order.basketno | html %]</a>)</td> > <td> > [% IF order.basketgroupid %] >- [% order.basketgroupname | html %] (<a href="/cgi-bin/koha/acqui/basketgroup.pl?booksellerid=[% order.booksellerid | html %]">[% order.basketgroupid | html %]</a>) >+ [% order.basketgroupname | html %] (<a href="/cgi-bin/koha/acqui/basketgroup.pl?op=add&booksellerid=[% order.booksellerid | html %]&basketgroupid=[% loop_order.basketgroupid | html %]">[% order.basketgroupid | html %]</a>) > [% ELSE %] > No basket group > [% END %] >-- >2.1.4
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 21659
:
81129
|
86556
|
86688
|
87399
|
87455
|
87456
|
87508
|
87509