<div class="row" id="<?php $windowid= date('YmdHis'); echo $windowid;?>">
	<!--Cliente lista-->
		<div class="ibox">
			<div class="ibox-content">
				<!--Tools-->
				<div class="row">
					<div class="col-sm-8">
						<input type="text" id="clientes-search-str" placeholder="Buscar cliente" class="input form-control">
					</div>
					<div class="col-sm-4">
						<button type="button" id="clientes-nuevo-btn" class="btn btn btn-primary"> <i class="fa fa-plus"></i> Nuevo cliente</button>
					</div>
					<div class="clearfix"></div>
				</div>
				<!--List-->
				<div class="clients-list" id="clientes-lista-wrapper" style="height:300px;overflow-y:scroll;">
					<div class="table-responsive">
						<table class="table table-striped table-hover" id="clientes-lista-table">
							<tbody>
							</tbody>
						</table>
					</div>
				</div>
			</div>
		</div>
</div>
<script>
$(function(){
	var clientes_lista_mini = new Clientes_lista_mini();
	clientes_lista_mini.initializeEnviroment("<?php echo base_url();?>","<?php echo $windowid;?>");
	clientes_lista_mini.setFields($("#<?php echo $idfield;?>"),$("#<?php echo $field;?>"),$("#<?php echo $duifield;?>"),$("#<?php echo $nitfield;?>"),$("#<?php echo $nrcfield;?>"),	$("#<?php echo $sender;?>"));
});
</script>