Bugzilla – Attachment 128849 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.78 KB, created by
Lucas Gass (lukeg)
on 2021-12-21 21:37:00 UTC
(
hide
)
Description:
Bug 29338: (follow-up) only show print button when hold is waiting or intransit
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2021-12-21 21:37:00 UTC
Size:
1.78 KB
patch
obsolete
>From 5e7def0191eef3551bd84c5c770fa36b751a02a5 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 > >--- > 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 c4c97e79a9..59f492ca99 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.20.1
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