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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt (-31 / +30 lines)
Lines 600-605 Link Here
600
                                    <thead>
600
                                    <thead>
601
                                        <tr>
601
                                        <tr>
602
                                            <th>Hold</th>
602
                                            <th>Hold</th>
603
                                            <th>Allowed pickup locations</th>
603
                                            [% IF ( item_level_itypes ) %]
604
                                            [% IF ( item_level_itypes ) %]
604
                                                <th>Item type</th>
605
                                                <th>Item type</th>
605
                                            [% END %]
606
                                            [% END %]
Lines 615-621 Link Here
615
                                                <th>Vol no.</th>
616
                                                <th>Vol no.</th>
616
                                            [% END %]
617
                                            [% END %]
617
                                            <th>Information</th>
618
                                            <th>Information</th>
618
                                            <th>Allowed pickup locations</th>
619
                                        </tr>
619
                                        </tr>
620
                                    </thead>
620
                                    </thead>
621
                                    <tbody>
621
                                    <tbody>
Lines 673-678 Link Here
673
                                                            </span>
673
                                                            </span>
674
                                                        [% END # /IF itemloo.force_hold_level %]
674
                                                        [% END # /IF itemloo.force_hold_level %]
675
                                                    </td>
675
                                                    </td>
676
                                                    <td>
677
                                                    [% IF (itemloo.pickup_locations_count > 0) %]
678
                                                        <select name="item_pickup_[% itemloo.itemnumber | html %]" class="pickup_locations" style="width:100%;"
679
                                                                data-item-id="[% itemloo.itemnumber | html %]"
680
                                                                data-patron-id="[% patron.borrowernumber | html %]"
681
                                                                data-pickup-location-source="item">
682
                                                        [% IF (itemloo.default_pickup_location) %]
683
                                                            <option value="[% itemloo.default_pickup_location.branchcode | html %]" selected="selected">[% itemloo.default_pickup_location.branchname | html %]</option>
684
                                                        [% END %]
685
                                                        </select>
686
                                                    [% END %]
687
                                                    </td>
676
                                                    [% IF ( item_level_itypes ) %]
688
                                                    [% IF ( item_level_itypes ) %]
677
                                                        <td>
689
                                                        <td>
678
                                                            [% UNLESS ( noItemTypeImages ) %]
690
                                                            [% UNLESS ( noItemTypeImages ) %]
Lines 762-779 Link Here
762
                                                           <span class="nfl">Not for loan ([% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => itemloo.notforloan ) | html %])</span>
774
                                                           <span class="nfl">Not for loan ([% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => itemloo.notforloan ) | html %])</span>
763
                                                        [% END %]
775
                                                        [% END %]
764
                                                    </td>
776
                                                    </td>
765
                                                    <td>
766
                                                    [% IF (itemloo.pickup_locations_count > 0) %]
767
                                                        <select name="item_pickup_[% itemloo.itemnumber | html %]" class="pickup_locations" style="width:100%;"
768
                                                                data-item-id="[% itemloo.itemnumber | html %]"
769
                                                                data-patron-id="[% patron.borrowernumber | html %]"
770
                                                                data-pickup-location-source="item">
771
                                                        [% IF (itemloo.default_pickup_location) %]
772
                                                            <option value="[% itemloo.default_pickup_location.branchcode | html %]" selected="selected">[% itemloo.default_pickup_location.branchname | html %]</option>
773
                                                        [% END %]
774
                                                        </select>
775
                                                    [% END %]
776
                                                    </td>
777
                                                </tr>
777
                                                </tr>
