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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt (-4 / +10 lines)
Lines 113-126 Link Here
113
113
114
[% MACRO jsinclude BLOCK %]
114
[% MACRO jsinclude BLOCK %]
115
    [% INCLUDE 'datatables.inc' %]
115
    [% INCLUDE 'datatables.inc' %]
116
    <script>
117
        let library_ids = [];
118
        [% FOR library IN branchesloop %]
119
            library_ids.push("[% library.branchcode | html %]");
120
        [% END %]
121
    </script>
122
116
    <script>
123
    <script>
117
        $(document).ready(function() {
124
        $(document).ready(function() {
118
            [% FOREACH branchesloo IN branchesloop %]
125
            library_ids.forEach(library_id => {
119
                $("#transferst[% branchesloo.branchcode | html %]").kohaTable({
126
                $(`#transferst${library_id}`).kohaTable({
120
                    dom: "t",
127
                    dom: "t",
121
                    paging: false,
128
                    paging: false,
122
                });
129
                });
123
            [% END %]
130
            }
124
        });
131
        });
125
    </script>
132
    </script>
126
[% END %]
133
[% END %]
127
- 

Return to bug 41568