Lines 800-877
Link Here
|
800 |
<th class="anti-the">Title</th> |
800 |
<th class="anti-the">Title</th> |
801 |
<th class="psort title-string">Placed on</th> |
801 |
<th class="psort title-string">Placed on</th> |
802 |
<th class="title-string">Expires on</th> |
802 |
<th class="title-string">Expires on</th> |
803 |
<th>Pick up location</th> |
803 |
<th>Pickup location</th> |
804 |
<th>Status</th> |
804 |
<th>Status</th> |
805 |
<th>Cancel</th> |
805 |
<th>Cancel</th> |
806 |
</tr> |
806 |
</tr> |
807 |
</thead> |
807 |
</thead> |
808 |
<tbody> |
808 |
<tbody> |
809 |
[% FOREACH RECALL IN RECALLS %] |
809 |
[% FOREACH RECALL IN RECALLS %] |
810 |
<td class="title"> |
810 |
<tr> |
811 |
<a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% RECALL.biblionumber %]"> |
811 |
<td class="title"> |
812 |
[% RECALL.biblio.title %] |
812 |
<a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% RECALL.biblionumber %]"> |
813 |
[% FOREACH s IN RECALL.biblio.subtitles %] |
813 |
[% RECALL.biblio.title %] |
814 |
[% s %] |
814 |
[% FOREACH s IN RECALL.biblio.subtitles %] |
815 |
[% END %] |
815 |
[% s %] |
816 |
[% RECALL.item.enumchron %] |
816 |
[% END %] |
817 |
</a> |
817 |
[% RECALL.item.enumchron %] |
818 |
[% RECALL.biblio.author %] |
818 |
</a> |
819 |
</td> |
819 |
[% RECALL.biblio.author %] |
820 |
<td class="recalldate"> |
820 |
</td> |
821 |
<span title="[% RECALL.recalldate %]"> |
821 |
<td class="recalldate"> |
822 |
<span class="tdlabel">Recall date:</span> |
822 |
<span title="[% RECALL.recalldate %]"> |
823 |
[% RECALL.recalldate | $KohaDates %] |
823 |
<span class="tdlabel">Recall date:</span> |
824 |
</span> |
824 |
[% RECALL.recalldate | $KohaDates %] |
825 |
</td> |
825 |
</span> |
826 |
<td class="expirationdate"> |
826 |
</td> |
827 |
[% IF ( RECALL.is_waiting ) %] |
827 |
<td class="expirationdate"> |
828 |
[% IF ( RECALL.expirationdate ) %] |
828 |
[% IF ( RECALL.is_waiting ) %] |
829 |
<span title="[% RECALL.expirationdate %]"> |
829 |
[% IF ( RECALL.expirationdate ) %] |
|
|
830 |
<span title="[% RECALL.expirationdate %]"> |
831 |
<span class="tdlabel">Expiration:</span> |
832 |
[% RECALL.expirationdate | $KohaDates %] |
833 |
</span> |
834 |
[% ELSE %] |
835 |
<span title="0000-00-00"> |
836 |
<span class="tdlabel">Expiration:</span> |
837 |
Never expires |
838 |
</span> |
839 |
[% END %] |
840 |
[% ELSIF ( RECALL.has_expired && RECALL.expirationdate ) %] |
841 |
<span title="[% RECALL.expirationdate %]" class="overdue"> |
830 |
<span class="tdlabel">Expiration:</span> |
842 |
<span class="tdlabel">Expiration:</span> |
831 |
[% RECALL.expirationdate | $KohaDates %] |
843 |
[% RECALL.expirationdate | $KohaDates %] |
832 |
</span> |
844 |
</span> |
833 |
[% ELSE %] |
845 |
[% ELSE %] |
834 |
<span title="0000-00-00"> |
846 |
<span title="0000-00-00">-</span> |
835 |
<span class="tdlabel">Expiration:</span> |
|
|
836 |
Never expires |
837 |
</span> |
838 |
[% END %] |
847 |
[% END %] |
839 |
[% ELSIF ( RECALL.has_expired && RECALL.expirationdate ) %] |
848 |
</td> |
840 |
<span title="[% RECALL.expirationdate %]" class="overdue"> |
849 |
<td class="branch"> |
841 |
<span class="tdlabel">Expiration:</span> |
850 |
<span class="tdlabel">Pick up location:</span> |
842 |
[% RECALL.expirationdate | $KohaDates %] |
851 |
[% RECALL.branch.branchname %] |
843 |
</span> |
852 |
</td> |
844 |
[% ELSE %] |
853 |
<td class="status"> |
845 |
<span title="0000-00-00">-</span> |
854 |
<span class="tdlabel">Status:</span> |
846 |
[% END %] |
855 |
[% IF ( RECALL.is_requested ) %] |
847 |
</td> |
856 |
Requested |
848 |
<td class="branch"> |
857 |
[% ELSIF ( RECALL.is_waiting ) %] |
849 |
<span class="tdlabel">Pick up location:</span> |
858 |
Ready for pickup |
850 |
[% RECALL.branch.branchname %] |
859 |
[% ELSIF ( RECALL.has_expired ) %] |
851 |
</td> |
860 |
Expired |
852 |
<td class="status"> |
861 |
[% END %] |
853 |
<span class="tdlabel">Status:</span> |
862 |
</td> |
854 |
[% IF ( RECALL.is_requested ) %] |
863 |
<td class="cancelrecall"> |
855 |
Requested |
864 |
[% IF ( !RECALL.cancellationdate ) %] |
856 |
[% ELSIF ( RECALL.is_waiting ) %] |
865 |
<form action="/cgi-bin/koha/opac-recall.pl" method="post"> |
857 |
Ready for pickup |
866 |
<input type="hidden" name="op" value="cancel"> |
858 |
[% ELSIF ( RECALL.has_expired ) %] |
867 |
<input type="hidden" name="recall_id" value="[% RECALL.recall_id %]"> |
859 |
Expired |
868 |
<input type="hidden" name="itemnumber" value="[% RECALL.itemnumber %]"> |
860 |
[% END %] |
869 |
<button type="submit" name="submit" class="btn btn-sm btn-danger" id="cancel_recall"><i class="icon-remove icon-white"></i> Cancel</button> |
861 |
</td> |
870 |
</form> |
862 |
<td class="cancelrecall"> |
871 |
[% ELSE %] |
863 |
[% IF ( !RECALL.cancellationdate ) %] |
872 |
Cancelled |
864 |
<form action="/cgi-bin/koha/opac-recall.pl" method="post"> |
873 |
[% END %] |
865 |
<input type="hidden" name="op" value="cancel"> |
874 |
</td> |
866 |
<input type="hidden" name="recall_id" value="[% RECALL.recall_id %]"> |
875 |
[% END %] |
867 |
<input type="hidden" name="itemnumber" value="[% RECALL.itemnumber %]"> |
876 |
</tr> |
868 |
<button type="submit" name="submit" class="btn btn-sm btn-danger" id="cancel_recall"><i class="icon-remove icon-white"></i> Cancel</button> |
|
|
869 |
</form> |
870 |
[% ELSE %] |
871 |
Cancelled |
872 |
[% END %] |
873 |
</td> |
874 |
[% END %] |
875 |
</tbody> |
877 |
</tbody> |
876 |
<table> |
878 |
<table> |
877 |
</div> |
879 |
</div> |
878 |
- |
|
|