add format number in datatables

This commit is contained in:
amazuecos
2025-02-09 00:25:52 +01:00
parent 21a4e5b8bd
commit f532c79b27
17 changed files with 361 additions and 132 deletions

View File

@ -277,9 +277,9 @@ theTable = $('#tableOfPresupuestos').DataTable({
<?php endif; ?>
{ 'data': 'titulo' },
{ 'data': 'paginas' },
{ 'data': 'tirada' },
{ 'data': 'total_presupuesto' },
{ 'data': 'paginas',render : (d) => `<span class="autonumeric">${d}</span>` },
{ 'data': 'tirada',render : (d) => `<span class="autonumeric">${d}</span>` },
{ 'data': 'total_presupuesto',render : (d) => `<span class="autonumeric">${d}</span>` },
{ 'data': 'estado' ,
'render': function ( data, type, row, meta ) {
if(data=='borrador')