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

(-)a/installer/data/mysql/atomicupdate/bug_37661-EnableBooking_syspref.pl (+17 lines)
Line 0 Link Here
1
use Modern::Perl;
2
use Koha::Installer::Output qw(say_warning say_success say_info);
3
4
return {
5
    bug_number  => "37661",
6
    description => "Add a way to enable/disable bookings",
7
    up          => sub {
8
        my ($args) = @_;
9
        my ( $dbh, $out ) = @$args{qw(dbh out)};
10
11
        $dbh->do(
12
            q{INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES ('EnableBooking','1',NULL,'If enabled, activate every functionalities related with Bookings module','YesNo')}
13
        );
14
15
        say_success( $out, "Added new system preference 'EnableBooking'" );
16
    },
17
};
(-)a/installer/data/mysql/mandatory/sysprefs.sql (+1 lines)
Lines 251-256 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
251
('EmailPurchaseSuggestions','0','0|EmailAddressForSuggestions|BranchEmailAddress|KohaAdminEmailAddress','Choose email address that new purchase suggestions will be sent to: ','Choice'),
251
('EmailPurchaseSuggestions','0','0|EmailAddressForSuggestions|BranchEmailAddress|KohaAdminEmailAddress','Choose email address that new purchase suggestions will be sent to: ','Choice'),
252
('EmailSMSSendDriverFromAddress', '', '', 'Email SMS send driver from address override', 'Free'),
252
('EmailSMSSendDriverFromAddress', '', '', 'Email SMS send driver from address override', 'Free'),
253
('EnableAdvancedCatalogingEditor','0','','Enable the Rancor advanced cataloging editor','YesNo'),
253
('EnableAdvancedCatalogingEditor','0','','Enable the Rancor advanced cataloging editor','YesNo'),
254
('EnableBooking','1',NULL,'If enabled, activate every functionnalities related with Bookings module','YesNo'),
254
('EnableBorrowerFiles','0',NULL,'If enabled, allows librarians to upload and attach arbitrary files to a borrower record.','YesNo'),
255
('EnableBorrowerFiles','0',NULL,'If enabled, allows librarians to upload and attach arbitrary files to a borrower record.','YesNo'),
255
('EnableExpiredPasswordReset', '0', NULL, 'Enable ability for patrons with expired password to reset their password directly', 'YesNo'),
256
('EnableExpiredPasswordReset', '0', NULL, 'Enable ability for patrons with expired password to reset their password directly', 'YesNo'),
256
('EnableItemGroupHolds','0','','Enable item groups holds feature','YesNo'),
257
('EnableItemGroupHolds','0','','Enable item groups holds feature','YesNo'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/biblio-view-menu.inc (-1 / +1 lines)
Lines 43-49 Link Here
43
            [% END %]
43
            [% END %]
44
        </li>
44
        </li>
45
45
46
        [% IF ( CAN_user_circulate_manage_bookings && biblio.items.filter_by_bookable.count ) %]
46
        [% IF ( Koha.Preference('EnableBooking') && CAN_user_circulate_manage_bookings && biblio.items.filter_by_bookable.count ) %]
47
            <li [% IF bookingsview %]class="active"[% END %]>
47
            <li [% IF bookingsview %]class="active"[% END %]>
48
                <a href="/cgi-bin/koha/bookings/list.pl?biblionumber=[% biblio_object_id | url %]">Bookings (<span class="bookings_count">[% biblio.bookings.filter_by_active.count | html %]</span>)</a>
48
                <a href="/cgi-bin/koha/bookings/list.pl?biblionumber=[% biblio_object_id | url %]">Bookings (<span class="bookings_count">[% biblio.bookings.filter_by_active.count | html %]</span>)</a>
49
            </li>
49
            </li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc (-2 / +1 lines)
Lines 283-290 Link Here
283
            [% END %]
283
            [% END %]
284
        [% END %]
284
        [% END %]
285
    [% END %]
285
    [% END %]
286
286
    [% IF ( Koha.Preference('EnableBooking') &&  CAN_user_circulate_manage_bookings && biblio.items.filter_by_bookable.count ) %]
287
    [% IF ( CAN_user_circulate_manage_bookings && biblio.items.filter_by_bookable.count ) %]
288
        <div class="btn-group"
287
        <div class="btn-group"
289
            ><button id="placbooking" class="btn btn-default" data-bs-toggle="modal" data-bs-target="#placeBookingModal" data-biblionumber="[% biblionumber | html %]"><i class="fa fa-calendar"></i> Place booking</button></div
288
            ><button id="placbooking" class="btn btn-default" data-bs-toggle="modal" data-bs-target="#placeBookingModal" data-biblionumber="[% biblionumber | html %]"><i class="fa fa-calendar"></i> Place booking</button></div
290
        >
289
        >
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-detail-tabs.inc (-17 / +21 lines)
Lines 23-32 Link Here
23
            [% WRAPPER tab_item tabname= "holds" %]
23
            [% WRAPPER tab_item tabname= "holds" %]
24
                <span>Holds</span> ([% holds_count || 0 | html %])
24
                <span>Holds</span> ([% holds_count || 0 | html %])
25
            [% END %]
25
            [% END %]
26
            [% WRAPPER tab_item tabname="bookings" %]
26
            [% IF Koha.Preference('EnableBooking') %]
27
                [% SET bookings_count = patron.bookings.filter_by_active.count %]
27
                [% WRAPPER tab_item tabname="bookings" %]
28
                [% SET expired_bookings_count = patron.bookings.count - bookings_count %]
28
                    [% SET bookings_count = patron.bookings.filter_by_active.count %]
29
                <span class="bookings_count">Bookings ([% bookings_count || 0 | html %])</span>
29
                    [% SET expired_bookings_count = patron.bookings.count - bookings_count %]
30
                    <span class="bookings_count">Bookings ([% bookings_count || 0 | html %])</span>
31
                [% END %]
30
            [% END %]
32
            [% END %]
31
        [% END %]
33
        [% END %]
32
34
Lines 214-232 Link Here
214
                [% END %]
216
                [% END %]
215
            [% END # /tab_panel#holds %]
217
            [% END # /tab_panel#holds %]
216
218
217
            [% WRAPPER tab_panel tabname="bookings" %]
219
            [% IF Koha.Preference('EnableBooking') %]
218
                [% IF ( bookings_count ) %]
220
                [% WRAPPER tab_panel tabname="bookings" %]
219
                    <fieldset class="action filters" style="cursor:pointer;">
221
                    [% IF ( bookings_count ) %]
220
                        <a id="expired_filter" class="filtered"><i class="fa fa-bars"></i> Show expired</a>
222
                        <fieldset class="action filters" style="cursor:pointer;">
221
                    </fieldset>
223
                            <a id="expired_filter" class="filtered"><i class="fa fa-bars"></i> Show expired</a>
222
                    <table id="bookings_table" style="width: 100% !Important;"></table>
224
                        </fieldset>
223
                [% ELSIF ( expired_bookings_count ) %]
225
                        <table id="bookings_table" style="width: 100% !Important;"></table>
224
                    <fieldset class="action filters" style="cursor:pointer;">
226
                    [% ELSIF ( expired_bookings_count ) %]
225
                        <a id="expired_filter"><i class="fa fa-filter"></i> Hide expired</a>
227
                        <fieldset class="action filters" style="cursor:pointer;">
226
                    </fieldset>
228
                            <a id="expired_filter"><i class="fa fa-filter"></i> Hide expired</a>
227
                    <table id="bookings_table" style="width: 100% !Important;"></table>
229
                        </fieldset>
228
                [% ELSE %]
230
                        <table id="bookings_table" style="width: 100% !Important;"></table>
229
                    <p>Patron has nothing booked.</p>
231
                    [% ELSE %]
232
                        <p>Patron has nothing booked.</p>
233
                    [% END %]
230
                [% END %]
234
                [% END %]
231
            [% END %]
235
            [% END %]
232
        [% END %]
236
        [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref (-1 / +9 lines)
Lines 1534-1537 Circulation: Link Here
1534
              choices:
1534
              choices:
1535
                  1: Enable
1535
                  1: Enable
1536
                  0: Disable
1536
                  0: Disable
1537
            - "the curbside pickup module."
1537
            - "the curbside pickup module."
1538
1539
    Booking module:
1540
        -
1541
            - pref: EnableBooking
1542
              choices:
1543
                  1: Enable
1544
                  0: Disable
1545
            - "the booking module."
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/ISBDdetail.tt (-3 / +7 lines)
Lines 82-91 Link Here
82
    <script>
82
    <script>
83
        dayjs.extend(window.dayjs_plugin_isSameOrBefore);
83
        dayjs.extend(window.dayjs_plugin_isSameOrBefore);
84
    </script>
84
    </script>
85
    [% INCLUDE 'calendar.inc' %]
86
    [% INCLUDE 'select2.inc' %]
87
    [% Asset.js("js/catalog.js") | $raw %]
85
    [% Asset.js("js/catalog.js") | $raw %]
88
    [% Asset.js("js/modals/place_booking.js") | $raw %]
86
87
    [% IF Koha.Preference('EnableBooking') %]
88
        [% INCLUDE 'calendar.inc' %]
89
        [% INCLUDE 'select2.inc' %]
90
        [% Asset.js("js/modals/place_booking.js") | $raw %]
91
    [% END %]
92
89
    [% Asset.js("js/browser.js") | $raw %]
93
    [% Asset.js("js/browser.js") | $raw %]
90
    [% IF ( Koha.Preference('CatalogConcerns') ) %]
94
    [% IF ( Koha.Preference('CatalogConcerns') ) %]
91
        <script>
95
        <script>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt (-3 / +7 lines)
Lines 206-215 Link Here
206
    <script>
206
    <script>
207
        dayjs.extend(window.dayjs_plugin_isSameOrBefore);
207
        dayjs.extend(window.dayjs_plugin_isSameOrBefore);
208
    </script>
208
    </script>
209
    [% INCLUDE 'calendar.inc' %]
210
    [% INCLUDE 'select2.inc' %]
211
    [% Asset.js("js/catalog.js") | $raw %]
209
    [% Asset.js("js/catalog.js") | $raw %]
212
    [% Asset.js("js/modals/place_booking.js") | $raw %]
210
211
    [% IF Koha.Preference('EnableBooking') %]
212
        [% INCLUDE 'calendar.inc' %]
213
        [% INCLUDE 'select2.inc' %]
214
        [% Asset.js("js/modals/place_booking.js") | $raw %]
215
    [% END %]
216
213
    [% Asset.js("js/browser.js") | $raw %]
217
    [% Asset.js("js/browser.js") | $raw %]
214
    [% IF ( Koha.Preference('CatalogConcerns') ) %]
218
    [% IF ( Koha.Preference('CatalogConcerns') ) %]
215
        <script>
219
        <script>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-4 / +9 lines)
Lines 1254-1263 Link Here
1254
[% END %]
1254
[% END %]
1255
1255
1256
[% MACRO jsinclude BLOCK %]
1256
[% MACRO jsinclude BLOCK %]
1257
    [% INCLUDE 'calendar.inc' %]
1258
    [% INCLUDE 'catalog-strings.inc' %]
1257
    [% INCLUDE 'catalog-strings.inc' %]
1259
    [% INCLUDE 'select2.inc' %]
1258
    [% IF Koha.Preference('EnableBooking') %]
1260
    [% INCLUDE 'js-date-format.inc' %]
1259
        [% INCLUDE 'calendar.inc' %]
1260
        [% INCLUDE 'select2.inc' %]
1261
        [% INCLUDE 'js-date-format.inc' %]
1262
    [% END %]
1261
    [% Asset.js("js/catalog.js") | $raw %]
1263
    [% Asset.js("js/catalog.js") | $raw %]
1262
    [% Asset.js("js/recalls.js") | $raw %]
1264
    [% Asset.js("js/recalls.js") | $raw %]
1263
    [% Asset.js("js/coce.js") | $raw %]
1265
    [% Asset.js("js/coce.js") | $raw %]
Lines 1719-1725 Link Here
1719
    [% INCLUDE 'js-patron-format.inc' %]
1721
    [% INCLUDE 'js-patron-format.inc' %]
1720
    [% INCLUDE 'js-biblio-format.inc' %]
1722
    [% INCLUDE 'js-biblio-format.inc' %]
1721
    [% Asset.js("js/browser.js") | $raw %]
1723
    [% Asset.js("js/browser.js") | $raw %]
1722
    [% Asset.js("js/modals/place_booking.js") | $raw %]
1724
1725
    [% IF Koha.Preference('EnableBooking') %]
1726
        [% Asset.js("js/modals/place_booking.js") | $raw %]
1727
    [% END %]
1723
    <script>
1728
    <script>
1724
        var browser;
1729
        var browser;
1725
        browser = KOHA.browser("[% searchid | html %]", parseInt(biblionumber, 10));
1730
        browser = KOHA.browser("[% searchid | html %]", parseInt(biblionumber, 10));
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/imageviewer.tt (-3 / +7 lines)
Lines 136-145 Link Here
136
    <script>
136
    <script>
137
        dayjs.extend(window.dayjs_plugin_isSameOrBefore);
137
        dayjs.extend(window.dayjs_plugin_isSameOrBefore);
138
    </script>
138
    </script>
139
    [% INCLUDE 'calendar.inc' %]
140
    [% INCLUDE 'select2.inc' %]
141
    [% Asset.js("js/catalog.js") | $raw %]
139
    [% Asset.js("js/catalog.js") | $raw %]
142
    [% Asset.js("js/modals/place_booking.js") | $raw %]
140
141
    [% IF Koha.Preference('EnableBooking') %]
142
        [% INCLUDE 'calendar.inc' %]
143
        [% INCLUDE 'select2.inc' %]
144
        [% Asset.js("js/modals/place_booking.js") | $raw %]
145
    [% END %]
146
143
    [% IF ( Koha.Preference('CatalogConcerns') ) %]
147
    [% IF ( Koha.Preference('CatalogConcerns') ) %]
144
        <script>
148
        <script>
145
            /* Set a variable needed by add_catalog_concern.js */
149
            /* Set a variable needed by add_catalog_concern.js */
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/labeledMARCdetail.tt (-3 / +7 lines)
Lines 95-105 Link Here
95
    <script>
95
    <script>
96
        dayjs.extend(window.dayjs_plugin_isSameOrBefore);
96
        dayjs.extend(window.dayjs_plugin_isSameOrBefore);
97
    </script>
97
    </script>
98
    [% INCLUDE 'calendar.inc' %]
99
    [% INCLUDE 'select2.inc' %]
100
    [% Asset.js("js/catalog.js") | $raw %]
98
    [% Asset.js("js/catalog.js") | $raw %]
101
    [% Asset.js("js/modals/place_booking.js") | $raw %]
102
    [% Asset.js("js/browser.js") | $raw %]
99
    [% Asset.js("js/browser.js") | $raw %]
100
101
    [% IF Koha.Preference('EnableBooking') %]
102
        [% INCLUDE 'calendar.inc' %]
103
        [% INCLUDE 'select2.inc' %]
104
        [% Asset.js("js/modals/place_booking.js") | $raw %]
105
    [% END %]
106
103
    [% IF ( Koha.Preference('CatalogConcerns') ) %]
107
    [% IF ( Koha.Preference('CatalogConcerns') ) %]
104
        <script>
108
        <script>
105
            /* Set a variable needed by add_catalog_concern.js */
109
            /* Set a variable needed by add_catalog_concern.js */
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt (-34 / +40 lines)
Lines 396-432 Link Here
396
                                        <input type="submit" name="submit" class="btn btn-primary btn-xs" value="Update" />
396
                                        <input type="submit" name="submit" class="btn btn-primary btn-xs" value="Update" />
397
                                    </form>
397
                                    </form>
398
                                </li>
398
                                </li>
399
                                <li class="bookable">
399
                                [% IF Koha.Preference('EnableBooking') %]
400
                                    <span class="label"> Bookable: </span>
400
                                    <li class="bookable">
401
                                    [% IF ( CAN_user_circulate ) %]
401
                                        <span class="label"> Bookable: </span>
402
                                        <form action="updateitem.pl" method="post">
402
                                        [% IF ( CAN_user_circulate ) %]
403
                                            [% INCLUDE 'csrf-token.inc' %]
403
                                            <form action="updateitem.pl" method="post">
404
                                            <input type="hidden" name="biblionumber" value="[% ITEM_DAT.biblionumber | html %]" />
404
                                                [% INCLUDE 'csrf-token.inc' %]
405
                                            <input type="hidden" name="biblioitemnumber" value="[% ITEM_DAT.biblioitemnumber | html %]" />
405
                                                <input type="hidden" name="biblionumber" value="[% ITEM_DAT.biblionumber | html %]" />
406
                                            <input type="hidden" name="itemnumber" value="[% ITEM_DAT.itemnumber | html %]" />
406
                                                <input type="hidden" name="biblioitemnumber" value="[% ITEM_DAT.biblioitemnumber | html %]" />
407
                                            <select name="bookable">
407
                                                <input type="hidden" name="itemnumber" value="[% ITEM_DAT.itemnumber | html %]" />
408
                                                [% IF ITEM_DAT.bookable == 1 %]
408
                                                <select name="bookable">
409
                                                    <option value="">Follow item type</option>
409
                                                    [% IF ITEM_DAT.bookable == 1 %]
410
                                                    <option value="1" selected="selected">Yes</option>
410
                                                        <option value="">Follow item type</option>
411
                                                    <option value="0">No</option>
411
                                                        <option value="1" selected="selected">Yes</option>
412
                                                [% ELSIF ITEM_DAT.bookable == 0 %]
412
                                                        <option value="0">No</option>
413
                                                    <option value="">Follow item type</option>
413
                                                    [% ELSIF ITEM_DAT.bookable == 0 %]
414
                                                    <option value="1">Yes</option>
414
                                                        <option value="">Follow item type</option>
415
                                                    <option value="0" selected="selected">No</option>
415
                                                        <option value="1">Yes</option>
416
                                                [% ELSE %]
416
                                                        <option value="0" selected="selected">No</option>
417
                                                    <option value="" selected="selected">Follow item type</option>
417
                                                    [% ELSE %]
418
                                                    <option value="1">Yes</option>
418
                                                        <option value="" selected="selected">Follow item type</option>
419
                                                    <option value="0">No</option>
419
                                                        <option value="1">Yes</option>
420
                                                [% END %]
420
                                                        <option value="0">No</option>
421
                                            </select>
421
                                                    [% END %]
422
                                            <input type="hidden" name="op" value="cud-set_bookable" />
422
                                                </select>
423
                                            <input type="submit" name="submit" class="btn btn-primary btn-xs" value="Update" />
423
                                                <input type="hidden" name="op" value="cud-set_bookable" />
424
                                        </form>
424
                                                <input type="submit" name="submit" class="btn btn-primary btn-xs" value="Update" />
425
                                    [% ELSE %]
425
                                            </form>
426
                                        [% IF ITEM_DAT.bookable == 1 %]Yes[% ELSIF ITEM_DAT.bookable == 0 %]No[% ELSE %]Follow item type[% END %]
426
                                        [% ELSE %]
427
                                    [% END %]
427
                                            [% IF ITEM_DAT.bookable == 1 %]Yes[% ELSIF ITEM_DAT.bookable == 0 %]No[% ELSE %]Follow item type[% END %]
428
                                    <span class="hint"> Item type bookable: [% IF ITEM_DAT.effective_itemtype.bookable == 1 %]Yes[% ELSE %]No[% END %]</span>
428
                                        [% END %]
429
                                </li>
429
                                        <span class="hint"> Item type bookable: [% IF ITEM_DAT.effective_itemtype.bookable == 1 %]Yes[% ELSE %]No[% END %]</span>
430
                                    </li>
431
                                [% END %]
430
                            </ol>
432
                            </ol>
431
                            <!-- /.bibliodetails -->
433
                            <!-- /.bibliodetails -->
432
                        </div>
434
                        </div>
Lines 584-595 Link Here
584
        dayjs.extend(window.dayjs_plugin_isSameOrBefore);
586
        dayjs.extend(window.dayjs_plugin_isSameOrBefore);
585
    </script>
587
    </script>
586
    [% INCLUDE 'js-patron-format.inc' %]
588
    [% INCLUDE 'js-patron-format.inc' %]
587
    [% INCLUDE 'calendar.inc' %]
588
    [% INCLUDE 'select2.inc' %]
589
    [% Asset.js("js/catalog.js") | $raw %]
589
    [% Asset.js("js/catalog.js") | $raw %]
590
    [% Asset.js("js/modals/place_booking.js") | $raw %]
591
    [% Asset.js("js/browser.js") | $raw %]
590
    [% Asset.js("js/browser.js") | $raw %]
592
    [% Asset.js("js/checkout_renewals_modal.js") | $raw %]
591
    [% Asset.js("js/checkout_renewals_modal.js") | $raw %]
592
593
    [% IF Koha.Preference('EnableBooking') %]
594
        [% INCLUDE 'calendar.inc' %]
595
        [% INCLUDE 'select2.inc' %]
596
        [% Asset.js("js/modals/place_booking.js") | $raw %]
597
    [% END %]
598
593
    [% IF ( Koha.Preference('CatalogConcerns') ) %]
599
    [% IF ( Koha.Preference('CatalogConcerns') ) %]
594
        <script>
600
        <script>
595
            /* Set a variable needed by add_catalog_concern.js */
601
            /* Set a variable needed by add_catalog_concern.js */
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation-home.tt (-4 / +6 lines)
Lines 76-82 Link Here
76
76
77
        <div class="col-12 col-sm-4">
77
        <div class="col-12 col-sm-4">
78
            <div class="holds-bookings">
78
            <div class="holds-bookings">
79
                <h3>Holds and bookings</h3>
79
                <h3>Holds [% IF Koha.Preference('EnableBooking') %]and bookings[% END %]</h3>
80
80
81
                <ul class="buttons-list">
81
                <ul class="buttons-list">
82
                    <li>
82
                    <li>
Lines 96-104 Link Here
96
                    <li>
96
                    <li>
97
                        <a class="circ-button holds-ratio" href="/cgi-bin/koha/circ/reserveratios.pl"><i class="fa-solid fa-chart-line"></i> Hold ratios</a>
97
                        <a class="circ-button holds-ratio" href="/cgi-bin/koha/circ/reserveratios.pl"><i class="fa-solid fa-chart-line"></i> Hold ratios</a>
98
                    </li>
98
                    </li>
99
                    <li>
99
                    [% IF Koha.Preference('EnableBooking') %]
100
                        <a class="circ-button bookings-to-collect" href="/cgi-bin/koha/circ/pendingbookings.pl"><i class="fa-solid fa-calendar-days"></i> Bookings to collect</a>
100
                        <li>
101
                    </li>
101
                            <a class="circ-button bookings-to-collect" href="/cgi-bin/koha/circ/pendingbookings.pl"><i class="fa-solid fa-calendar-days"></i> Bookings to collect</a>
102
                        </li>
103
                    [% END %]
102
                </ul>
104
                </ul>
103
            </div>
105
            </div>
104
106
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt (-4 / +7 lines)
Lines 752-758 Link Here
752
    [% INCLUDE 'modals/resolve_return_claim.inc' %]
752
    [% INCLUDE 'modals/resolve_return_claim.inc' %]
753
[% END %]
753
[% END %]
754
754
755
[% INCLUDE modals/cancel_booking.inc %]
755
[% IF Koha.Preference('EnableBooking') %]
756
    [% INCLUDE modals/cancel_booking.inc %]
757
[% END %]
756
758
757
[% MACRO jsinclude BLOCK %]
759
[% MACRO jsinclude BLOCK %]
758
    [% INCLUDE 'datatables.inc' %]
760
    [% INCLUDE 'datatables.inc' %]
Lines 786-792 Link Here
786
    [% END %]
788
    [% END %]
787
    [% Asset.js("js/holds.js") | $raw %]
789
    [% Asset.js("js/holds.js") | $raw %]
788
    [% INCLUDE 'calendar.inc' %]
790
    [% INCLUDE 'calendar.inc' %]
789
    [% Asset.js("js/cancel_booking_modal.js") | $raw %]
791
    [% IF Koha.Preference('EnableBooking') %]
792
        [% Asset.js("js/cancel_booking_modal.js") | $raw %]
793
        [% Asset.js("js/tables/bookings.js") | $raw %]
794
    [% END %]
790
    [% Asset.js("js/combobox.js") | $raw %]
795
    [% Asset.js("js/combobox.js") | $raw %]
791
    [% INCLUDE 'js-biblio-format.inc' %]
796
    [% INCLUDE 'js-biblio-format.inc' %]
792
    [% INCLUDE 'str/members-menu.inc' %]
797
    [% INCLUDE 'str/members-menu.inc' %]
Lines 855-861 Link Here
855
        });
860
        });
856
    </script>
861
    </script>
857
    [% Asset.js("js/checkouts.js") | $raw %]
862
    [% Asset.js("js/checkouts.js") | $raw %]
858
    [% Asset.js("js/tables/bookings.js") | $raw %]
859
[% END %]
863
[% END %]
860
864
861
[% INCLUDE 'intranet-bottom.inc' %]
865
[% INCLUDE 'intranet-bottom.inc' %]
862
- 

Return to bug 37661