Bug 41568: Tidy kohaTable - circ/transfers_to_send.tt
Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
a27d8ad394
commit
5ab1ea2813
|
|
@ -96,14 +96,21 @@
|
|||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
[% INCLUDE 'datatables.inc' %]
|
||||
<script>
|
||||
let library_ids = [];
|
||||
[% FOR library IN libraries %]
|
||||
library_ids.push("[% library.branchcode | html %]");
|
||||
[% END %]
|
||||
</script>
|
||||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
[% FOREACH library IN libraries %]
|
||||
$("#transferst[% library.branchcode | html %]").kohaTable({
|
||||
library_ids.forEach(library_id => {
|
||||
$(`#transferst${library_id}`).kohaTable({
|
||||
dom: "t",
|
||||
paging: false,
|
||||
});
|
||||
[% END %]
|
||||
});
|
||||
});
|
||||
</script>
|
||||
[% END %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue