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 117-130 Link Here
117
117
118
[% MACRO jsinclude BLOCK %]
118
[% MACRO jsinclude BLOCK %]
119
    [% INCLUDE 'datatables.inc' %]
119
    [% INCLUDE 'datatables.inc' %]
120
    <script>
121
        let library_ids = [];
122
        [% FOR library IN branchesloop %]
123
            library_ids.push("[% library.branchcode | html %]");
124
        [% END %]
125
    </script>
126
120
    <script>
127
    <script>
121
        $(document).ready(function() {
128
        $(document).ready(function() {
122
            [% FOREACH branchesloo IN branchesloop %]
129
            library_ids.forEach(library_id => {
123
                $("#transferst[% branchesloo.branchcode | html %]").kohaTable({
130
                $(`#transferst${library_id}`).kohaTable({
124
                    dom: "t",
131
                    dom: "t",
125
                    paging: false,
132
                    paging: false,
126
                });
133
                });
127
            [% END %]
134
            }
128
        });
135
        });
129
    </script>
136
    </script>
130
[% END %]
137
[% END %]
131
- 

Return to bug 41568