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

(-)a/admin/columns_settings.yml (+34 lines)
Lines 2276-2281 modules: Link Here
2276
              columnname: actions
2276
              columnname: actions
2277
              cannot_be_toggled: 1
2277
              cannot_be_toggled: 1
2278
              cannot_be_modified: 1
2278
              cannot_be_modified: 1
2279
2280
    inventory:
2281
        inventoryt:
2282
            default_display_length: 20
2283
            columns:
2284
            -
2285
                columnname: seen
2286
                cannot_be_toggled: 1
2287
                cannot_be_modified: 1
2288
            -
2289
                columnname: barcode
2290
            -
2291
                columnname: call_number
2292
                cannot_be_toggled: 1
2293
                cannot_be_modified: 1
2294
            -
2295
                columnname: library
2296
            -
2297
                columnname: collection_code
2298
            -
2299
                columnname: title
2300
            -
2301
                columnname: notforloan
2302
            -
2303
                columnname: lost
2304
            -
2305
                columnname: damaged
2306
            -
2307
                columnname: withdrawn
2308
            -
2309
                columnname: last_seen
2310
            -
2311
                columnname: problems
2312
2279
  pos:
2313
  pos:
2280
    pay:
2314
    pay:
2281
      invoices:
2315
      invoices:
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt (-3 / +5 lines)
Lines 3-8 Link Here
3
[% USE AuthorisedValues %]
3
[% USE AuthorisedValues %]
4
[% USE KohaDates %]
4
[% USE KohaDates %]
5
[% USE Branches %]
5
[% USE Branches %]
6
[% USE TablesSettings %]
6
[% PROCESS 'i18n.inc' %]
7
[% PROCESS 'i18n.inc' %]
7
[% SET footerjs = 1 %]
8
[% SET footerjs = 1 %]
8
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
Lines 401-406 Link Here
401
[% MACRO jsinclude BLOCK %]
402
[% MACRO jsinclude BLOCK %]
402
    [% INCLUDE 'datatables.inc' %]
403
    [% INCLUDE 'datatables.inc' %]
403
    [% INCLUDE 'calendar.inc' %]
404
    [% INCLUDE 'calendar.inc' %]
405
    [% INCLUDE 'columns_settings.inc' %]
404
    <script>
406
    <script>
405
        function checkForm() {
407
        function checkForm() {
406
            if ( $('#uploadbarcodes').val() && $('#barcodelist').val() ) {
408
            if ( $('#uploadbarcodes').val() && $('#barcodelist').val() ) {
Lines 453-459 Link Here
453
        }
455
        }
454
456
455
        $(document).ready(function(){
457
        $(document).ready(function(){
456
            inventorydt = $('#inventoryt').dataTable($.extend(true, {}, dataTablesDefaults, {
458
            var table_settings = [% TablesSettings.GetTableSettings( 'tools', 'inventory', 'inventoryt', 'json' ) | $raw %];
459
            inventorydt = KohaTable("inventoryt", {
457
                "pagingType": 'full_numbers',
460
                "pagingType": 'full_numbers',
458
                [% IF compareinv2barcd %]
461
                [% IF compareinv2barcd %]
459
                    // sort on callnumber
462
                    // sort on callnumber
Lines 474-480 Link Here
474
                        openWindow(this.href,'marcview',800,600);
477
                        openWindow(this.href,'marcview',800,600);
475
                    });
478
                    });
476
                }
479
                }
477
            } ));
480
            }, table_settings );
478
481
479
482
480
            $("#continuewithoutmarkingbutton").click(function(){
483
            $("#continuewithoutmarkingbutton").click(function(){
481
- 

Return to bug 36496