|
Lines 521-529
Link Here
|
| 521 |
</thead> |
521 |
</thead> |
| 522 |
<tbody> |
522 |
<tbody> |
| 523 |
[% FOREACH RESERVE IN RESERVES %] |
523 |
[% FOREACH RESERVE IN RESERVES %] |
| 524 |
[% IF ( RESERVE.wait ) %] |
524 |
[% IF ( RESERVE.is_waiting ) %] |
| 525 |
[% IF ( RESERVE.atdestination ) %] |
525 |
[% IF ( RESERVE.is_at_destination ) %] |
| 526 |
[% IF ( RESERVE.found ) %] |
526 |
[% IF ( RESERVE.is_found ) %] |
| 527 |
<tr class="reserved"> |
527 |
<tr class="reserved"> |
| 528 |
[% ELSE %] |
528 |
[% ELSE %] |
| 529 |
<tr> |
529 |
<tr> |
|
Lines 536-548
Link Here
|
| 536 |
[% END %] |
536 |
[% END %] |
| 537 |
<td class="title"> |
537 |
<td class="title"> |
| 538 |
<a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% RESERVE.biblionumber %]"> |
538 |
<a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% RESERVE.biblionumber %]"> |
| 539 |
[% RESERVE.reserves_title %] |
539 |
[% RESERVE.biblio.title %] |
| 540 |
[% FOREACH subtitl IN RESERVE.subtitle %] |
540 |
[% FOREACH subtitl IN RESERVE.biblio.subtitle %] |
| 541 |
[% subtitl.subfield %] |
541 |
[% subtitl.subfield %] |
| 542 |
[% END %] |
542 |
[% END %] |
| 543 |
[% RESERVE.enumchron %] |
543 |
[% RESERVE.item.enumchron %] |
| 544 |
</a> |
544 |
</a> |
| 545 |
[% RESERVE.author %] |
545 |
[% RESERVE.biblio.author %] |
| 546 |
</td> |
546 |
</td> |
| 547 |
<td class="reservedate"> |
547 |
<td class="reservedate"> |
| 548 |
<span title="[% RESERVE.reservedate %]"> |
548 |
<span title="[% RESERVE.reservedate %]"> |
|
Lines 551-569
Link Here
|
| 551 |
</span> |
551 |
</span> |
| 552 |
</td> |
552 |
</td> |
| 553 |
<td class="expirationdate"> |
553 |
<td class="expirationdate"> |
| 554 |
[% IF ( RESERVE.expirationdate ) %] |
554 |
[% IF ! RESERVE.found %] |
| 555 |
<span> |
555 |
[% IF ( RESERVE.expirationdate ) %] |
|
|
556 |
<span> |
| 557 |
<span class="tdlabel">Expiration:</span> |
| 558 |
[% RESERVE.expirationdate | $KohaDates %] |
| 559 |
</span> |
| 560 |
[% ELSE %] |
| 556 |
<span class="tdlabel">Expiration:</span> |
561 |
<span class="tdlabel">Expiration:</span> |
| 557 |
[% RESERVE.expirationdate | $KohaDates %] |
562 |
Never expires |
| 558 |
</span> |
563 |
[% END %] |
| 559 |
[% ELSE %] |
564 |
[% ELSE %] |
| 560 |
<span class="tdlabel">Expiration:</span> |
565 |
- |
| 561 |
Never expires |
|
|
| 562 |
[% END %] |
566 |
[% END %] |
| 563 |
</td> |
567 |
</td> |
| 564 |
<td class="branch"> |
568 |
<td class="branch"> |
| 565 |
<span class="tdlabel">Pick up location:</span> |
569 |
<span class="tdlabel">Pick up location:</span> |
| 566 |
[% RESERVE.branch %] |
570 |
[% RESERVE.branch.branchname %] |
| 567 |
</td> |
571 |
</td> |
| 568 |
[% IF ( showpriority ) %] |
572 |
[% IF ( showpriority ) %] |
| 569 |
<td class="priority"> |
573 |
<td class="priority"> |
|
Lines 573-583
Link Here
|
| 573 |
[% END %] |
577 |
[% END %] |
| 574 |
<td class="status"> |
578 |
<td class="status"> |
| 575 |
<span class="tdlabel">Status:</span> |
579 |
<span class="tdlabel">Status:</span> |
| 576 |
[% IF ( RESERVE.wait ) %] |
580 |
[% IF ( RESERVE.is_waiting ) %] |
| 577 |
[% IF ( RESERVE.atdestination ) %] |
581 |
[% IF ( RESERVE.is_at_destination ) %] |
| 578 |
[% IF ( RESERVE.found ) %] |
582 |
[% IF ( RESERVE.found ) %] |
| 579 |
Item waiting at <b> [% RESERVE.wbrname %]</b>[% IF ( RESERVE.waitingdate ) %] since [% RESERVE.waitingdate | $KohaDates %][% END %] |
583 |
Item waiting at <b> [% RESERVE.branch.branchname %]</b> |
| 580 |
<input type="hidden" name="pickup" value="[% RESERVE.wbrcd %]" /> |
584 |
[% IF ( RESERVE.waitingdate ) %] |
|
|
585 |
since [% RESERVE.waitingdate | $KohaDates %] |
| 586 |
[% IF RESERVE.waiting_expires_on %] |
| 587 |
until [% RESERVE.waiting_expires_on | $KohaDates %] |
| 588 |
[% END %] |
| 589 |
[% END %] |
| 590 |
<input type="hidden" name="pickup" value="[% RESERVE.branchcode %]" /> |
| 581 |
[% ELSE %] |
591 |
[% ELSE %] |
| 582 |
Item waiting to be pulled from <b> [% RESERVE.wbrname %]</b> |
592 |
Item waiting to be pulled from <b> [% RESERVE.wbrname %]</b> |
| 583 |
[% END %] |
593 |
[% END %] |
|
Lines 585-591
Link Here
|
| 585 |
Item in transit to <b> [% RESERVE.wbrname %]</b> <input type="hidden" name="pickup" value="[% RESERVE.wbrcd %]" /> |
595 |
Item in transit to <b> [% RESERVE.wbrname %]</b> <input type="hidden" name="pickup" value="[% RESERVE.wbrcd %]" /> |
| 586 |
[% END %] |
596 |
[% END %] |
| 587 |
[% ELSE %] |
597 |
[% ELSE %] |
| 588 |
[% IF ( RESERVE.intransit ) %] |
598 |
[% IF ( RESERVE.is_in_transit ) %] |
| 589 |
Item in transit from <b> [% RESERVE.frombranch %]</b> since |
599 |
Item in transit from <b> [% RESERVE.frombranch %]</b> since |
| 590 |
[% RESERVE.datesent | $KohaDates %] |
600 |
[% RESERVE.datesent | $KohaDates %] |
| 591 |
[% ELSIF ( RESERVE.suspend ) %] |
601 |
[% ELSIF ( RESERVE.suspend ) %] |
|
Lines 597-603
Link Here
|
| 597 |
</td> |
607 |
</td> |
| 598 |
[% IF SuspendHoldsOpac %] |
608 |
[% IF SuspendHoldsOpac %] |
| 599 |
<td> |
609 |
<td> |
| 600 |
[% IF ( RESERVE.cancelable ) %] |
610 |
[% IF ( RESERVE.is_cancelable ) %] |
| 601 |
[% IF RESERVE.suspend %] |
611 |
[% IF RESERVE.suspend %] |
| 602 |
<form class="form-inline" action="/cgi-bin/koha/opac-modrequest-suspend.pl" method="post"> |
612 |
<form class="form-inline" action="/cgi-bin/koha/opac-modrequest-suspend.pl" method="post"> |
| 603 |
<input type="hidden" name="reserve_id" value="[% RESERVE.reserve_id %]" /> |
613 |
<input type="hidden" name="reserve_id" value="[% RESERVE.reserve_id %]" /> |
|
Lines 638-648
Link Here
|
| 638 |
</form> |
648 |
</form> |
| 639 |
[% END # / IF AutoResumeSuspendedHolds %] |
649 |
[% END # / IF AutoResumeSuspendedHolds %] |
| 640 |
[% END # / IF RESERVE.suspend %] |
650 |
[% END # / IF RESERVE.suspend %] |
| 641 |
[% END # / IF ( RESERVE.cancelable )%] |
651 |
[% END # / IF ( RESERVE.is_cancelable )%] |
| 642 |
</td> |
652 |
</td> |
| 643 |
[% END # / IF SuspendHoldsOpac %] |
653 |
[% END # / IF SuspendHoldsOpac %] |
| 644 |
<td class="modify"> |
654 |
<td class="modify"> |
| 645 |
[% IF ( RESERVE.cancelable ) %] |
655 |
[% IF ( RESERVE.is_cancelable ) %] |
| 646 |
<form action="/cgi-bin/koha/opac-modrequest.pl" method="post"> |
656 |
<form action="/cgi-bin/koha/opac-modrequest.pl" method="post"> |
| 647 |
<input type="hidden" name="biblionumber" value="[% RESERVE.biblionumber %]" /> |
657 |
<input type="hidden" name="biblionumber" value="[% RESERVE.biblionumber %]" /> |
| 648 |
<input type="hidden" name="reserve_id" value="[% RESERVE.reserve_id %]" /> |
658 |
<input type="hidden" name="reserve_id" value="[% RESERVE.reserve_id %]" /> |