Bugzilla – Attachment 130242 Details for
Bug 29338
Reprinting holds slip with updated expiration date
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29338: (follow-up) only show print button when hold is waiting or intransit
Bug-29338-follow-up-only-show-print-button-when-ho.patch (text/plain), 1.85 KB, created by
Biblibre Sandboxes
on 2022-02-07 16:50:11 UTC
(
hide
)
Description:
Bug 29338: (follow-up) only show print button when hold is waiting or intransit
Filename:
MIME Type:
Creator:
Biblibre Sandboxes
Created:
2022-02-07 16:50:11 UTC
Size:
1.85 KB
patch
obsolete
>From 52d471a87d67e9152616bd72e866bd0f802c157d Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Tue, 21 Dec 2021 21:36:28 +0000 >Subject: [PATCH] Bug 29338: (follow-up) only show print button when hold is > waiting or intransit > >Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc >index 2ad46b0819..fddaad03e3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc >@@ -222,7 +222,11 @@ > <input type="button" id="revert_hold_[% hold.reserve_id | html %]" value="[% IF hold.intransit %]Revert transit status[% ELSE %]Revert waiting status[% END %]" onclick="window.location.href='request.pl?action=move&where=down&first_priority=[% first_priority | uri %]&last_priority=[% last_priority | uri %]&prev_priority=0&next_priority=1&borrowernumber=[% hold.borrowernumber | uri %]&biblionumber=[% hold.biblionumber | uri %]&itemnumber=[% hold.itemnumber | uri %]&reserve_id=[% hold.reserve_id | uri %]&date=[% hold.date | uri %]'"> > [%- END -%] > </td> >- <td><input class="printholdslip" type="button" name="printholdslip" value="Print slip" data-reserve_id=[% hold.reserve_id | html %]></td> >+ [% IF ( hold.intransit || hold.atdestination ) %] >+ <td><input class="printholdslip" type="button" name="printholdslip" value="Print slip" data-reserve_id=[% hold.reserve_id | html %]></td> >+ [% ELSE %] >+ <td></td> >+ [% END %] > </tr> > [% END %] > </table> >-- >2.30.2
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 29338
:
127024
|
128849
|
130241
|
130242
|
130964
|
130965