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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transfers_to_send.tt (-4 / +10 lines)
Lines 96-109 Link Here
96
96
97
[% MACRO jsinclude BLOCK %]
97
[% MACRO jsinclude BLOCK %]
98
    [% INCLUDE 'datatables.inc' %]
98
    [% INCLUDE 'datatables.inc' %]
99
    <script>
100
        let library_ids = [];
101
        [% FOR library IN libraries %]
102
            library_ids.push("[% library.branchcode | html %]");
103
        [% END %]
104
    </script>
105
99
    <script>
106
    <script>
100
        $(document).ready(function() {
107
        $(document).ready(function() {
101
            [% FOREACH library IN libraries %]
108
            library_ids.forEach(library_id => {
102
                $("#transferst[% library.branchcode | html %]").kohaTable({
109
                $(`#transferst${library_id}`).kohaTable({
103
                    dom: "t",
110
                    dom: "t",
104
                    paging: false,
111
                    paging: false,
105
                });
112
                });
106
            [% END %]
113
            });
107
        });
114
        });
108
    </script>
115
    </script>
109
[% END %]
116
[% END %]
110
- 

Return to bug 41568