Lines 128-133
$(document).ready(function () {
Link Here
|
128 |
$("#barcode").removeClass("alert"); |
128 |
$("#barcode").removeClass("alert"); |
129 |
}); |
129 |
}); |
130 |
[% END %] |
130 |
[% END %] |
|
|
131 |
$('.openWin').on("click",function(e){ |
132 |
e.preventDefault(); |
133 |
Dopop( $(this).data("url") ); |
134 |
}); |
131 |
}); |
135 |
}); |
132 |
//]]> |
136 |
//]]> |
133 |
</script> |
137 |
</script> |
Lines 164-170
$(document).ready(function () {
Link Here
|
164 |
<h3>Please transfer item to: [% collectionBranchName %]</h3> |
168 |
<h3>Please transfer item to: [% collectionBranchName %]</h3> |
165 |
<p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p> |
169 |
<p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p> |
166 |
<p>This item is part of a rotating collection.</p> |
170 |
<p>This item is part of a rotating collection.</p> |
167 |
<p><a href="#" onclick="Dopop('transfer-slip.pl?transferitem=[% itemnumber %]&branchcode=[% collectionBranch %]&op=slip'); return true;">Print slip</a></p> |
171 |
<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> |
168 |
</div> |
172 |
</div> |
169 |
[% END %] |
173 |
[% END %] |
170 |
|
174 |
|
Lines 209-215
$(document).ready(function () {
Link Here
|
209 |
<!-- WrongTransfer --> |
213 |
<!-- WrongTransfer --> |
210 |
<h3>Please return item to: [% Branches.GetName( TransferWaitingAt ) %]</h3> |
214 |
<h3>Please return item to: [% Branches.GetName( TransferWaitingAt ) %]</h3> |
211 |
<p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p> |
215 |
<p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p> |
212 |
<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> |
216 |
<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> |
|
|
217 |
<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> |
213 |
[% IF ( wborcnum ) %]<h5>Hold for:</h5> |
218 |
[% IF ( wborcnum ) %]<h5>Hold for:</h5> |
214 |
<ul><li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]"> |
219 |
<ul><li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]"> |
215 |
[% borsurname %], [% borfirstname %]</a> ([% borcnum %])</li> |
220 |
[% borsurname %], [% borfirstname %]</a> ([% borcnum %])</li> |
Lines 339-345
$(document).ready(function () {
Link Here
|
339 |
<div id="return1" class="dialog message audio-alert-action"> |
344 |
<div id="return1" class="dialog message audio-alert-action"> |
340 |
<h3>Please return item to: [% Branches.GetName( returnbranch ) %]</h3> |
345 |
<h3>Please return item to: [% Branches.GetName( returnbranch ) %]</h3> |
341 |
<p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p> |
346 |
<p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p> |
342 |
<ul><li><a href="#" onclick="Dopop('transfer-slip.pl?transferitem=[% itemnumber %]&branchcode=[% returnbranch %]&op=slip'); return true;">Print slip</a></li></ul> |
347 |
<p><button 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> |
343 |
</div> |
348 |
</div> |
344 |
[% END %] |
349 |
[% END %] |
345 |
|
350 |
|
Lines 349-355
$(document).ready(function () {
Link Here
|
349 |
Transfer now?<br /> |
354 |
Transfer now?<br /> |
350 |
<form method="post" action="returns.pl" name="mainform" id="mainform"> |
355 |
<form method="post" action="returns.pl" name="mainform" id="mainform"> |
351 |
[% IF itemnumber %] |
356 |
[% IF itemnumber %] |
352 |
<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> |
357 |
<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> |
353 |
[% END %] |
358 |
[% END %] |
354 |
<button type="submit" name="dotransfer" class="submit"><i class="fa fa-check"></i> Yes</button> |
359 |
<button type="submit" name="dotransfer" class="submit"><i class="fa fa-check"></i> Yes</button> |
355 |
<button type="submit" name="notransfer" class="submit"><i class="fa fa-times"></i> No</button> |
360 |
<button type="submit" name="notransfer" class="submit"><i class="fa fa-times"></i> No</button> |
356 |
- |
|
|