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

(-)a/admin/columns_settings.yml (+32 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
    inventory:
2276
      inventoryt:
2277
        default_display_length: 20
2278
        columns:
2279
            -
2280
              columnname: seen
2281
              cannot_be_toggled: 1
2282
              cannot_be_modified: 1
2283
            -
2284
              columnname: barcode
2285
            -
2286
              columnname: call_number
2287
              cannot_be_toggled: 1
2288
              cannot_be_modified: 1
2289
            -
2290
              columnname: library
2291
            -
2292
              columnname: collection_code
2293
            -
2294
              columnname: title
2295
            -
2296
              columnname: notforloan
2297
            -
2298
              columnname: lost
2299
            -
2300
              columnname: damaged
2301
            -
2302
              columnname: withdrawn
2303
            -
2304
              columnname: last_seen
2305
            -
2306
              columnname: problems
2275
  pos:
2307
  pos:
2276
    pay:
2308
    pay:
2277
      invoices:
2309
      invoices:
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt (-4 / +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-481 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
479
481
480
            $("#continuewithoutmarkingbutton").click(function(){
482
            $("#continuewithoutmarkingbutton").click(function(){
481
                inventorydt.fnPageChange( 'next' );
483
                inventorydt.fnPageChange( 'next' );
482
- 

Return to bug 36496