<div class="row">
	<h3>Lista Empresas</h3>

	<div id="btn_tbl_empresas">
		<a href="<?= base_url().'administrador/empresas_add/' ?>" type="button" class="btn" title="Nuevo"><i class="bi bi-plus"></i></a>
		<button type="button" class="btn" title="Editar" id="btn_tbl_empresas_edit"><i class="bi bi-pencil"></i></button>
	</div>
	<table id="tbl_empresas" class="table table-responsive" data-toggle="table" data-pagination="true" data-url="<?php echo base_url($tablaurl); ?>" data-classes="table table-hover" data-select-item-name="rtbl_empresas" data-click-to-select="true" data-single-select="true" data-toolbar="#btn_tbl_empresas" data-icon-size="md"  data-show-columns="true" data-show-refresh="true" data-buttons-class="light">
		<thead>
			<tr>
				<th data-field="state" data-checkbox="true"></th>
				<th data-field="id" data-sortable="true" data-width="4" >id</th>
				<th data-field="rif" data-visible="true">Rif</th>
				<th data-field="razonsocial" data-visible="true">Razon Social</th>
				<th data-field="contacto">Contacto</th>
				<th data-field="telefono1">Telefono1</th>
				<th data-field="telefono2" data-visible="true">Telefono2</th>
				<th data-field="email" data-visible="true">Email</th>
				<th data-field="direccion" data-visible="true">Direccion</th>
				<th data-field="logo" data-visible="true">Logo</th>
				<th data-field="logo2" data-visible="true">Logo2</th>
				<th data-field="logowhite" data-visible="true">Logow</th>
				<th data-field="activo" data-visible="true">Activo</th>
				<th data-field="created_at" data-visible="false">Created</th>
				<th data-field="updated_at" data-visible="false">Update</th>
			</tr>
		</thead>
	</table>

</div>