View | Details | Raw Unified | Return to bug 35108
Collapse All | Expand All

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

Return to bug 35108