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

(-)a/koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js (-3 / +6 lines)
Lines 363-376 $(document).ready(function() { Link Here
363
                "data": "cost",
363
                "data": "cost",
364
                "orderable": true,
364
                "orderable": true,
365
                "render": function(data, type, row, meta) {
365
                "render": function(data, type, row, meta) {
366
                    return escape_str(data);
366
                    let cost = row.cost && row.cost.replaceAll(',','.');
367
                    cost = Number(cost) || 0;
368
                    return cost.escapeHtml().format_price();
367
                }
369
                }
368
            },
370
            },
369
            {
371
            {
370
                "data": "paid_price",
372
                "data": "paid_price",
371
                "orderable": true,
373
                "orderable": true,
372
                "render": function(data, type, row, meta) {
374
                "render": function(data, type, row, meta) {
373
                    return escape_str(data);
375
                    let paid_price = row.paid_price && row.paid_price.replaceAll(',','.');
376
                    paid_price = Number(paid_price) || 0;
377
                    return paid_price.escapeHtml().format_price();
374
                }
378
                }
375
            },
379
            },
376
            {
380
            {
377
- 

Return to bug 32595