I have a table obtained from the database which I am trying to add columns to Total. I show the image so that it can be understood:
HTML code
<table id="tblKardexValorizado" class="table table-striped table-bordered table-condensed table-hover" cellpadding="0" cellspacing="0" width="100%">
<thead>
<tr class="encabezado">
<th>Sucursal</th>
<th>Articulo</th>
<th>Categoria</th>
<th>Unidad</th>
<th>Total de Ingresos</th>
<th>Valor de Ingresos</th>
<th>Total de Stock</th>
<th>Valor de Stock</th>
<th>Total de Ventas</th>
<th>Valor de Ventas</th>
<th>Utilidad Valorizada</th>
</tr>
</thead>
<tfoot>
<tr class="total">
<th>Total</th>
<th>Total</th>
<th>Total</th>
<th>Total</th>
<th>Total </th>
<th>Total </th>
<th>Total </th>
<th>Total </th>
<th>Total </th>
<th>Total</th>
<th>Total</th>
</tr>
</tfoot>
</table>