778
                                            [% END # / UNLESS itemloo.hide %]
778
                                            [% END # / UNLESS itemloo.hide %]
779
                                        [% END # /FOREACH itemloo %]
779
                                        [% END # /FOREACH itemloo %]
Lines 794-806 Link Here
794
                            <table id="requesttitles">
794
                            <table id="requesttitles">
795
                                <tr>
795
                                <tr>
796
                                    <th>&nbsp;</th>
796
                                    <th>&nbsp;</th>
797
                                    <th>Pickup location</th>
797
                                    <th>Title</th>
798
                                    <th>Title</th>
798
                                    [% UNLESS ( item_level_itypes ) %]
799
                                    [% UNLESS ( item_level_itypes ) %]
799
                                        <th>Item type</th>
800
                                        <th>Item type</th>
800
                                    [% END %]
801
                                    [% END %]
801
                                    <th>Priority</th>
802
                                    <th>Priority</th>
802
                                    <th>Information</th>
803
                                    <th>Information</th>
803
                                    <th>Pickup location</th>
804
                                </tr>
804
                                </tr>
805
                                [% FOREACH biblioloo IN biblioloop %]
805
                                [% FOREACH biblioloo IN biblioloop %]
806
                                    [% IF ( biblioloo.warn ) %]
806
                                    [% IF ( biblioloo.warn ) %]
Lines 810-818 Link Here
810
                                    [% END %]
810
                                    [% END %]
811
                                        <td>
811
                                        <td>
812
                                            [% UNLESS ( biblioloo.warn ) %]
812
                                            [% UNLESS ( biblioloo.warn ) %]
813
                                                    <input class="multi_hold_item_checkbox" type="checkbox" checked="checked" title="[% biblioloo.biblionumber | html %]"/>
813
                                                <input class="multi_hold_item_checkbox" type="checkbox" checked="checked" title="[% biblioloo.biblionumber | html %]"/>
814
                                                </td>
815
                                            [% END %]
814
                                            [% END %]
815
                                        </td>
816
                                        <td>
817
                                            [% UNLESS ( biblioloo.none_avail || biblioloo.noitems ) %]
818
                                                <select name="pickup_[% biblioloo.biblionumber | html %]"
819
                                                        class="multi_pickup_select"
820
                                                        data-biblio-id="[% biblioloo.biblionumber | html %]"
821
                                                        data-patron-id="[% patron.borrowernumber | html %]"
822
                                                        data-pickup-locations='[% biblioloo.pickup_locations_codes.json | $raw %]'>
823
                                                    <option value=""></option>
824
                                                    [% FOREACH pickup_location IN biblioloo.pickup_locations %]
825
                                                        <option value="[% pickup_location.branchcode | html %]">[% pickup_location.branchname | html %]</option>
826
                                                    [% END %]
827
                                                </select>
828
                                            [% END %]
829
                                        </td>
816
                                        <td>
830
                                        <td>
817
                                            <ul>
831
                                            <ul>
818
                                                <li>
832
                                                <li>
Lines 864-883 Link Here
864
                                                [% END %]
878
                                                [% END %]
865
                                            [% END %]
879
                                            [% END %]
866
                                        </td>
880
                                        </td>
867
                                        <td>
868
                                            [% UNLESS ( biblioloo.none_avail || biblioloo.noitems ) %]
869
                                                <select name="pickup_[% biblioloo.biblionumber | html %]"
870
                                                        class="multi_pickup_select"
871
                                                        data-biblio-id="[% biblioloo.biblionumber | html %]"
872
                                                        data-patron-id="[% patron.borrowernumber | html %]"
873
                                                        data-pickup-locations='[% biblioloo.pickup_locations_codes.json | $raw %]'>
874
                                                    <option value=""></option>
875
                                                    [% FOREACH pickup_location IN biblioloo.pickup_locations %]
876
                                                        <option value="[% pickup_location.branchcode | html %]">[% pickup_location.branchname | html %]</option>
877
                                                    [% END %]
878
                                                </select>
879
                                            [% END %]
880
                                        </td>
881
                                    </tr>
881
                                    </tr>
882
                                [% END # /FOREACH biblioloo %]
882
                                [% END # /FOREACH biblioloo %]
883
                            </table> <!-- /#requesttitles -->
883
                            </table> <!-- /#requesttitles -->
884
- 

Return to bug 30577