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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt (-29 / +54 lines)
Lines 430-457 Link Here
430
                    "items"
430
                    "items"
431
                ],
431
                ],
432
                'dom': 'C<"top pager"ilpfB><"#filter_c">tr<"bottom pager"ip>',
432
                'dom': 'C<"top pager"ilpfB><"#filter_c">tr<"bottom pager"ip>',
433
                "columnDefs": [ {
434
                    "targets": [3,4,5,9],
435
                    "render": function (data, type, row, meta) {
436
                        if ( data != null ) {
437
                            return data.escapeHtml();
438
                        }
439
                        else {
440
                            return "";
441
                        }
442
                    }
443
                },
444
                {
445
                    "targets": [8,10],
446
                    "render": function (data, type, row, meta) {
447
                        if ( data != null ) {
448
                            return data.escapeHtml().format_price();
449
                        }
450
                        else {
451
                            return "";
452
                        }
453
                    }
454
                } ],
455
                "columns": [
433
                "columns": [
456
                    { "data": "basket.name",
434
                    { "data": "basket.name",
457
                      "orderable": true,
435
                      "orderable": true,
Lines 493-511 Link Here
493
                        "data": "biblio.author",
471
                        "data": "biblio.author",
494
                        "visible": false,
472
                        "visible": false,
495
                        "searchable": true,
473
                        "searchable": true,
496
                        "orderable": false
474
                        "orderable": false,
475
                        "render": function (data, type, row, meta) {
476
                            if ( data != null ) {
477
                                return data.escapeHtml();
478
                            }
479
                            else {
480
                                return "";
481
                            }
482
                        }
497
                    },
483
                    },
498
                    {
484
                    {
499
                        "data": "biblio.title",
485
                        "data": "biblio.title",
500
                        "visible": false,
486
                        "visible": false,
501
                        "searchable": true,
487
                        "searchable": true,
502
                        "orderable": false
488
                        "orderable": false,
489
                        "render": function (data, type, row, meta) {
490
                            if ( data != null ) {
491
                                return data.escapeHtml();
492
                            }
493
                            else {
494
                                return "";
495
                            }
496
                        }
503
                    },
497
                    },
504
                    {
498
                    {
505
                        "data": "biblio.isbn",
499
                        "data": "biblio.isbn",
506
                        "visible": false,
500
                        "visible": false,
507
                        "searchable": true,
501
                        "searchable": true,
508
                        "orderable": false
502
                        "orderable": false,
503
                        "render": function (data, type, row, meta) {
504
                            if ( data != null ) {
505
                                return data.escapeHtml();
506
                            }
507
                            else {
508
                                return "";
509
                            }
510
                        }
509
                    },
511
                    },
510
                    {
512
                    {
511
                        "data": function(row, type, val, meta) {
513
                        "data": function(row, type, val, meta) {
Lines 590-603 Link Here
590
                        "orderable": false
592
                        "orderable": false
591
                    },
593
                    },
592
                    {
594
                    {
593
                        "data": "replacement_price"
595
                        "data": "replacement_price",
596
                        "render": function (data, type, row, meta) {
597
                            if ( data != null ) {
598
                                return data.escapeHtml().format_price();
599
                            }
600
                            else {
601
                                return "";
602
                            }
603
                        }
594
                    },
604
                    },
595
                    {
605
                    {
596
                        "data": "quantity",
606
                        "data": "quantity",
597
                        "orderable": true
607
                        "orderable": true,
608
                        "render": function (data, type, row, meta) {
609
                            if ( data != null ) {
610
                                return data.escapeHtml();
611
                            }
612
                            else {
613
                                return "";
614
                            }
615
                        }
598
                    },
616
                    },
599
                    {
617
                    {
600
                        "data": "ecost"
618
                        "data": "ecost",
619
                        "render": function (data, type, row, meta) {
620
                            if ( data != null ) {
621
                                return data.escapeHtml().format_price();
622
                            }
623
                            else {
624
                                return "";
625
                            }
626
                        }
601
                    },
627
                    },
602
                    {
628
                    {
603
                        "data": function ( row, type, val, meta ) {
629
                        "data": function ( row, type, val, meta ) {
604
- 

Return to bug 8179