Bugzilla – Attachment 121033 Details for
Bug 24434
C4::Circulation::updateWrongTransfer is never called but should be
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24434: Submit on print slip
Bug-24434-Submit-on-print-slip.patch (text/plain), 2.51 KB, created by
Martin Renvoize (ashimema)
on 2021-05-17 09:44:49 UTC
(
hide
)
Description:
Bug 24434: Submit on print slip
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2021-05-17 09:44:49 UTC
Size:
2.51 KB
patch
obsolete
>From 3a430639c4a807bd44501f29445a27f08f62915b Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Mon, 17 May 2021 10:42:04 +0100 >Subject: [PATCH] Bug 24434: Submit on print slip > >This patch ensures that the print slip option on the WrongTransfer modal >also submits the form and thus triggers the actual transfer of the item. >--- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >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 668e67db58..19a3a6cf6e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >@@ -459,7 +459,7 @@ > <!-- CONFIRM --> > <button class="btn btn-default approve" type="submit"><i class="fa fa-check"></i> OK</button> > <!-- PRINT SLIP --> >- <button type="button" data-dismiss="modal" class="btn btn-default transit openWin" data-transfer="[% NewTransfer | html %]" data-url="transfer-slip.pl?transferitem=[% itemnumber | uri %]&&branchcode=[% TransferWaitingAt | uri %]&op=slip"><i class="fa fa-print"></i> Print transfer slip</button> >+ <button type="button" data-dismiss="modal" class="btn btn-default submit openWin" data-transfer="[% NewTransfer | html %]" data-url="transfer-slip.pl?transferitem=[% itemnumber | uri %]&&branchcode=[% TransferWaitingAt | uri %]&op=slip"><i class="fa fa-print"></i> Print transfer slip</button> > <!-- CANCEL TRANSFER --> > <button type="button" data-dismiss="modal" class="btn btn-default deny cancel"><i class="fa fa-times"></i> Cancel transfer</button> > </div> <!-- /.modal-footer --> >@@ -1127,6 +1127,10 @@ > $('.openWin').on("click",function(e){ > Dopop( $(this).data("url") ); > }); >+ >+ $('.submit').on("click",function(e){ >+ this.form.submit(); >+ }); > > $('.cancel').on("click",function(e){ > var docancel = $("<input>").attr("type", "hidden").attr("name", "canceltransfer").val(1); >-- >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 24434
:
97449
|
97550
|
99829
|
120625
|
120631
|
120632
|
120657
|
120658
|
120683
|
120684
|
120757
|
120758
|
121029
|
121030
|
121031
|
121032
|
121033
|
121034
|
121057
|
121058
|
121059
|
121060
|
121061
|
121071
|
121072
|
121073
|
121074
|
121075
|
121515
|
121702
|
121703
|
121704
|
121705
|
121706
|
121707
|
121798
|
121799
|
121800
|
121801
|
121802
|
121803
|
121804