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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt (-5 / +23 lines)
Lines 1018-1023 Link Here
1018
                                    </textarea>
1018
                                    </textarea>
1019
                                </form>
1019
                                </form>
1020
1020
1021
                                <form method="POST" action="/cgi-bin/koha/tools/batch_modify_holds.pl" id="batch_modify_holds">
1022
                                    <input type="hidden" name="op" value="list" />
1023
                                    [% FOREACH result IN results %]
1024
                                        [% FOREACH cells IN result.cells %]
1025
                                            [% place = loop.index %]
1026
                                            [% IF header_row.$place.cell == 'reserve_id' || header_types.item(header_row.$place.cell) == 'reserve_id'  %]
1027
                                                [% SET batch_reserve_ids = 1 %]
1028
                                                <input type="hidden" name="reserve_ids" value="[% cells.cell | html %]" />
1029
                                            [% END %]
1030
                                        [% END %]
1031
                                    [% END %]
1032
                                </form>
1033
1021
                                [% BLOCK batch_list %]
1034
                                [% BLOCK batch_list %]
1022
                                        [%- FOREACH result IN results %]
1035
                                        [%- FOREACH result IN results %]
1023
                                            [%- FOREACH cells IN result.cells %]
1036
                                            [%- FOREACH cells IN result.cells %]
Lines 1041-1049 Link Here
1041
                                    <input type="hidden" name="limit" id="limit" value="20" />
1054
                                    <input type="hidden" name="limit" id="limit" value="20" />
1042
                                </form> <!-- /#limitselect -->
1055
                                </form> <!-- /#limitselect -->
1043
1056
1044
                                [% IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers || batch_borrowernumbers ) || ( unlimited_total > 10 && limit <= 1000 ) %]
1057
                                [% IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers || batch_borrowernumbers || batch_reserve_ids ) || ( unlimited_total > 10 && limit <= 1000 ) %]
1045
                                    <div id="toolbar" class="btn-toolbar">
1058
                                    <div id="toolbar" class="btn-toolbar">
1046
                                        [% IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers || batch_borrowernumbers ) %]
1059
                                        [% IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers || batch_borrowernumbers || batch_reserve_ids ) %]
1047
                                            <div class="btn-group">
1060
                                            <div class="btn-group">
1048
                                                <button class="btn btn-default btn-sm dropdown-toggle" type="button" id="batch_mod_menu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
1061
                                                <button class="btn btn-default btn-sm dropdown-toggle" type="button" id="batch_mod_menu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
1049
                                                    Batch operations with [% IF unlimited_total >= limit %][% limit | html %][% ELSE %][% unlimited_total | html %][% END %] visible records
1062
                                                    Batch operations with [% IF unlimited_total >= limit %][% limit | html %][% ELSE %][% unlimited_total | html %][% END %] visible records
Lines 1095-1104 Link Here
1095
                                                                <a href="#" data-submit="batch_item_deletion" data-toggle="tooltip" data-placement="right" title="Send visible items to batch item deletion" class="batch_op send_to_item_del">Batch item deletion</a>
1108
                                                                <a href="#" data-submit="batch_item_deletion" data-toggle="tooltip" data-placement="right" title="Send visible items to batch item deletion" class="batch_op send_to_item_del">Batch item deletion</a>
1096
                                                            </li>
1109
                                                            </li>
1097
                                                        [% END %]
1110
                                                        [% END %]
1111
                                                        [% IF header_ro.cell == 'reserve_id' || header_types.item( header_ro.cell ) == 'reserve_id' %]
1112
                                                            <li class="dropdown-header">Hold records</li>
1113
                                                            <li>
1114
                                                                <a href="#" data-submit="batch_modify_holds" data-toggle="tooltip" data-placement="right" title="Send visible results to batch hold modification" class="batch_op send_to_hold_mod">Batch hold modification</a>
1115
                                                            </li>
1116
                                                        [% END %]
1098
                                                    [% END # /FOREACH header_ro %]
1117
                                                    [% END # /FOREACH header_ro %]
1099
                                                </ul> <!-- /.dropdown-menu -->
1118
                                                </ul> <!-- /.dropdown-menu -->
1100
                                            </div> <!-- /.dropdown -->
1119
                                            </div> <!-- /.dropdown -->
1101
                                        [% END # /IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers ) %]
1120
                                        [% END # /IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers || batch_reserve_ids ) %]
1102
1121
1103
                                        [% IF ( unlimited_total > 10 && limit <= 1000 ) %]
1122
                                        [% IF ( unlimited_total > 10 && limit <= 1000 ) %]
1104
                                            <div class="btn-group">
1123
                                            <div class="btn-group">
Lines 1127-1133 Link Here
1127
                                            </div>
1146
                                            </div>
1128
                                        [% END # /IF ( unlimited_total > 10 && limit <= 1000 ) %]
1147
                                        [% END # /IF ( unlimited_total > 10 && limit <= 1000 ) %]
1129
1148
1130
                                        [% IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers ) %]
1149
                                        [% IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers || batch_reserve_ids ) %]
1131
                                            <a href="#" class="btn btn-link" id="toggle_auto_links">
1150
                                            <a href="#" class="btn btn-link" id="toggle_auto_links">
1132
                                                <i class="fa-solid fa-eye autolink" style="display:none"></i>
1151
                                                <i class="fa-solid fa-eye autolink" style="display:none"></i>
1133
                                                <i class="fa-solid fa-eye-slash autolink"></i>
1152
                                                <i class="fa-solid fa-eye-slash autolink"></i>
1134
- 

Return to bug 36135