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

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