Lines 396-441
Link Here
|
396 |
</td> |
396 |
</td> |
397 |
[% END %] |
397 |
[% END %] |
398 |
<td> |
398 |
<td> |
399 |
[% IF ( itemloo.onloan ) %] |
399 |
[% IF ( itemloo.onloan ) %] |
400 |
<span title="[% itemloo.date_due | html %]" class="checkedout">Due [% itemloo.date_due | $KohaDates as_due_date => 1 %]</span> |
400 |
<span title="[% itemloo.date_due | html %]" class="checkedout">Due [% itemloo.date_due | $KohaDates as_due_date => 1 %]</span> |
401 |
[% ELSE %] |
401 |
[% ELSE %] |
402 |
<span title="0000-00-00"> |
402 |
<span title="0000-00-00"> |
403 |
[% IF ( itemloo.transfertwhen ) %] |
403 |
[% IF ( itemloo.transfertwhen ) %] |
404 |
In transit from [% Branches.GetName( itemloo.transfertfrom ) | html %], |
404 |
In transit from [% Branches.GetName( itemloo.transfertfrom ) | html %], |
405 |
to [% Branches.GetName( itemloo.transfertto ) | html %], since [% itemloo.transfertwhen | html %] |
405 |
to [% Branches.GetName( itemloo.transfertto ) | html %], since [% itemloo.transfertwhen | html %] |
|
|
406 |
[% END %] |
407 |
</span> |
406 |
[% END %] |
408 |
[% END %] |
407 |
</span> |
|
|
408 |
[% END %] |
409 |
[% IF ( itemloo.message ) %] |
410 |
Unavailable (lost or missing) |
411 |
[% END %] |
412 |
|
409 |
|
413 |
[% IF ( itemloo.notforloan ) %] |
410 |
[% IF ( itemloo.reservedate ) %] |
414 |
Not for loan ([% itemloo.notforloanvalue | html %]) |
411 |
[% IF ( itemloo.nocancel ) %] |
415 |
[% END %] |
412 |
Can't be cancelled when item is in transit |
|
|
413 |
[% ELSE %] |
414 |
[% IF ( itemloo.waitingdate ) %]Waiting[% ELSE %]On hold[% END %] |
415 |
[% IF ( itemloo.canreservefromotherbranches ) %]for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% itemloo.ReservedFor.borrowernumber | uri %]">[% itemloo.ReservedFor.firstname | html %] [% itemloo.ReservedFor.surname | html %]</a>[% END %] [% IF ( itemloo.waitingdate ) %]at[% ELSE %]expected at[% END %] [% Branches.GetName( itemloo.ExpectedAtLibrary ) | html %] |
416 |
since |
417 |
[% IF ( itemloo.waitingdate ) %][% itemloo.waitingdate | $KohaDates %][% ELSE %][% IF ( itemloo.reservedate ) %][% itemloo.reservedate | html %][% END %][% END %]. <a class="info" href="modrequest.pl?CancelBiblioNumber=[% itemloo.biblionumber | html %]&CancelBorrowerNumber=[% itemloo.ReservedFor.borrowernumber | html %]&CancelItemnumber=[% itemloo.itemnumber | html %]" onclick="return confirmDelete(MSG_CONFIRM_DELETE_HOLD);">Cancel hold</a> |
418 |
[% END %] |
419 |
[% ELSE %] |
420 |
Not on hold |
421 |
[% END %] |
416 |
|
422 |
|
417 |
[% IF ( itemloo.reservedate ) %] |
423 |
[% IF itemloo.item_level_holds == "N" %] |
418 |
[% IF ( itemloo.nocancel ) %] |
424 |
<br/>Item level hold not allowed from OPAC |
419 |
Can't be cancelled when item is in transit |
425 |
[% ELSIF itemloo.item_level_holds == "F" %] |
420 |
[% ELSE %] |
426 |
<br/>Item level hold forced from OPAC |
421 |
[% IF ( itemloo.waitingdate ) %]Waiting[% ELSE %]On hold[% END %] |
427 |
[% END %] |
422 |
[% IF ( itemloo.canreservefromotherbranches ) %]for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% itemloo.ReservedFor.borrowernumber | uri %]">[% itemloo.ReservedFor.firstname | html %] [% itemloo.ReservedFor.surname | html %]</a>[% END %] [% IF ( itemloo.waitingdate ) %]at[% ELSE %]expected at[% END %] [% Branches.GetName( itemloo.ExpectedAtLibrary ) | html %] |
|
|
423 |
since |
424 |
[% IF ( itemloo.waitingdate ) %][% itemloo.waitingdate | $KohaDates %][% ELSE %][% IF ( itemloo.reservedate ) %][% itemloo.reservedate | html %][% END %][% END %]. <a class="info" href="modrequest.pl?CancelBiblioNumber=[% itemloo.biblionumber | html %]&CancelBorrowerNumber=[% itemloo.ReservedFor.borrowernumber | html %]&CancelItemnumber=[% itemloo.itemnumber | html %]" onclick="return confirmDelete(MSG_CONFIRM_DELETE_HOLD);">Cancel hold</a> |
425 |
|
428 |
|
426 |
[% END %] |
429 |
[% IF ( itemloo.itemlost ) %] |
427 |
[% ELSE %] |
430 |
<span class="lost">[% AuthorisedValues.GetByCode( 'LOST', itemloo.itemlost ) | html %]</span> |
428 |
Not on hold |
431 |
[% END %] |
429 |
[% END %] |
|
|
430 |
|
432 |
|
431 |
[% IF itemloo.item_level_holds == "N" %] |
433 |
[% IF ( itemloo.damaged ) %] |
432 |
<br/>Item level hold not allowed from OPAC |
434 |
<span class="dmg">[% AuthorisedValues.GetByCode( 'DAMAGED', itemloo.damaged ) | html %]</span> |
433 |
[% ELSIF itemloo.item_level_holds == "F" %] |
435 |
[% END %] |
434 |
<br/>Item level hold forced from OPAC |
436 |
|
435 |
[% END %] |
437 |
[% IF ( itemloo.notforloan ) %] |
436 |
[% IF ( itemloo.damaged ) %] |
438 |
<span class="nfl">Not for loan ([% AuthorisedValues.GetByCode( 'NOT_LOAN', itemloo.notforloan ) | html %])</span> |
437 |
<br />Damaged |
439 |
[% END %] |
438 |
[% END %] |
|
|
439 |
</td> |
440 |
</td> |
440 |
</tr> |
441 |
</tr> |
441 |
[% END %] <!--UNLESS item hide--> |
442 |
[% END %] <!--UNLESS item hide--> |