Lines 801-819
Link Here
|
801 |
[% IF ( itemloo.nocancel ) %] |
801 |
[% IF ( itemloo.nocancel ) %] |
802 |
<span>Can't be cancelled when item is in transit</span> |
802 |
<span>Can't be cancelled when item is in transit</span> |
803 |
[% ELSE %] |
803 |
[% ELSE %] |
804 |
[% IF ( itemloo.waitingdate ) %]<span>Waiting</span>[% ELSE %]<span>On hold</span>[% END %] |
|
|
805 |
[% IF ( itemloo.canreservefromotherbranches ) %] |
806 |
<span>for</span> <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% itemloo.ReservedFor.borrowernumber | uri %]">[% itemloo.ReservedFor.firstname | html %] [% itemloo.ReservedFor.surname | html %]</a> |
807 |
[% END %] |
808 |
[% IF ( itemloo.waitingdate ) %]at[% ELSE %]expected at[% END %] |
809 |
[% Branches.GetName( itemloo.ExpectedAtLibrary ) | html %] <span>since</span> |
810 |
[% IF ( itemloo.waitingdate ) %] |
804 |
[% IF ( itemloo.waitingdate ) %] |
811 |
[% itemloo.waitingdate | $KohaDates %] |
805 |
[% IF ( itemloo.canreservefromotherbranches ) %] |
|
|
806 |
<span>Waiting for [% INCLUDE 'patron-title.inc' patron=itemloo.ReservedFor %] at [% Branches.GetName( itemloo.ExpectedAtLibrary ) | html %] since [% itemloo.waitingdate | $KohaDates %]</span> |
807 |
[% ELSE %] |
808 |
<span>Waiting at [% Branches.GetName( itemloo.ExpectedAtLibrary ) | html %] since [% itemloo.waitingdate | $KohaDates %]</span> |
809 |
[% END %] |
812 |
[% ELSE %] |
810 |
[% ELSE %] |
813 |
[% IF ( itemloo.reservedate ) %] |
811 |
[% IF ( itemloo.canreservefromotherbranches ) %] |
814 |
[% itemloo.reservedate | html %] |
812 |
[% IF itemloo.reservedate %] |
|
|
813 |
<span>On hold for [% INCLUDE 'patron-title.inc' patron=itemloo.ReservedFor %] expected at [% Branches.GetName( itemloo.ExpectedAtLibrary ) | html %] since</span> |
814 |
[% ELSE %] |
815 |
<span>On hold expected at [% Branches.GetName( itemloo.ExpectedAtLibrary ) | html %]</span> |
816 |
[% END %] |
817 |
[% ELSIF itemloo.reservedate %] |
818 |
<span>On hold expected at [% Branches.GetName( itemloo.ExpectedAtLibrary ) | html %] since [% itemloo.reservedate | $KohaDates %]</span> |
819 |
[% ELSE %] |
820 |
<span>On hold expected at [% Branches.GetName( itemloo.ExpectedAtLibrary ) | html %]</span> |
815 |
[% END %] |
821 |
[% END %] |
816 |
[% END %]. |
822 |
[% END %] |
817 |
<a class="info cancel-hold" href="modrequest.pl?CancelBiblioNumber=[% itemloo.biblionumber | html %]&CancelBorrowerNumber=[% itemloo.ReservedFor.borrowernumber | html %]&CancelItemnumber=[% itemloo.itemnumber | html %]">Cancel hold</a> |
823 |
<a class="info cancel-hold" href="modrequest.pl?CancelBiblioNumber=[% itemloo.biblionumber | html %]&CancelBorrowerNumber=[% itemloo.ReservedFor.borrowernumber | html %]&CancelItemnumber=[% itemloo.itemnumber | html %]">Cancel hold</a> |
818 |
[% END # /IF itemloo.nocancel %] |
824 |
[% END # /IF itemloo.nocancel %] |
819 |
[% ELSE %] |
825 |
[% ELSE %] |