|
Lines 511-519
Link Here
|
| 511 |
</thead> |
511 |
</thead> |
| 512 |
<tbody> |
512 |
<tbody> |
| 513 |
[% FOREACH RESERVE IN RESERVES %] |
513 |
[% FOREACH RESERVE IN RESERVES %] |
| 514 |
[% IF ( RESERVE.wait ) %] |
514 |
[% IF ( RESERVE.is_waiting ) %] |
| 515 |
[% IF ( RESERVE.atdestination ) %] |
515 |
[% IF ( RESERVE.is_at_destination ) %] |
| 516 |
[% IF ( RESERVE.found ) %] |
516 |
[% IF ( RESERVE.is_found ) %] |
| 517 |
<tr class="reserved"> |
517 |
<tr class="reserved"> |
| 518 |
[% ELSE %] |
518 |
[% ELSE %] |
| 519 |
<tr> |
519 |
<tr> |
|
Lines 525-532
Link Here
|
| 525 |
<tr> |
525 |
<tr> |
| 526 |
[% END %] |
526 |
[% END %] |
| 527 |
<td class="title"> |
527 |
<td class="title"> |
| 528 |
<a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% RESERVE.biblionumber %]">[% RESERVE.reserves_title %] [% FOREACH subtitl IN RESERVE.subtitle %] [% subtitl.subfield %][% END %]</a> |
528 |
<a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% RESERVE.biblionumber %]">[% RESERVE.biblio.title %] [% FOREACH subtitl IN RESERVE.biblio.subtitle %] [% subtitl.subfield %][% END %]</a> |
| 529 |
[% RESERVE.author %] |
529 |
[% RESERVE.biblio.author %] |
| 530 |
</td> |
530 |
</td> |
| 531 |
<td class="reservedate"> |
531 |
<td class="reservedate"> |
| 532 |
<span title="[% RESERVE.reservedate %]"> |
532 |
<span title="[% RESERVE.reservedate %]"> |
|
Lines 535-553
Link Here
|
| 535 |
</span> |
535 |
</span> |
| 536 |
</td> |
536 |
</td> |
| 537 |
<td class="expirationdate"> |
537 |
<td class="expirationdate"> |
| 538 |
[% IF ( RESERVE.expirationdate ) %] |
538 |
[% IF ! RESERVE.found %] |
| 539 |
<span> |
539 |
[% IF ( RESERVE.expirationdate ) %] |
|
|
540 |
<span> |
| 541 |
<span class="tdlabel">Expiration:</span> |
| 542 |
[% RESERVE.expirationdate | $KohaDates %] |
| 543 |
</span> |
| 544 |
[% ELSE %] |
| 540 |
<span class="tdlabel">Expiration:</span> |
545 |
<span class="tdlabel">Expiration:</span> |
| 541 |
[% RESERVE.expirationdate | $KohaDates %] |
546 |
Never expires |
| 542 |
</span> |
547 |
[% END %] |
| 543 |
[% ELSE %] |
548 |
[% ELSE %] |
| 544 |
<span class="tdlabel">Expiration:</span> |
549 |
- |
| 545 |
Never expires |
|
|
| 546 |
[% END %] |
550 |
[% END %] |
| 547 |
</td> |
551 |
</td> |
| 548 |
<td class="branch"> |
552 |
<td class="branch"> |
| 549 |
<span class="tdlabel">Pick up location:</span> |
553 |
<span class="tdlabel">Pick up location:</span> |
| 550 |
[% RESERVE.branch %] |
554 |
[% RESERVE.branch.branchname %] |
| 551 |
</td> |
555 |
</td> |
| 552 |
[% IF ( showpriority ) %] |
556 |
[% IF ( showpriority ) %] |
| 553 |
<td class="priority"> |
557 |
<td class="priority"> |
|
Lines 557-567
Link Here
|
| 557 |
[% END %] |
561 |
[% END %] |
| 558 |
<td class="status"> |
562 |
<td class="status"> |
| 559 |
<span class="tdlabel">Status:</span> |
563 |
<span class="tdlabel">Status:</span> |
| 560 |
[% IF ( RESERVE.wait ) %] |
564 |
[% IF ( RESERVE.is_waiting ) %] |
| 561 |
[% IF ( RESERVE.atdestination ) %] |
565 |
[% IF ( RESERVE.is_at_destination ) %] |
| 562 |
[% IF ( RESERVE.found ) %] |
566 |
[% IF ( RESERVE.found ) %] |
| 563 |
Item waiting at <b> [% RESERVE.wbrname %]</b>[% IF ( RESERVE.waitingdate ) %] since [% RESERVE.waitingdate | $KohaDates %][% END %] |
567 |
Item waiting at <b> [% RESERVE.branch.branchname %]</b> |
| 564 |
<input type="hidden" name="pickup" value="[% RESERVE.wbrcd %]" /> |
568 |
[% IF ( RESERVE.waitingdate ) %] |
|
|
569 |
since [% RESERVE.waitingdate | $KohaDates %] |
| 570 |
[% IF RESERVE.waiting_expires_on %] |
| 571 |
until [% RESERVE.waiting_expires_on | $KohaDates %] |
| 572 |
[% END %] |
| 573 |
[% END %] |
| 574 |
<input type="hidden" name="pickup" value="[% RESERVE.branchcode %]" /> |
| 565 |
[% ELSE %] |
575 |
[% ELSE %] |
| 566 |
Item waiting to be pulled from <b> [% RESERVE.wbrname %]</b> |
576 |
Item waiting to be pulled from <b> [% RESERVE.wbrname %]</b> |
| 567 |
[% END %] |
577 |
[% END %] |
|
Lines 569-575
Link Here
|
| 569 |
Item in transit to <b> [% RESERVE.wbrname %]</b> <input type="hidden" name="pickup" value="[% RESERVE.wbrcd %]" /> |
579 |
Item in transit to <b> [% RESERVE.wbrname %]</b> <input type="hidden" name="pickup" value="[% RESERVE.wbrcd %]" /> |
| 570 |
[% END %] |
580 |
[% END %] |
| 571 |
[% ELSE %] |
581 |
[% ELSE %] |
| 572 |
[% IF ( RESERVE.intransit ) %] |
582 |
[% IF ( RESERVE.is_in_transit ) %] |
| 573 |
Item in transit from <b> [% RESERVE.frombranch %]</b> since |
583 |
Item in transit from <b> [% RESERVE.frombranch %]</b> since |
| 574 |
[% RESERVE.datesent | $KohaDates %] |
584 |
[% RESERVE.datesent | $KohaDates %] |
| 575 |
[% ELSIF ( RESERVE.suspend ) %] |
585 |
[% ELSIF ( RESERVE.suspend ) %] |
|
Lines 581-587
Link Here
|
| 581 |
</td> |
591 |
</td> |
| 582 |
[% IF SuspendHoldsOpac %] |
592 |
[% IF SuspendHoldsOpac %] |
| 583 |
<td> |
593 |
<td> |
| 584 |
[% IF ( RESERVE.cancelable ) %] |
594 |
[% IF ( RESERVE.is_cancelable ) %] |
| 585 |
[% IF RESERVE.suspend %] |
595 |
[% IF RESERVE.suspend %] |
| 586 |
<form class="form-inline" action="/cgi-bin/koha/opac-modrequest-suspend.pl" method="post"> |
596 |
<form class="form-inline" action="/cgi-bin/koha/opac-modrequest-suspend.pl" method="post"> |
| 587 |
<input type="hidden" name="reserve_id" value="[% RESERVE.reserve_id %]" /> |
597 |
<input type="hidden" name="reserve_id" value="[% RESERVE.reserve_id %]" /> |
|
Lines 622-632
Link Here
|
| 622 |
</form> |
632 |
</form> |
| 623 |
[% END # / IF AutoResumeSuspendedHolds %] |
633 |
[% END # / IF AutoResumeSuspendedHolds %] |
| 624 |
[% END # / IF RESERVE.suspend %] |
634 |
[% END # / IF RESERVE.suspend %] |
| 625 |
[% END # / IF ( RESERVE.cancelable )%] |
635 |
[% END # / IF ( RESERVE.is_cancelable )%] |
| 626 |
</td> |
636 |
</td> |
| 627 |
[% END # / IF SuspendHoldsOpac %] |
637 |
[% END # / IF SuspendHoldsOpac %] |
| 628 |
<td class="modify"> |
638 |
<td class="modify"> |
| 629 |
[% IF ( RESERVE.cancelable ) %] |
639 |
[% IF ( RESERVE.is_cancelable ) %] |
| 630 |
<form action="/cgi-bin/koha/opac-modrequest.pl" method="post"> |
640 |
<form action="/cgi-bin/koha/opac-modrequest.pl" method="post"> |
| 631 |
<input type="hidden" name="biblionumber" value="[% RESERVE.biblionumber %]" /> |
641 |
<input type="hidden" name="biblionumber" value="[% RESERVE.biblionumber %]" /> |
| 632 |
<input type="hidden" name="reserve_id" value="[% RESERVE.reserve_id %]" /> |
642 |
<input type="hidden" name="reserve_id" value="[% RESERVE.reserve_id %]" /> |