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

(-)a/admin/columns_settings.yml (+34 lines)
Lines 2270-2275 modules: Link Here
2270
              columnname: actions
2270
              columnname: actions
2271
              cannot_be_toggled: 1
2271
              cannot_be_toggled: 1
2272
              cannot_be_modified: 1
2272
              cannot_be_modified: 1
2273
    
2274
    inventory:
2275
        inventoryt:
2276
            default_display_length: 20
2277
            columns:
2278
            -
2279
                columnname: seen
2280
                cannot_be_toggled: 1
2281
                cannot_be_modified: 1
2282
            -
2283
                columnname: barcode
2284
            -
2285
                columnname: call_number
2286
                cannot_be_toggled: 1
2287
                cannot_be_modified: 1
2288
            -
2289
                columnname: library
2290
            -
2291
                columnname: collection_code
2292
            -
2293
                columnname: title
2294
            -
2295
                columnname: notforloan
2296
            -
2297
                columnname: lost
2298
            -
2299
                columnname: damaged
2300
            -
2301
                columnname: withdrawn
2302
            -
2303
                columnname: last_seen
2304
            -
2305
                columnname: problems
2306
2273
  pos:
2307
  pos:
2274
    pay:
2308
    pay:
2275
      invoices:
2309
      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