<?php
defined('BASEPATH') OR exit('No direct script access allowed');

?>
            <div class="content-wrapper">
                <section class="content-header">
                    <?php echo $pagetitle; ?>
                    <?php echo $breadcrumb; ?>
                </section>

                <section class="content">
                    <div class="row">
                        <div class="filterable">
                               
                        <div class="col-md-12">
                             <div class="box">
                                <div class="box-header with-border">
                                    <h3 class="box-title"><?php echo anchor('conceptos/conceptos/create', '<i class="fa fa-plus"></i> '. lang('conceptos_create'), array('class' => 'btn btn-block btn-primary btn-flat')); ?></h3>
                                    <div class="pull-right">
                                        <button class="btn btn-default btn-xs btn-filter"><span class="glyphicon glyphicon-filter"></span> Filter</button>
                                    </div>
                                </div>
                                <div class="box-body">
                                    <table id="tabla_listado" class="table table-striped table-hover">  
                                        <thead>
                                            <tr class="filters">
                                                <th><input type="text" class="form-control" placeholder="<?php echo lang('conceptos_concepto');?>"           disabled></th>
                                                <th><input type="text" class="form-control" placeholder="<?php echo lang('conceptos_nombre');?>"             disabled></th>
                                                <th><input type="text" class="form-control" placeholder="<?php echo lang('conceptos_tipoconcepto');?>"       disabled></th>
                                                <th><input type="text" class="form-control" placeholder="<?php  echo lang('conceptos_clase'); ?>"            disabled></th>
                                                <th></th>
                                            </tr>
                                        </thead>
                                        <tbody>
<?php foreach ($conceptos as $values):?>
                                            <tr>
												<td><?php echo htmlspecialchars($values->concepto, ENT_QUOTES, 'UTF-8'); ?></td>												
                                             
                                                <td><?php echo htmlspecialchars($values->nombre, ENT_QUOTES, 'UTF-8'); ?></td> 

                                                <td><?php echo htmlspecialchars($values->tipoconcepto, ENT_QUOTES, 'UTF-8'); ?></td> 

                                                <td><?php echo htmlspecialchars($values->clase, ENT_QUOTES, 'UTF-8');  ?></td> 

                                                <td align="center">
                                                    <?php echo anchor('conceptos/conceptos/edit/'.$values->gid, lang('concepto_actions_edit')); ?>
                                                    <?php echo '&nbsp;';?>

                                                    <?php echo anchor('conceptos/conceptos/delete/'.$values->gid, lang('concepto_actions_delete')); ?>
                                                </td>
                                            </tr>
<?php endforeach;?>
                                        </tbody>
                                    </table>                                    
                                </div>
                            </div>
                         </div>
                         </div>
                    </div>
                </section>
            </div>

