Lines 183-194
$(document).ready(function () {
Link Here
|
183 |
</div> |
183 |
</div> |
184 |
[% END %] |
184 |
[% END %] |
185 |
|
185 |
|
186 |
[% IF ( collectionItemNeedsTransferred ) %] |
186 |
[% IF collectionItemNeedsTransferred %] |
187 |
<div id="rotating-collection" class="dialog message"> |
187 |
<div id="rotating-collection" class="dialog message"> |
188 |
<h3>Transferring item to: [% Branches.GetName( collectionBranch ) %]</h3> |
188 |
<h3>Transferring item to: [% Branches.GetName( collectionBranch ) %]</h3> |
189 |
<p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p> |
189 |
<p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p> |
190 |
<p>This item is part of a rotating collection.</p> |
190 |
<p>This item is part of a rotating collection.</p> |
191 |
<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> |
191 |
<p><button type="button" class="btn btn-default openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber %]&branchcode=[% collectionBranch %]&op=slip"><i class="fa fa-print"></i> Print slip</button></p> |
192 |
</div> |
192 |
</div> |
193 |
[% END %] |
193 |
[% END %] |
194 |
|
194 |
|
Lines 203-209
$(document).ready(function () {
Link Here
|
203 |
[% END %] |
203 |
[% END %] |
204 |
|
204 |
|
205 |
<!-- Patron has fines --> |
205 |
<!-- Patron has fines --> |
206 |
[% IF ( fines ) %] |
206 |
[% IF fines %] |
207 |
<div class="dialog alert"> |
207 |
<div class="dialog alert"> |
208 |
<h3>Patron has outstanding fines of [% fines %].</h3> |
208 |
<h3>Patron has outstanding fines of [% fines %].</h3> |
209 |
<p><a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% fineborrowernumber %]">Make payment</a>.</p> |
209 |
<p><a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% fineborrowernumber %]">Make payment</a>.</p> |
Lines 211-217
$(document).ready(function () {
Link Here
|
211 |
[% END %] |
211 |
[% END %] |
212 |
|
212 |
|
213 |
<!-- Patron has waiting holds --> |
213 |
<!-- Patron has waiting holds --> |
214 |
[% IF ( waiting_holds ) %] |
214 |
[% IF waiting_holds %] |
215 |
<div id="awaiting-pickup" class="dialog message"> |
215 |
<div id="awaiting-pickup" class="dialog message"> |
216 |
<h3>[% holdsfirstname %] [% holdssurname %] has [% waiting_holds %] hold(s) waiting for pickup.</h3> |
216 |
<h3>[% holdsfirstname %] [% holdssurname %] has [% waiting_holds %] hold(s) waiting for pickup.</h3> |
217 |
<p><a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% holdsborrowernumber %]">Check out to this patron</a>.</p> |
217 |
<p><a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% holdsborrowernumber %]">Check out to this patron</a>.</p> |
Lines 230-236
$(document).ready(function () {
Link Here
|
230 |
</div> |
230 |
</div> |
231 |
[% END %] |
231 |
[% END %] |
232 |
|
232 |
|
233 |
[% IF ( wrongbranch ) %] |
233 |
[% IF wrongbranch %] |
234 |
<div class="dialog alert"><h3>Cannot check in</h3> |
234 |
<div class="dialog alert"><h3>Cannot check in</h3> |
235 |
<p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p> |
235 |
<p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p> |
236 |
</p><strong>NOT CHECKED IN</strong></p> |
236 |
</p><strong>NOT CHECKED IN</strong></p> |
Lines 238-277
$(document).ready(function () {
Link Here
|
238 |
</div> |
238 |
</div> |
239 |
[% END %] |
239 |
[% END %] |
240 |
|
240 |
|
241 |
<!-- case of a mistake in transfer loop --> |
241 |
<!-- case of mistake in transfer loop --> |
242 |
[% IF ( WrongTransfer ) %] |
242 |
[% IF WrongTransfer %] |
243 |
<div id="return2" class="dialog message"> |
243 |
[% IF !wborcnum %] |
244 |
<!-- WrongTransfer --> |
244 |
<!-- Transfer at wrong location --> |
245 |
<h3>Transferring item to: [% Branches.GetName( TransferWaitingAt ) %]</h3> |
245 |
<div id="return2" class="dialog message"> |
246 |
<p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p> |
246 |
<h3>Transfer in progress to:<br /> |
247 |
<button type="submit" class="openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber %]&&branchcode=[% TransferWaitingAt %]&op=slip"><i class="fa fa-print"></i> Print transfer slip</button> |
247 |
[% Branches.GetName( TransferWaitingAt ) %]</h3> |
248 |
<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> |
248 |
<p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p> |
249 |
[% IF ( wborcnum ) %]<h5>Hold for:</h5> |
249 |
<button type="submit" class="btn btn-default openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber %]&&branchcode=[% TransferWaitingAt %]&op=slip"><i class="fa fa-print"></i> Print transfer slip</button> |
250 |
<ul> |
250 |
<button tpye="submit" class="btn btn-default deny" onclick="window.location.href='/cgi-bin/koha/circ/returns.pl?itemnumber=[% itemnumber %]&canceltransfer=1'"><i class="fa fa-times"></i> Cancel transfer</button> |
251 |
<li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% borsurname %], [% borfirstname %]</a> ([% borcnum %]) <span class="patron-category"> - [% wborcategory %]</span> </li> |
251 |
</div> |
252 |
[% INCLUDE display_holdpatron_address %] |
252 |
[% ELSIF wborcnum %] |
253 |
[% IF ( wborphone ) %] |
253 |
<!-- Hold at wrong location --> |
254 |
<li>[% wborphone %]</li> |
254 |
<div id="hold-found3" class="modal fade audio-alert-action"> |
255 |
[% END %] |
255 |
<div class="modal-dialog"> |
256 |
[% IF ( wboremail ) %] |
256 |
<div class="modal-content"> |
257 |
<li><a id="boremail" href="mailto:[% wboremail %]">[% wboremail %]</a></li> |
257 |
<form method="post" action="returns.pl" class="confirm"> |
258 |
[% END %] |
258 |
<div class="modal-header"> |
259 |
</ul> |
259 |
<h3>Hold in progress (not at this location): |
260 |
|
260 |
<br /> |
261 |
<form method="post" action="returns.pl" class="confirm"> |
261 |
<a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a> |
262 |
<input type="hidden" name="WT-itemNumber" value="[% WrongTransferItem %]" /> |
262 |
</h3> |
263 |
<input type="hidden" name="WT-waitingAt" value="[% TransferWaitingAt %]" /> |
263 |
</div> |
264 |
<input type="hidden" name="WT-From" value="[% wtransfertFrom %]" /> |
264 |
<div class="modal-body"> |
265 |
<button type="submit" class="approve"><i class="fa fa-check"></i> Confirm</button> |
265 |
<h4> Hold for:</h4> |
266 |
<input type="hidden" name="print_slip" value="0" /> |
266 |
<ul> |
267 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
267 |
<li> |
268 |
<input type="hidden" name="biblionumber" value="[% biblionumber %]" /> |
268 |
<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% wborrowernumber %]">[% wborsurname %], [% wborfirstname %]</a> ([% wborcnum %]) |
269 |
<button type="submit" class="print" onclick="this.form.print_slip.value = 1; this.form.submit();"><i class="fa fa-print"></i> Print slip and confirm</button> |
269 |
<span class="patron-category"> - [% wborcategory %]</span> |
270 |
<input type="hidden" name="return_date_override" value="[% return_date_override %]" /> |
270 |
</li> |
271 |
<input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember %]" /> |
271 |
</ul> |
272 |
</form> |
272 |
<h4><strong>Should have gone to</strong> [% Branches.GetName( destbranch ) %]</h4> |
273 |
[% END %] |
273 |
<input type="hidden" name="WT-itemNumber" value="[% WrongTrnasferItem %]" /> |
274 |
</div> |
274 |
<input type="hidden" name="WT-waitingAt" value="[% TransferWaitingAt %]" /> |
|
|
275 |
<input type="hidden" name="WT-From" value="[% wtransferFrom %]" /> |
276 |
<input type="hidden" name="borrowernumber" value="[% wborrowernumber %]" /> |
277 |
<input type="hidden" name="biblionumber" value="[% biblionumber %]" /> |
278 |
<input type="hidden" name="return_date_override" value="[% return_date_override %]" /> |
279 |
<input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember %]" /> |
280 |
</div> |
281 |
<div class="modal-footer"> |
282 |
<input type="hidden" name="print_slip" value="0" /> |
283 |
<button type="submit" class="btn btn-default approve"> |
284 |
<i class="fa fa-check"></i> Confirm |
285 |
</button> |
286 |
<button type="submit" class="btn btn-default approve" onclick="this.form.print_slip.value = 1; this.form.submit();"> |
287 |
<i class="fa fa-print"></i> Print and confirm |
288 |
</button> |
289 |
</div> |
290 |
</form> |
291 |
</div> |
292 |
</div> |
293 |
</div> |
294 |
[% END %] |
275 |
[% END %] |
295 |
[% END %] |
276 |
|
296 |
|
277 |
[% IF ( found ) %] |
297 |
[% IF ( found ) %] |
Lines 387-397
$(document).ready(function () {
Link Here
|
387 |
[% END %] |
407 |
[% END %] |
388 |
|
408 |
|
389 |
<form method="post" action="returns.pl" class="confirm"> |
409 |
<form method="post" action="returns.pl" class="confirm"> |
390 |
<button type="submit" class="approve"><i class="fa fa-check"></i> Confirm</button> |
410 |
<button type="submit" class="btn btn-default approve"><i class="fa fa-check"></i> Confirm</button> |
391 |
<input type="hidden" name="print_slip" value="0" /> |
411 |
<input type="hidden" name="print_slip" value="0" /> |
392 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
412 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
393 |
<input type="hidden" name="biblionumber" value="[% itembiblionumber %]" /> |
413 |
<input type="hidden" name="biblionumber" value="[% itembiblionumber %]" /> |
394 |
<button type="submit" class="print" onclick="this.form.print_slip.value = 1; this.form.submit();"><i class="fa fa-print"></i> Print slip and continue</button> |
414 |
<button type="submit" class="btn btn-default print" onclick="this.form.print_slip.value = 1; this.form.submit();"><i class="fa fa-print"></i> Print slip and continue</button> |
395 |
[% FOREACH inputloo IN inputloop %] |
415 |
[% FOREACH inputloo IN inputloop %] |
396 |
<input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" /> |
416 |
<input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" /> |
397 |
<input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" /> |
417 |
<input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" /> |
Lines 409-434
$(document).ready(function () {
Link Here
|
409 |
</div> |
429 |
</div> |
410 |
[% END %] |
430 |
[% END %] |
411 |
|
431 |
|
412 |
[% IF ( transfer ) %] |
432 |
[% IF transfer || ( WrongTransfer && !wborcnum ) %] |
413 |
<!-- transfer: item with no reservation, must be returned according to home library circulation rules --> |
433 |
<!-- transfer: item with no reservation, must be returned according to home library circulation rules --> |
414 |
<div id="return1" class="dialog message audio-alert-action"> |
434 |
<div id="return1" class="dialog message audio-alert-action"> |
415 |
<h3>Transferring item to: [% Branches.GetName( returnbranch ) %]</h3> |
435 |
<h3>Transferring item to: [% Branches.GetName( returnbranch ) %]</h3> |
416 |
<p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p> |
436 |
<p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p> |
417 |
<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> |
437 |
<button type="button" class="btn btn-default openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber %]&branchcode=[% returnbranch %]&op=slip"><i class="fa fa-print"></i> Print slip</button> |
418 |
<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> |
438 |
<button type="submit" class="btn btn-default deny" onclick="window.location.href='/cgi-bin/koha/circ/returns.pl?itemnumber=[% itemnumber %]&canceltransfer=1'"><i class="fa fa-times"></i> Cancel transfer</button> |
419 |
</div> |
439 |
</div> |
420 |
[% END %] |
440 |
[% END %] |
421 |
|
441 |
|
422 |
[% IF ( needstransfer ) %] |
442 |
[% IF needstransfer %] |
423 |
<!-- needstransfer --> |
443 |
<!-- needstransfer --> |
424 |
<div id="item-transfer" class="dialog message audio-alert-action"><h3> This item needs to be transferred to [% Branches.GetName( returnbranch ) %]</h3> |
444 |
<div id="item-transfer" class="dialog message audio-alert-action"> |
425 |
Transfer now?<br /> |
445 |
<h3>This item needs to be transferred to |
|
|
446 |
<br /> |
447 |
[% Branches.GetName( returnbranch ) %] |
448 |
<br /><br /> |
449 |
Transfer now?<br /> |
450 |
</h3> |
426 |
<form method="post" action="returns.pl" name="mainform" id="mainform"> |
451 |
<form method="post" action="returns.pl" name="mainform" id="mainform"> |
427 |
[% IF itemnumber %] |
452 |
[% IF itemnumber %] |
428 |
<button type="submit" name="dotransfer" value="Yes" class="print openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber %]&&branchcode=[% returnbranch %]&op=slip"><i class="fa fa-print"></i> Yes, print slip</button> |
453 |
<button type="submit" name="dotransfer" value="Yes" class="btn btn-default print openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber %]&&branchcode=[% returnbranch %]&op=slip"><i class="fa fa-print"></i> Yes, print slip</button> |
429 |
[% END %] |
454 |
[% END %] |
430 |
<button type="submit" name="dotransfer" value="Yes" class="submit"><i class="fa fa-check"></i> Yes</button> |
455 |
<button type="submit" name="dotransfer" value="Yes" class="btn btn-default submit"><i class="fa fa-check"></i> Yes</button> |
431 |
<button type="submit" name="notransfer" value="No" class="submit"><i class="fa fa-times"></i> No</button> |
456 |
<button type="submit" name="notransfer" value="No" class="btn btn-default submit"><i class="fa fa-times"></i> No</button> |
432 |
<input type="hidden" name="tobranch" value="[% returnbranch %]" /> |
457 |
<input type="hidden" name="tobranch" value="[% returnbranch %]" /> |
433 |
<input type="hidden" name="transferitem" value="[% itemnumber %]" /> |
458 |
<input type="hidden" name="transferitem" value="[% itemnumber %]" /> |
434 |
<input type="hidden" name="exemptfine" value="[% exemptfine %]" /> |
459 |
<input type="hidden" name="exemptfine" value="[% exemptfine %]" /> |
Lines 688-706
$(document).ready(function () {
Link Here
|
688 |
[% ELSE %] |
713 |
[% ELSE %] |
689 |
<input name="barcode" id="barcode" size="14" class="focus"/> |
714 |
<input name="barcode" id="barcode" size="14" class="focus"/> |
690 |
[% END %] |
715 |
[% END %] |
691 |
<input type="submit" class="submit" value="Submit" /> |
716 |
<button type="submit" class="btn btn-default submit" />Search</button> |
692 |
|
717 |
|
693 |
[% IF Koha.Preference('SpecifyReturnDate') %] |
718 |
[% IF Koha.Preference('SpecifyReturnDate') %] |
694 |
<div class="date-select" id="return_date_override_fields"> |
719 |
<div class="date-select" id="return_date_override_fields"> |
695 |
<div class="hint">Specify return date [% INCLUDE 'date-format.inc' %]: </div> |
720 |
<div class="hint">Specify return date [% INCLUDE 'date-format.inc' %]: </div> |
696 |
<input type="text" size="13" id="return_date_override" name="return_date_override" value="[% return_date_override %]" /> |
721 |
<input type="text" size="13" id="return_date_override" name="return_date_override" value="[% return_date_override %]" /> |
|
|
722 |
<input type="button" class="btn btn-default action" id="cleardate" value="Clear" name="cleardate" onclick="this.checked = false; this.form.return_date_override.value = ''; this.form.return_date_override_remember.checked = false; this.form.barcode.focus(); return false;" /> |
723 |
<br /> |
697 |
<label for="return_date_override_remember"> Remember for next check in:</label> |
724 |
<label for="return_date_override_remember"> Remember for next check in:</label> |
698 |
[% IF ( return_date_override_remember ) %] |
725 |
[% IF ( return_date_override_remember ) %] |
699 |
<input type="checkbox" id="return_date_override_remember" onclick="this.form.barcode.focus();" name="return_date_override_remember" checked="checked" /> |
726 |
<input type="checkbox" id="return_date_override_remember" onclick="this.form.barcode.focus();" name="return_date_override_remember" checked="checked" /> |
700 |
[% ELSE %] |
727 |
[% ELSE %] |
701 |
<input type="checkbox" id="return_date_override_remember" onclick="this.form.barcode.focus();" name="return_date_override_remember" /> |
728 |
<input type="checkbox" id="return_date_override_remember" onclick="this.form.barcode.focus();" name="return_date_override_remember" /> |
702 |
[% END %] |
729 |
[% END %] |
703 |
<input type="button" class="action" id="cleardate" value="Clear" name="cleardate" onclick="this.checked = false; this.form.return_date_override.value = ''; this.form.return_date_override_remember.checked = false; this.form.barcode.focus(); return false;" /> |
|
|
704 |
</div> |
730 |
</div> |
705 |
[% END %] |
731 |
[% END %] |
706 |
[% FOREACH inputloo IN inputloop %] |
732 |
[% FOREACH inputloo IN inputloop %] |
707 |
- |
|
|