<div class="row">
	<h3>Notas de Entrega</h3>
	
	<div id="btn_tbl_nde">
		<?php if (session()->get('user_cargo') == 'Supervisor') { ?>
			<button type="button" class="btn me-1" title="Editar" id="btn_tbl_nde_edit"><i class="bi bi-pencil"></i></button> 
		<?php } ?>
		
		<button type="button" class="btn me-1" title="Imprimir" id="btn_tbl_nde_print"><i class="bi bi-printer"></i></button>
	</div>
	<table id="tbl_nde" 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_nde" data-click-to-select="true" data-single-select="true" data-toolbar="#btn_tbl_nde" data-icon-size="sm"  data-show-columns="true"  data-buttons-class="light" data-search="true" >
		<thead>
			<tr>
				<th data-field="state" data-checkbox="true"></th>
				<th data-field="id"  >Nde</th>
				<th data-field="estado" data-visible="true">Estado</th>
				<th data-field="id_cliente" data-visible="false">Id Cliente</th>
				<th data-field="id_orden" data-visible="false">Id Orden</th>
				<th data-field="created_at" data-visible="true" data-formatter="">Emision</th>
				<th data-field="subtotal_d">Subtotal_d</th>
				<th data-field="iva" data-visible="true">Iva_d</th>
				<th data-field="total_d">Total_d</th>
				<th data-field="subtotal_bs" data-visible="false">subtotal_bs</th>
				<th data-field="total_bs">total_bs</th>
				<th data-field="tasa" data-visible="true">tasa</th>
				<th data-field="categoria" data-visible="false">Categoria</th>				
				<th data-field="notas" data-visible="false">Notas</th>
				<th data-field="vendedor" data-visible="true">Vendedor</th>
				<th data-field="usuario" data-visible="false">Usuario</th>
				<th data-field="completado" data-visible="false">completado</th>
				<th data-field="created_at" data-visible="false">Created</th>
				<th data-field="updated_at" data-visible="false">Update</th>
				<th data-field="deleted_at" data-visible="false">Deleted</th>
			</tr>
		</thead>
	</table>
</div>