|
Lines 47-53
Link Here
|
| 47 |
[% FOREACH RECALL IN RECALLS %] |
47 |
[% FOREACH RECALL IN RECALLS %] |
| 48 |
<tr> |
48 |
<tr> |
| 49 |
<td class="title"> |
49 |
<td class="title"> |
| 50 |
<a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% RECALL.biblionumber | html %]"> |
50 |
<a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% RECALL.biblio_id | html %]"> |
| 51 |
[% RECALL.biblio.title | html %] |
51 |
[% RECALL.biblio.title | html %] |
| 52 |
[% FOREACH s IN RECALL.biblio.subtitle %] |
52 |
[% FOREACH s IN RECALL.biblio.subtitle %] |
| 53 |
[% s | html %] |
53 |
[% s | html %] |
|
Lines 55-73
Link Here
|
| 55 |
</a> |
55 |
</a> |
| 56 |
[% RECALL.biblio.author | html %] |
56 |
[% RECALL.biblio.author | html %] |
| 57 |
</td> |
57 |
</td> |
| 58 |
<td class="recalldate" data-order="[% RECALL.recalldate | html %]"> |
58 |
<td class="recalldate" data-order="[% RECALL.created_date | html %]"> |
| 59 |
<span title="[% RECALL.recalldate | html %]"> |
59 |
<span title="[% RECALL.created_date | html %]"> |
| 60 |
<span class="tdlabel">Recall date:</span> |
60 |
<span class="tdlabel">Recall date:</span> |
| 61 |
[% RECALL.recalldate | $KohaDates %] |
61 |
[% RECALL.created_date | $KohaDates %] |
| 62 |
</span> |
62 |
</span> |
| 63 |
</td> |
63 |
</td> |
| 64 |
<td class="expirationdate" data-order="[% RECALL.expirationdate | html %]"> |
64 |
<td class="expirationdate" data-order="[% RECALL.expiration_date | html %]"> |
| 65 |
[% IF ( RECALL.expirationdate ) %] |
65 |
[% IF ( RECALL.expiration_date ) %] |
| 66 |
<span title="[% RECALL.expirationdate | html %]"> |
66 |
<span title="[% RECALL.expiration_date | html %]"> |
| 67 |
<span class="tdlabel">Expiration:</span> |
67 |
<span class="tdlabel">Expiration:</span> |
| 68 |
[% RECALL.expirationdate | $KohaDates %] |
68 |
[% RECALL.expiration_date | $KohaDates %] |
| 69 |
</span> |
69 |
</span> |
| 70 |
[% ELSIF ( !RECALL.old ) %] |
70 |
[% ELSIF ( !RECALL.completed ) %] |
| 71 |
<span title="0000-00-00"> |
71 |
<span title="0000-00-00"> |
| 72 |
<span class="tdlabel">Expiration:</span> |
72 |
<span class="tdlabel">Expiration:</span> |
| 73 |
Never expires |
73 |
Never expires |
|
Lines 89-97
Link Here
|
| 89 |
[% ELSIF ( RECALL.overdue ) %] |
89 |
[% ELSIF ( RECALL.overdue ) %] |
| 90 |
Overdue to be returned |
90 |
Overdue to be returned |
| 91 |
[% ELSIF ( RECALL.expired ) %] |
91 |
[% ELSIF ( RECALL.expired ) %] |
| 92 |
Expired on [% RECALL.expirationdate | $KohaDates %] |
92 |
Expired on [% RECALL.expiration_date | $KohaDates %] |
| 93 |
[% ELSIF ( RECALL.cancelled ) %] |
93 |
[% ELSIF ( RECALL.cancelled ) %] |
| 94 |
Cancelled on [% RECALL.cancellationdate | $KohaDates %] |
94 |
Cancelled on [% RECALL.completed_date | $KohaDates %] |
| 95 |
[% ELSIF ( RECALL.fulfilled ) %] |
95 |
[% ELSIF ( RECALL.fulfilled ) %] |
| 96 |
Fulfilled |
96 |
Fulfilled |
| 97 |
[% ELSE %] |
97 |
[% ELSE %] |
|
Lines 102-109
Link Here
|
| 102 |
<span class="tdlabel">Due date</span> |
102 |
<span class="tdlabel">Due date</span> |
| 103 |
[% IF ( RECALL.requested ) %] |
103 |
[% IF ( RECALL.requested ) %] |
| 104 |
Due to be returned by [% RECALL.checkout.date_due | $KohaDates %] |
104 |
Due to be returned by [% RECALL.checkout.date_due | $KohaDates %] |
| 105 |
[% ELSIF ( RECALL.waiting and RECALL.expirationdate ) %] |
105 |
[% ELSIF ( RECALL.waiting and RECALL.expiration_date ) %] |
| 106 |
Pick up by [% RECALL.expirationdate | $KohaDates %] |
106 |
Pick up by [% RECALL.expiration_date | $KohaDates %] |
| 107 |
[% ELSE %] |
107 |
[% ELSE %] |
| 108 |
- |
108 |
- |
| 109 |
[% END %] |
109 |
[% END %] |
|
Lines 113-120
Link Here
|
| 113 |
[% IF ( RECALL.requested or RECALL.overdue ) %] |
113 |
[% IF ( RECALL.requested or RECALL.overdue ) %] |
| 114 |
<form action="/cgi-bin/koha/opac-recall.pl" method="post"> |
114 |
<form action="/cgi-bin/koha/opac-recall.pl" method="post"> |
| 115 |
<input type="hidden" name="op" value="cancel"> |
115 |
<input type="hidden" name="op" value="cancel"> |
| 116 |
<input type="hidden" name="recall_id" value="[% RECALL.recall_id | html %]"> |
116 |
<input type="hidden" name="recall_id" value="[% RECALL.id | html %]"> |
| 117 |
<input type="hidden" name="biblionumber" value="[% RECALL.biblionumber | html %]"> |
117 |
<input type="hidden" name="biblionumber" value="[% RECALL.biblio_id | html %]"> |
| 118 |
<input type="submit" name="submit" class="btn btn-danger cancel_recall" value="Cancel"> |
118 |
<input type="submit" name="submit" class="btn btn-danger cancel_recall" value="Cancel"> |
| 119 |
</form> |
119 |
</form> |
| 120 |
[% END %] |
120 |
[% END %] |