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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt (-12 / +2 lines)
Lines 414-428 Link Here
414
               "manager"
414
               "manager"
415
            ],
415
            ],
416
            "order": [[ 0, "asc" ]],
416
            "order": [[ 0, "asc" ]],
417
            "columnDefs": [ {
418
                "targets": [0,1,2],
419
                "render": function (data, type, row, meta) {
420
                    if ( type == 'display' ) {
421
                        return data.escapeHtml();
422
                    }
423
                    return data;
424
                }
425
            } ],
426
            "columns": [
417
            "columns": [
427
                {
418
                {
428
                    "data": "timestamp",
419
                    "data": "timestamp",
Lines 444-450 Link Here
444
                        else {
435
                        else {
445
                            fullname = row.manager.firstname + " " + row.manager.surname;
436
                            fullname = row.manager.firstname + " " + row.manager.surname;
446
                        }
437
                        }
447
                        return fullname;
438
                        return escape_str(fullname);
448
                    }
439
                    }
449
                },
440
                },
450
                {
441
                {
Lines 453-459 Link Here
453
                    "orderable": true,
444
                    "orderable": true,
454
                    "render": function(data, type, row, meta) {
445
                    "render": function(data, type, row, meta) {
455
                        var amt = row.amount * -1;
446
                        var amt = row.amount * -1;
456
                        return (amt).format_price();
447
                        return escape_price(amt);
457
                    }
448
                    }
458
                },
449
                },
459
                {
450
                {
460
- 

Return to bug 26273