From ded47a7793dc2bf8568a01ce2d7b8467d6f3b5b8 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 13 May 2011 10:58:18 -0400 Subject: [PATCH] Fix for Bug 6337 - Variable scope errors in staff client cart print view Also removing "Return to cart" link from the print view, redundant now that the print view prints and redirects automatically. Signed-off-by: Chris Cormack Signed-off-by: Ian Walls Signed-off-by: Chris Cormack --- .../intranet-tmpl/prog/en/modules/basket/basket.tt | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt index 84504b4308..38b25e2e5d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt @@ -132,7 +132,7 @@ function placeHold () {
[% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %]

- [% IF ( BIBLIO_RESULT.print_basket ) %] + [% IF ( print_basket ) %] [% BIBLIO_RESULT.title |html %] [% IF ( BIBLIO_RESULT.subtitle ) %] [% BIBLIO_RESULT.subtitle %][% END %] [% IF ( BIBLIO_RESULT.author ) %] [% BIBLIO_RESULT.author %][% END %] @@ -301,7 +301,7 @@ function placeHold () {

- + [% UNLESS ( print_basket ) %][% END %] @@ -313,7 +313,7 @@ function placeHold () { [% ELSE %] [% END %] - [% UNLESS ( BIBLIO_RESULT.print_basket ) %] [% END %] @@ -347,13 +347,9 @@ function placeHold () {
  Title Item Type Location
+ [% UNLESS ( print_basket ) %]
[% END %] -[% IF ( print_basket ) %] -<< Back to Cart -[% ELSE %]
-[% END %] -- 2.39.5