<div class="box-header"> 
    <h3><i class='fa-fw fa fa-shopping-basket'></i><?php echo $_translator->_getTranslation(ucfirst($_reporte->getTituloReporte()));?></h3>
    <div class='box-icon'><i class='icon fa fa-tasks'></i></div>
</div>
<div class='box-content'>
    <div class='row'>
        <div class="col-lg-12">
            <?php
            $data = $_reporte->getReporte();
            if(count($data)<= 0){
                echo "There is not any data.";
                exit;
            }
            ?>
            <table id="tblReport" class="table table-striped table-bordered table-condensed">
            <thead class="table-header">
            <tr>
                <?php
                foreach($data[0] as $key =>$value ){?>
                    <th style='text-align: center'><?php echo $_translator->_getTranslation($key); ?></th><?php      
                }?>
            </tr>
            </thead>
            <tbody>
            <?php
                foreach($data as $row){?>
                    <tr><?php
                        foreach($row as $key => $value){?>
                            <td><?php echo $value?></td><?php        
                        }?>
                    </tr><?php 
                }?>
            </tbody>
            </table>
        </div>
    </div>
</div>
<script type="text/javascript" language="javascript">
    $('#tblReport').DataTable( {paginate:false,filter:true});
</script>