Lines 113-118
$(document).ready(function () {
Link Here
|
113 |
$("#barcode").removeClass("alert"); |
113 |
$("#barcode").removeClass("alert"); |
114 |
}); |
114 |
}); |
115 |
[% END %] |
115 |
[% END %] |
|
|
116 |
$('.openWin').on("click",function(e){ |
117 |
e.preventDefault(); |
118 |
Dopop( $(this).data("url") ); |
119 |
}); |
116 |
}); |
120 |
}); |
117 |
//]]> |
121 |
//]]> |
118 |
</script> |
122 |
</script> |
Lines 149-155
$(document).ready(function () {
Link Here
|
149 |
<h3>Please transfer item to: [% collectionBranchName %]</h3> |
153 |
<h3>Please transfer item to: [% collectionBranchName %]</h3> |
150 |
<p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p> |
154 |
<p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p> |
151 |
<p>This item is part of a rotating collection.</p> |
155 |
<p>This item is part of a rotating collection.</p> |
152 |
<p><a href="#" onclick="Dopop('transfer-slip.pl?transferitem=[% itemnumber %]&branchcode=[% collectionBranch %]&op=slip'); return true;">Print slip</a></p> |
156 |
<p><button type="button" class="openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber %]&branchcode=[% collectionBranch %]&op=slip"><i class="fa fa-print"></i> Print slip</button></p> |
153 |
</div> |
157 |
</div> |
154 |
[% END %] |
158 |
[% END %] |
155 |
|
159 |
|
Lines 194-200
$(document).ready(function () {
Link Here
|
194 |
<!-- WrongTransfer --> |
198 |
<!-- WrongTransfer --> |
195 |
<h3>Please return item to: [% Branches.GetName( TransferWaitingAt ) %]</h3> |
199 |
<h3>Please return item to: [% Branches.GetName( TransferWaitingAt ) %]</h3> |
196 |
<p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p> |
200 |
<p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p> |
197 |
<button type="submit" onclick="Dopop('transfer-slip.pl?transferitem=[% itemnumber %]&&branchcode=[% homebranch %]&op=slip'); return true;"><i class="fa fa-print"></i> Print transfer slip</button><button type="submit" onclick="window.location.href='/cgi-bin/koha/circ/returns.pl?itemnumber=[% itemnumber %]&canceltransfer=1'"><i class="fa fa-times"></i> Cancel transfer</button> |
201 |
<button type="submit" class="openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber %]&&branchcode=[% homebranch %]&op=slip"><i class="fa fa-print"></i> Print transfer slip</button> |
|
|
202 |
<button class="deny" type="submit" onclick="window.location.href='/cgi-bin/koha/circ/returns.pl?itemnumber=[% itemnumber %]&canceltransfer=1'"><i class="fa fa-times"></i> Cancel transfer</button> |
198 |
[% IF ( wborcnum ) %]<h5>Hold for:</h5> |
203 |
[% IF ( wborcnum ) %]<h5>Hold for:</h5> |
199 |
<ul><li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]"> |
204 |
<ul><li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]"> |
200 |
[% borsurname %], [% borfirstname %]</a> ([% borcnum %])</li> |
205 |
[% borsurname %], [% borfirstname %]</a> ([% borcnum %])</li> |
Lines 323-329
$(document).ready(function () {
Link Here
|
323 |
<div id="return1" class="dialog message audio-alert-action"> |
328 |
<div id="return1" class="dialog message audio-alert-action"> |
324 |
<h3>Please return item to: [% Branches.GetName( returnbranch ) %]</h3> |
329 |
<h3>Please return item to: [% Branches.GetName( returnbranch ) %]</h3> |
325 |
<p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p> |
330 |
<p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p> |
326 |
<ul><li><a href="#" onclick="Dopop('transfer-slip.pl?transferitem=[% itemnumber %]&branchcode=[% returnbranch %]&op=slip'); return true;">Print slip</a></li></ul> |
331 |
<p><button class="btn btn-small" type="button" class="openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber %]&branchcode=[% returnbranch %]&op=slip"><i class="fa fa-print"></i> Print slip</button></p> |
327 |
</div> |
332 |
</div> |
328 |
[% END %] |
333 |
[% END %] |
329 |
|
334 |
|
Lines 333-339
$(document).ready(function () {
Link Here
|
333 |
Transfer now?<br /> |
338 |
Transfer now?<br /> |
334 |
<form method="post" action="returns.pl" name="mainform" id="mainform"> |
339 |
<form method="post" action="returns.pl" name="mainform" id="mainform"> |
335 |
[% IF itemnumber %] |
340 |
[% IF itemnumber %] |
336 |
<button type="submit" name="dotransfer" class="print" onclick="Dopop('transfer-slip.pl?transferitem=[% itemnumber %]&&branchcode=[% returnbranch %]&op=slip'); return true;"><i class="fa fa-print"></i> Yes, print slip</button> |
341 |
<button type="submit" name="dotransfer" class="print openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber %]&&branchcode=[% returnbranch %]&op=slip"><i class="fa fa-print"></i> Yes, print slip</button> |
337 |
[% END %] |
342 |
[% END %] |
338 |
<button type="submit" name="dotransfer" class="submit"><i class="fa fa-check"></i> Yes</button> |
343 |
<button type="submit" name="dotransfer" class="submit"><i class="fa fa-check"></i> Yes</button> |
339 |
<button type="submit" name="notransfer" class="submit"><i class="fa fa-times"></i> No</button> |
344 |
<button type="submit" name="notransfer" class="submit"><i class="fa fa-times"></i> No</button> |
340 |
- |
|
|