Bug 41568: Tidy kohaTable - circ/branchtransfers.tt - fix conflict with 41134
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
897c8c7944
commit
024d9a18ba
|
|
@ -303,16 +303,19 @@
|
|||
[% INCLUDE 'select2.inc' %]
|
||||
<script>
|
||||
var table_settings = [% TablesSettings.GetTableSettings( 'circ', 'transfers', 'transferstable', 'json' ) | $raw %]
|
||||
$(document).ready( function() {
|
||||
$(".printtransferslip").on("click", function(e){
|
||||
var found = [% found ? 1 : 0 | html %];
|
||||
</script>
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
$(".printtransferslip").on("click", function (e) {
|
||||
e.preventDefault();
|
||||
var itemnumber = $(this).attr('data-itemnumber');
|
||||
var to_branch = $(this).attr('data-tobranch');
|
||||
var itemnumber = $(this).attr("data-itemnumber");
|
||||
var to_branch = $(this).attr("data-tobranch");
|
||||
window.open("/cgi-bin/koha/circ/transfer-slip.pl?transferitem=" + itemnumber + "&branchcode=" + to_branch);
|
||||
});
|
||||
[% IF ( found ) %]
|
||||
$("#transfer_confirm").modal('show');
|
||||
[% END %]
|
||||
if (found) {
|
||||
$("#transfer_confirm").modal("show");
|
||||
}
|
||||
var transfers_table = $("#transferstable").kohaTable(
|
||||
{
|
||||
searching: false,
|
||||
|
|
|
|||
Loading…
Reference in New Issue