Bugzilla – Attachment 90686 Details for
Bug 23140
Typo in returns.tt prevents printing branchcode in transfer slips
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23140: Fix typo in branchcode parameters for print slip
Bug-23140-Fix-typo-in-branchcode-parameters-for-pr.patch (text/plain), 3.03 KB, created by
Nick Clemens (kidclamp)
on 2019-06-17 18:02:09 UTC
(
hide
)
Description:
Bug 23140: Fix typo in branchcode parameters for print slip
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2019-06-17 18:02:09 UTC
Size:
3.03 KB
patch
obsolete
>From 7affe8b33c623d3b19d2ca1f69da5887611f49d6 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Mon, 17 Jun 2019 17:58:56 +0000 >Subject: [PATCH] Bug 23140: Fix typo in branchcode parameters for print slip > >To test: >1 - Have [% branch.branchcode %] in your TRANSFERSLIP >2 - Checkin an item from another branch (with AutomaticItemReturn = do ) >3 - Inspect the button in the browser to see the typo >4 - Click 'Print slip' >5 - Note the branchcode is not populated >6 - Clear the transfer >7 - Apply patch >8 - Repeat >9 - Note typo is fixed and slip correctly populated >--- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >index 6277ed8123..848f0c9481 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >@@ -397,10 +397,10 @@ > <div class="modal-footer"> > [% IF !transfer %] > <button type="submit" name="dotransfer" value="Yes" class="btn btn-default approve"><i class="fa fa-check"></i> Yes</button> >- <button type="submit" name="dotransfer" value="Yes" class="btn btn-default print openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber | html %]&&branchcode[% returnbranch | html %]&op=slip"><i class="fa fa-print"></i> Yes, print slip</button><button type="submit" class="btn btn-default deny" name="notransfer" value="No"><i class="fa fa-times"></i> No</button> >+ <button type="submit" name="dotransfer" value="Yes" class="btn btn-default print openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber | html %]&&branchcode=[% returnbranch | html %]&op=slip"><i class="fa fa-print"></i> Yes, print slip</button><button type="submit" class="btn btn-default deny" name="notransfer" value="No"><i class="fa fa-times"></i> No</button> > [% ELSE %] > <button type="submit" class="btn btn-default approve"><i class="fa fa-check"></i> OK</button> >- <button type="submit" name="dotransfer" value="Yes" class="btn btn-default print openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber | html %]&&branchcode[% returnbranch | html %]&op=slip"><i class="fa fa-print"></i> Print slip</button> >+ <button type="submit" name="dotransfer" value="Yes" class="btn btn-default print openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber | html %]&&branchcode=[% returnbranch | html %]&op=slip"><i class="fa fa-print"></i> Print slip</button> > [% END %] > <input type="hidden" name="return_date_override" value="[% return_date_override | html %]" /> > <input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember | html %]" /> >-- >2.11.0
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 23140
:
90686
|
90710
|
90876