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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt (-2 / +4 lines)
Lines 266-271 Link Here
266
[% MACRO jsinclude BLOCK %]
266
[% MACRO jsinclude BLOCK %]
267
    [% Asset.js("js/admin-menu.js") | $raw %]
267
    [% Asset.js("js/admin-menu.js") | $raw %]
268
    [% INCLUDE 'datatables.inc' %]
268
    [% INCLUDE 'datatables.inc' %]
269
    <script>
270
        let table_settings = [% TablesSettings.GetTableSettings( 'admin', 'currency', 'currencies-table', 'json' ) | $raw %]
271
    </script>
272
269
    <script>
273
    <script>
270
        function check_currency(val) {
274
        function check_currency(val) {
271
            if ( val == 1.0 ) {
275
            if ( val == 1.0 ) {
Lines 279-285 Link Here
279
        }
283
        }
280
284
281
        $(document).ready(function() {
285
        $(document).ready(function() {
282
            let table_settings = [% TablesSettings.GetTableSettings( 'admin', 'currency', 'currencies-table', 'json' ) | $raw %]
283
            $("#currencies-table").kohaTable({}, table_settings);
286
            $("#currencies-table").kohaTable({}, table_settings);
284
287
285
            // prevents users to check active with a currency != 1
288
            // prevents users to check active with a currency != 1
286
- 

Return to bug 41564