<div class="row-fluid">
<div class="span12">

<?php echo anchor('reportes/enfermedades_cronicas_Excel/'.$cvepaciente, '<i class="icon-save"></i>Excel', array('class' => 'btn btn-success btn-app'));?>
<h3><?php echo $subtitulo;?></h3>

    <table id="ventas-table" class="table table-striped table-bordered table-hover">
        <thead>
            <tr>
                <th>#</th>
                <th>CLAVE PACIENTE</th>
                <th>NOMBRE</th>
                <th>ENFERMEDAD CRONICA</th>              
             </tr>
        </thead>
        <tbody>
            <?php 
            $num = 0;
            foreach($query->result() as $row){
                $num++;  
                ?>
                              
            <tr>
                <td><?php echo $num; ?></td>
                <td><?php echo $row->cvepaciente; ?></td>
                <td><?php echo $row->paciente; ?></td>
                <td><?php echo $row->cronica; ?></td>

            </tr>
                
                
            <?php 
            
           
            
            }
            
            ?>
        </tbody>
        <tfoot>

            <tr>
                <th>#</th>
                <th>CLAVE PACIENTE</th>
                <th>NOMBRE</th>
                <th>ENFERMEDAD CRONICA</th>              
             </tr>
        </tfoot>
    </table> 
    

</div>
</div>

