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

                                    <?php if($this->session->userdata('consulta') == 0){ ?>
                                    <p><?php echo anchor('catalogosweb/proveedor_origen_nuevo', 'Agrega un proveedor origen'); ?></p>
                                    <?php } ?>
                            
                                    <table id="proveedores-table" class="table table-striped table-bordered table-hover">
                                        <thead>
                                            <tr>
                                                <th>RFC</th>
                                                <th>Razon Social</th>
                                                <th>Edita</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <?php foreach($query->result() as $row){?>
                                            <tr>
                                                <td><?php echo $row->rfcOrigen; ?></td>
                                                <td><?php echo $row->razonOrigen; ?></td>
                                                <td><?php if($this->session->userdata('consulta') == 0) echo anchor('catalogosweb/proveedor_origen_edita/'.$row->proveedorOrigenID, 'Edita'); ?></td>
                                            </tr>
                                            <?php } ?>
                                        </tbody>
                                    </table>
                            
                                </div>
                            </div>
