Lines 640-649
Link Here
|
640 |
<h4>Details from library</h4> |
640 |
<h4>Details from library</h4> |
641 |
<div class="rows"> |
641 |
<div class="rows"> |
642 |
<ol> |
642 |
<ol> |
643 |
<li class="orderid"> |
643 |
[% IF request.orderid %] |
644 |
<span class="label orderid">Order ID:</span> |
644 |
<li class="orderid"> |
645 |
[% IF request.orderid %][% request.orderid | html %][% ELSE %]<span>N/A</span>[% END %] |
645 |
<span class="label orderid">Order ID:</span> |
646 |
</li> |
646 |
[% request.orderid | html %] |
|
|
647 |
</li> |
648 |
[% END %] |
647 |
<li class="borrowernumber"> |
649 |
<li class="borrowernumber"> |
648 |
<span class="label borrowernumber">Patron:</span> |
650 |
<span class="label borrowernumber">Patron:</span> |
649 |
[% borrowerlink = "/cgi-bin/koha/members/moremember.pl" _ "?borrowernumber=" _ request.patron.borrowernumber %] |
651 |
[% borrowerlink = "/cgi-bin/koha/members/moremember.pl" _ "?borrowernumber=" _ request.patron.borrowernumber %] |
Lines 651-665
Link Here
|
651 |
[% request.patron.firstname _ " " _ request.patron.surname _ " [" _ request.patron.cardnumber _ "]" | html %] |
653 |
[% request.patron.firstname _ " " _ request.patron.surname _ " [" _ request.patron.cardnumber _ "]" | html %] |
652 |
</a> |
654 |
</a> |
653 |
</li> |
655 |
</li> |
654 |
|
656 |
[% IF request.biblio_id %] |
655 |
<li class="biblio_id"> |
657 |
<li class="biblio_id"> |
656 |
<span class="label biblio_id">Bibliographic record ID:</span> |
658 |
<span class="label biblio_id">Bibliographic record ID:</span> |
657 |
[% IF request.biblio_id %] |
|
|
658 |
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% request.biblio_id | uri %]">[% request.biblio_id | html %]</a> |
659 |
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% request.biblio_id | uri %]">[% request.biblio_id | html %]</a> |
659 |
[% ELSE %] |
660 |
</li> |
660 |
<span>N/A</span> |
661 |
[% END %] |
661 |
[% END %] |
|
|
662 |
</li> |
663 |
<li class="branchcode"> |
662 |
<li class="branchcode"> |
664 |
<span class="label branchcode">Library:</span> |
663 |
<span class="label branchcode">Library:</span> |
665 |
[% Branches.GetName(request.branchcode) | html %] |
664 |
[% Branches.GetName(request.branchcode) | html %] |
Lines 676-733
Link Here
|
676 |
[% END %] |
675 |
[% END %] |
677 |
</li> |
676 |
</li> |
678 |
[% IF request.ill_batch > 0 %] |
677 |
[% IF request.ill_batch > 0 %] |
679 |
<li class="batch"> |
678 |
<li class="batch"> |
680 |
<span class="label batch">Batch:</span> |
679 |
<span class="label batch">Batch:</span> |
681 |
<a href="/cgi-bin/koha/ill/ill-requests.pl?batch_id=[% request.ill_batch.ill_batch_id | uri %]"> |
680 |
<a href="/cgi-bin/koha/ill/ill-requests.pl?batch_id=[% request.ill_batch.ill_batch_id | uri %]"> |
682 |
[% request.ill_batch.name | html %] |
681 |
[% request.ill_batch.name | html %] |
683 |
</a> |
682 |
</a> |
684 |
</li> |
683 |
</li> |
685 |
[% END %] |
684 |
[% END %] |
686 |
<li class="updated"> |
685 |
<li class="updated"> |
687 |
<span class="label updated">Last updated:</span> |
686 |
<span class="label updated">Last updated:</span> |
688 |
[% request.updated | $KohaDates with_hours => 1 %] |
687 |
[% request.updated | $KohaDates with_hours => 1 %] |
689 |
</li> |
688 |
</li> |
690 |
<li class="medium"> |
689 |
[% type = request.get_type %] |
691 |
<span class="label medium">Request type:</span> |
690 |
[% IF type %] |
692 |
[% type = request.get_type %] |
691 |
<li class="medium"> |
693 |
[% IF type %][% type | html %][% ELSE %]<span>N/A</span>[% END %] |
692 |
<span class="label medium">Request type:</span> |
694 |
</li> |
693 |
[% type | html %] |
695 |
<li class="type_disclaimer_value"> |
694 |
</li> |
696 |
<span class="label type_disclaimer_value">Type disclaimer value:</span> |
695 |
[% END %] |
697 |
[% type_disclaimer_value = request.get_type_disclaimer_value %] |
696 |
[% type_disclaimer_value = request.get_type_disclaimer_value %] |
698 |
[% IF type_disclaimer_value %][% type_disclaimer_value | html %][% ELSE %]<span>N/A</span>[% END %] |
697 |
[% IF type_disclaimer_value %] |
699 |
</li> |
698 |
<li class="type_disclaimer_value"> |
700 |
<li class="type_disclaimer_date"> |
699 |
<span class="label type_disclaimer_value">Type disclaimer value:</span> |
701 |
<span class="label type_disclaimer_date">Type disclaimer date:</span> |
700 |
[% type_disclaimer_value | html %] |
702 |
[% type_disclaimer_date = request.get_type_disclaimer_date %] |
701 |
</li> |
703 |
[% IF type_disclaimer_date %][% type_disclaimer_date | $KohaDates with_hours => 1 %][% ELSE %]<span>N/A</span>[% END %] |
702 |
[% END %] |
704 |
</li> |
703 |
[% type_disclaimer_date = request.get_type_disclaimer_date %] |
705 |
<li class="cost"> |
704 |
[% IF type_disclaimer_date %] |
706 |
<span class="label cost">Cost:</span> |
705 |
<li class="type_disclaimer_date"> |
707 |
[% IF request.cost %][% request.cost | $Price %][% ELSE %]<span>N/A</span>[% END %] |
706 |
<span class="label type_disclaimer_date">Type disclaimer date:</span> |
708 |
</li> |
707 |
[% type_disclaimer_date | $KohaDates with_hours => 1 %] |
709 |
<li class="price_paid"> |
708 |
</li> |
710 |
<span class="label price_paid">Price paid:</span> |
709 |
[% END %] |
711 |
[% IF request.price_paid %][% request.price_paid | $Price %][% ELSE %]<span>N/A</span>[% END %] |
710 |
[% IF request.cost %] |
712 |
</li> |
711 |
<li class="cost"> |
713 |
<li class="notesstaff"> |
712 |
<span class="label cost">Cost:</span> |
714 |
<span class="label notes_staff">Staff notes:</span> |
713 |
[% request.cost | $Price %] |
715 |
<p>[% request.notesstaff | html %]</p> |
714 |
</li> |
716 |
</li> |
715 |
[% END %] |
717 |
<li class="notesopac"> |
716 |
[% IF request.price_paid %] |
718 |
<span class="label notes_opac">Notes:</span> |
717 |
<li class="price_paid"> |
719 |
<p>[% request.notesopac | html %]</p> |
718 |
<span class="label price_paid">Price paid:</span> |
720 |
</li> |
719 |
[% request.price_paid | $Price %] |
|
|
720 |
</li> |
721 |
[% END %] |
722 |
[% IF request.notesstaff %] |
723 |
<li class="notesstaff"> |
724 |
<span class="label notes_staff">Staff notes:</span> |
725 |
<p>[% request.notesstaff | html %]</p> |
726 |
</li> |
727 |
[% END %] |
728 |
[% IF request.notesopac %] |
729 |
<li class="notesopac"> |
730 |
<span class="label notes_opac">Notes:</span> |
731 |
<p>[% request.notesopac | html %]</p> |
732 |
</li> |
733 |
[% END %] |
721 |
</ol> |
734 |
</ol> |
722 |
</div> |
735 |
</div> |
723 |
<div class="rows"> |
736 |
<div class="rows"> |
724 |
<h4>Details from supplier ([% request.backend | html %])</h4> |
737 |
<h4>Details from supplier ([% request.backend | html %])</h4> |
725 |
<ol> |
738 |
<ol> |
726 |
[% FOREACH meta IN request.metadata %] |
739 |
[% FOREACH meta IN request.metadata %] |
|
|
740 |
[% IF meta.value %] |
727 |
<li class="requestmeta-[% meta.key.replace('\s','_') | html %]"> |
741 |
<li class="requestmeta-[% meta.key.replace('\s','_') | html %]"> |
728 |
<span class="label">[% meta.key.replace('_',' ') | html %]:</span> |
742 |
<span class="label">[% meta.key.replace('_',' ') | html %]:</span> |
729 |
[% meta.value | html %] |
743 |
[% meta.value | html %] |
730 |
</li> |
744 |
</li> |
|
|
745 |
[% END %] |
731 |
[% END %] |
746 |
[% END %] |
732 |
</ol> |
747 |
</ol> |
733 |
</div> |
748 |
</div> |
734 |
- |
|
|