From 2c348b7ef39ff008648b3515f4e3e954e071b7c1 Mon Sep 17 00:00:00 2001 From: Luke Honiss Date: Tue, 17 Jan 2017 22:15:28 +0000 Subject: [PATCH] Bug 17771: Add link to bibliographic record on spent/ordered lists in acquisitions ==TEST PLAN== 1) Open Acquisitions and click on the ordered link under the fund 2) There will be no link on the title 3) Go back and click on thespent link 4) There will be no link on the title 5) Apply patch 6) Go to Acquisitions and click on ordered 7) There will now be a link that takes the user to the book catelog page 8) Go back and click on sent 9) There will be a link that takes the user to the book catelog --- acqui/ordered.pl | 2 +- acqui/spent.pl | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/ordered.tt | 2 ++ koha-tmpl/intranet-tmpl/prog/en/modules/acqui/spent.tt | 4 +++- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/acqui/ordered.pl b/acqui/ordered.pl index 48ac5e7..5c2cc6d 100755 --- a/acqui/ordered.pl +++ b/acqui/ordered.pl @@ -52,7 +52,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( my $query = < + [% order.title %] + [% IF ( CAN_user_acquisition_order_manage ) %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/spent.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/spent.tt index bb9485e..752989e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/spent.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/spent.tt @@ -54,7 +54,9 @@ [% FOREACH order IN spent %] - [% order.title %] + + [% order.title %] + [% order.ordernumber %] -- 2.1.4