mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
add format number in datatables
This commit is contained in:
@ -187,9 +187,9 @@ theTable = $('#tableOfPresupuestos').DataTable({
|
||||
{ 'data': 'titulo' },
|
||||
{ 'data': 'pais' },
|
||||
{ 'data': 'inc_rei' },
|
||||
{ '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')
|
||||
|
||||
Reference in New Issue
Block a user