<?php
namespace PHPMaker2020\project2;

// Session
if (session_status() !== PHP_SESSION_ACTIVE)
	session_start(); // Init session data

// Output buffering
ob_start();

// Autoload
include_once "autoload.php";
?>
<?php

// Write header
WriteHeader(FALSE);

// Create page object
$bkp_master_articulos_list = new bkp_master_articulos_list();

// Run the page
$bkp_master_articulos_list->run();

// Setup login status
SetupLoginStatus();
SetClientVar("login", LoginStatus());

// Global Page Rendering event (in userfn*.php)
Page_Rendering();

// Page Rendering event
$bkp_master_articulos_list->Page_Render();
?>
<?php include_once "header.php"; ?>
<?php if (!$bkp_master_articulos_list->isExport()) { ?>
<script>
var fbkp_master_articuloslist, currentPageID;
loadjs.ready("head", function() {

	// Form object
	currentPageID = ew.PAGE_ID = "list";
	fbkp_master_articuloslist = currentForm = new ew.Form("fbkp_master_articuloslist", "list");
	fbkp_master_articuloslist.formKeyCountName = '<?php echo $bkp_master_articulos_list->FormKeyCountName ?>';
	loadjs.done("fbkp_master_articuloslist");
});
var fbkp_master_articuloslistsrch;
loadjs.ready("head", function() {

	// Form object for search
	fbkp_master_articuloslistsrch = currentSearchForm = new ew.Form("fbkp_master_articuloslistsrch");

	// Dynamic selection lists
	// Filters

	fbkp_master_articuloslistsrch.filterList = <?php echo $bkp_master_articulos_list->getFilterList() ?>;
	loadjs.done("fbkp_master_articuloslistsrch");
});
</script>
<script>
loadjs.ready("head", function() {

	// Client script
	// Write your client script here, no need to add script tags.

});
</script>
<?php } ?>
<?php if (!$bkp_master_articulos_list->isExport()) { ?>
<div class="btn-toolbar ew-toolbar">
<?php if ($bkp_master_articulos_list->TotalRecords > 0 && $bkp_master_articulos_list->ExportOptions->visible()) { ?>
<?php $bkp_master_articulos_list->ExportOptions->render("body") ?>
<?php } ?>
<?php if ($bkp_master_articulos_list->ImportOptions->visible()) { ?>
<?php $bkp_master_articulos_list->ImportOptions->render("body") ?>
<?php } ?>
<?php if ($bkp_master_articulos_list->SearchOptions->visible()) { ?>
<?php $bkp_master_articulos_list->SearchOptions->render("body") ?>
<?php } ?>
<?php if ($bkp_master_articulos_list->FilterOptions->visible()) { ?>
<?php $bkp_master_articulos_list->FilterOptions->render("body") ?>
<?php } ?>
<div class="clearfix"></div>
</div>
<?php } ?>
<?php
$bkp_master_articulos_list->renderOtherOptions();
?>
<?php if ($Security->CanSearch()) { ?>
<?php if (!$bkp_master_articulos_list->isExport() && !$bkp_master_articulos->CurrentAction) { ?>
<form name="fbkp_master_articuloslistsrch" id="fbkp_master_articuloslistsrch" class="form-inline ew-form ew-ext-search-form" action="<?php echo CurrentPageName() ?>">
<div id="fbkp_master_articuloslistsrch-search-panel" class="<?php echo $bkp_master_articulos_list->SearchPanelClass ?>">
<input type="hidden" name="cmd" value="search">
<input type="hidden" name="t" value="bkp_master_articulos">
	<div class="ew-extended-search">
<div id="xsr_<?php echo $bkp_master_articulos_list->SearchRowCount + 1 ?>" class="ew-row d-sm-flex">
	<div class="ew-quick-search input-group">
		<input type="text" name="<?php echo Config("TABLE_BASIC_SEARCH") ?>" id="<?php echo Config("TABLE_BASIC_SEARCH") ?>" class="form-control" value="<?php echo HtmlEncode($bkp_master_articulos_list->BasicSearch->getKeyword()) ?>" placeholder="<?php echo HtmlEncode($Language->phrase("Search")) ?>">
		<input type="hidden" name="<?php echo Config("TABLE_BASIC_SEARCH_TYPE") ?>" id="<?php echo Config("TABLE_BASIC_SEARCH_TYPE") ?>" value="<?php echo HtmlEncode($bkp_master_articulos_list->BasicSearch->getType()) ?>">
		<div class="input-group-append">
			<button class="btn btn-primary" name="btn-submit" id="btn-submit" type="submit"><?php echo $Language->phrase("SearchBtn") ?></button>
			<button type="button" data-toggle="dropdown" class="btn btn-primary dropdown-toggle dropdown-toggle-split" aria-haspopup="true" aria-expanded="false"><span id="searchtype"><?php echo $bkp_master_articulos_list->BasicSearch->getTypeNameShort() ?></span></button>
			<div class="dropdown-menu dropdown-menu-right">
				<a class="dropdown-item<?php if ($bkp_master_articulos_list->BasicSearch->getType() == "") { ?> active<?php } ?>" href="#" onclick="return ew.setSearchType(this);"><?php echo $Language->phrase("QuickSearchAuto") ?></a>
				<a class="dropdown-item<?php if ($bkp_master_articulos_list->BasicSearch->getType() == "=") { ?> active<?php } ?>" href="#" onclick="return ew.setSearchType(this, '=');"><?php echo $Language->phrase("QuickSearchExact") ?></a>
				<a class="dropdown-item<?php if ($bkp_master_articulos_list->BasicSearch->getType() == "AND") { ?> active<?php } ?>" href="#" onclick="return ew.setSearchType(this, 'AND');"><?php echo $Language->phrase("QuickSearchAll") ?></a>
				<a class="dropdown-item<?php if ($bkp_master_articulos_list->BasicSearch->getType() == "OR") { ?> active<?php } ?>" href="#" onclick="return ew.setSearchType(this, 'OR');"><?php echo $Language->phrase("QuickSearchAny") ?></a>
			</div>
		</div>
	</div>
</div>
	</div><!-- /.ew-extended-search -->
</div><!-- /.ew-search-panel -->
</form>
<?php } ?>
<?php } ?>
<?php $bkp_master_articulos_list->showPageHeader(); ?>
<?php
$bkp_master_articulos_list->showMessage();
?>
<?php if ($bkp_master_articulos_list->TotalRecords > 0 || $bkp_master_articulos->CurrentAction) { ?>
<div class="card ew-card ew-grid<?php if ($bkp_master_articulos_list->isAddOrEdit()) { ?> ew-grid-add-edit<?php } ?> bkp_master_articulos">
<form name="fbkp_master_articuloslist" id="fbkp_master_articuloslist" class="form-inline ew-form ew-list-form" action="<?php echo CurrentPageName() ?>" method="post">
<?php if ($Page->CheckToken) { ?>
<input type="hidden" name="<?php echo Config("TOKEN_NAME") ?>" value="<?php echo $Page->Token ?>">
<?php } ?>
<input type="hidden" name="t" value="bkp_master_articulos">
<div id="gmp_bkp_master_articulos" class="<?php echo ResponsiveTableClass() ?>card-body ew-grid-middle-panel">
<?php if ($bkp_master_articulos_list->TotalRecords > 0 || $bkp_master_articulos_list->isGridEdit()) { ?>
<table id="tbl_bkp_master_articuloslist" class="table ew-table"><!-- .ew-table -->
<thead>
	<tr class="ew-table-header">
<?php

// Header row
$bkp_master_articulos->RowType = ROWTYPE_HEADER;

// Render list options
$bkp_master_articulos_list->renderListOptions();

// Render list options (header, left)
$bkp_master_articulos_list->ListOptions->render("header", "left");
?>
<?php if ($bkp_master_articulos_list->id_reg->Visible) { // id_reg ?>
	<?php if ($bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->id_reg) == "") { ?>
		<th data-name="id_reg" class="<?php echo $bkp_master_articulos_list->id_reg->headerCellClass() ?>"><div id="elh_bkp_master_articulos_id_reg" class="bkp_master_articulos_id_reg"><div class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->id_reg->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="id_reg" class="<?php echo $bkp_master_articulos_list->id_reg->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event, '<?php echo $bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->id_reg) ?>', 1);"><div id="elh_bkp_master_articulos_id_reg" class="bkp_master_articulos_id_reg">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->id_reg->caption() ?></span><span class="ew-table-header-sort"><?php if ($bkp_master_articulos_list->id_reg->getSort() == "ASC") { ?><i class="fas fa-sort-up"></i><?php } elseif ($bkp_master_articulos_list->id_reg->getSort() == "DESC") { ?><i class="fas fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($bkp_master_articulos_list->idempresa->Visible) { // idempresa ?>
	<?php if ($bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->idempresa) == "") { ?>
		<th data-name="idempresa" class="<?php echo $bkp_master_articulos_list->idempresa->headerCellClass() ?>"><div id="elh_bkp_master_articulos_idempresa" class="bkp_master_articulos_idempresa"><div class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->idempresa->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="idempresa" class="<?php echo $bkp_master_articulos_list->idempresa->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event, '<?php echo $bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->idempresa) ?>', 1);"><div id="elh_bkp_master_articulos_idempresa" class="bkp_master_articulos_idempresa">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->idempresa->caption() ?></span><span class="ew-table-header-sort"><?php if ($bkp_master_articulos_list->idempresa->getSort() == "ASC") { ?><i class="fas fa-sort-up"></i><?php } elseif ($bkp_master_articulos_list->idempresa->getSort() == "DESC") { ?><i class="fas fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($bkp_master_articulos_list->idarticuloemp->Visible) { // idarticuloemp ?>
	<?php if ($bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->idarticuloemp) == "") { ?>
		<th data-name="idarticuloemp" class="<?php echo $bkp_master_articulos_list->idarticuloemp->headerCellClass() ?>"><div id="elh_bkp_master_articulos_idarticuloemp" class="bkp_master_articulos_idarticuloemp"><div class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->idarticuloemp->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="idarticuloemp" class="<?php echo $bkp_master_articulos_list->idarticuloemp->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event, '<?php echo $bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->idarticuloemp) ?>', 1);"><div id="elh_bkp_master_articulos_idarticuloemp" class="bkp_master_articulos_idarticuloemp">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->idarticuloemp->caption() ?><?php echo $Language->phrase("SrchLegend") ?></span><span class="ew-table-header-sort"><?php if ($bkp_master_articulos_list->idarticuloemp->getSort() == "ASC") { ?><i class="fas fa-sort-up"></i><?php } elseif ($bkp_master_articulos_list->idarticuloemp->getSort() == "DESC") { ?><i class="fas fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($bkp_master_articulos_list->codproveedor->Visible) { // codproveedor ?>
	<?php if ($bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->codproveedor) == "") { ?>
		<th data-name="codproveedor" class="<?php echo $bkp_master_articulos_list->codproveedor->headerCellClass() ?>"><div id="elh_bkp_master_articulos_codproveedor" class="bkp_master_articulos_codproveedor"><div class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->codproveedor->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="codproveedor" class="<?php echo $bkp_master_articulos_list->codproveedor->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event, '<?php echo $bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->codproveedor) ?>', 1);"><div id="elh_bkp_master_articulos_codproveedor" class="bkp_master_articulos_codproveedor">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->codproveedor->caption() ?></span><span class="ew-table-header-sort"><?php if ($bkp_master_articulos_list->codproveedor->getSort() == "ASC") { ?><i class="fas fa-sort-up"></i><?php } elseif ($bkp_master_articulos_list->codproveedor->getSort() == "DESC") { ?><i class="fas fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($bkp_master_articulos_list->estado->Visible) { // estado ?>
	<?php if ($bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->estado) == "") { ?>
		<th data-name="estado" class="<?php echo $bkp_master_articulos_list->estado->headerCellClass() ?>"><div id="elh_bkp_master_articulos_estado" class="bkp_master_articulos_estado"><div class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->estado->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="estado" class="<?php echo $bkp_master_articulos_list->estado->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event, '<?php echo $bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->estado) ?>', 1);"><div id="elh_bkp_master_articulos_estado" class="bkp_master_articulos_estado">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->estado->caption() ?><?php echo $Language->phrase("SrchLegend") ?></span><span class="ew-table-header-sort"><?php if ($bkp_master_articulos_list->estado->getSort() == "ASC") { ?><i class="fas fa-sort-up"></i><?php } elseif ($bkp_master_articulos_list->estado->getSort() == "DESC") { ?><i class="fas fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($bkp_master_articulos_list->coddum->Visible) { // coddum ?>
	<?php if ($bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->coddum) == "") { ?>
		<th data-name="coddum" class="<?php echo $bkp_master_articulos_list->coddum->headerCellClass() ?>"><div id="elh_bkp_master_articulos_coddum" class="bkp_master_articulos_coddum"><div class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->coddum->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="coddum" class="<?php echo $bkp_master_articulos_list->coddum->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event, '<?php echo $bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->coddum) ?>', 1);"><div id="elh_bkp_master_articulos_coddum" class="bkp_master_articulos_coddum">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->coddum->caption() ?><?php echo $Language->phrase("SrchLegend") ?></span><span class="ew-table-header-sort"><?php if ($bkp_master_articulos_list->coddum->getSort() == "ASC") { ?><i class="fas fa-sort-up"></i><?php } elseif ($bkp_master_articulos_list->coddum->getSort() == "DESC") { ?><i class="fas fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($bkp_master_articulos_list->descripcion->Visible) { // descripcion ?>
	<?php if ($bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->descripcion) == "") { ?>
		<th data-name="descripcion" class="<?php echo $bkp_master_articulos_list->descripcion->headerCellClass() ?>"><div id="elh_bkp_master_articulos_descripcion" class="bkp_master_articulos_descripcion"><div class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->descripcion->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="descripcion" class="<?php echo $bkp_master_articulos_list->descripcion->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event, '<?php echo $bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->descripcion) ?>', 1);"><div id="elh_bkp_master_articulos_descripcion" class="bkp_master_articulos_descripcion">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->descripcion->caption() ?><?php echo $Language->phrase("SrchLegend") ?></span><span class="ew-table-header-sort"><?php if ($bkp_master_articulos_list->descripcion->getSort() == "ASC") { ?><i class="fas fa-sort-up"></i><?php } elseif ($bkp_master_articulos_list->descripcion->getSort() == "DESC") { ?><i class="fas fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($bkp_master_articulos_list->descripcioncorta->Visible) { // descripcioncorta ?>
	<?php if ($bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->descripcioncorta) == "") { ?>
		<th data-name="descripcioncorta" class="<?php echo $bkp_master_articulos_list->descripcioncorta->headerCellClass() ?>"><div id="elh_bkp_master_articulos_descripcioncorta" class="bkp_master_articulos_descripcioncorta"><div class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->descripcioncorta->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="descripcioncorta" class="<?php echo $bkp_master_articulos_list->descripcioncorta->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event, '<?php echo $bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->descripcioncorta) ?>', 1);"><div id="elh_bkp_master_articulos_descripcioncorta" class="bkp_master_articulos_descripcioncorta">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->descripcioncorta->caption() ?><?php echo $Language->phrase("SrchLegend") ?></span><span class="ew-table-header-sort"><?php if ($bkp_master_articulos_list->descripcioncorta->getSort() == "ASC") { ?><i class="fas fa-sort-up"></i><?php } elseif ($bkp_master_articulos_list->descripcioncorta->getSort() == "DESC") { ?><i class="fas fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($bkp_master_articulos_list->idcategoria->Visible) { // idcategoria ?>
	<?php if ($bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->idcategoria) == "") { ?>
		<th data-name="idcategoria" class="<?php echo $bkp_master_articulos_list->idcategoria->headerCellClass() ?>"><div id="elh_bkp_master_articulos_idcategoria" class="bkp_master_articulos_idcategoria"><div class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->idcategoria->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="idcategoria" class="<?php echo $bkp_master_articulos_list->idcategoria->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event, '<?php echo $bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->idcategoria) ?>', 1);"><div id="elh_bkp_master_articulos_idcategoria" class="bkp_master_articulos_idcategoria">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->idcategoria->caption() ?></span><span class="ew-table-header-sort"><?php if ($bkp_master_articulos_list->idcategoria->getSort() == "ASC") { ?><i class="fas fa-sort-up"></i><?php } elseif ($bkp_master_articulos_list->idcategoria->getSort() == "DESC") { ?><i class="fas fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($bkp_master_articulos_list->articuloaltura->Visible) { // articuloaltura ?>
	<?php if ($bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->articuloaltura) == "") { ?>
		<th data-name="articuloaltura" class="<?php echo $bkp_master_articulos_list->articuloaltura->headerCellClass() ?>"><div id="elh_bkp_master_articulos_articuloaltura" class="bkp_master_articulos_articuloaltura"><div class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->articuloaltura->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="articuloaltura" class="<?php echo $bkp_master_articulos_list->articuloaltura->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event, '<?php echo $bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->articuloaltura) ?>', 1);"><div id="elh_bkp_master_articulos_articuloaltura" class="bkp_master_articulos_articuloaltura">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->articuloaltura->caption() ?></span><span class="ew-table-header-sort"><?php if ($bkp_master_articulos_list->articuloaltura->getSort() == "ASC") { ?><i class="fas fa-sort-up"></i><?php } elseif ($bkp_master_articulos_list->articuloaltura->getSort() == "DESC") { ?><i class="fas fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($bkp_master_articulos_list->articuloancho->Visible) { // articuloancho ?>
	<?php if ($bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->articuloancho) == "") { ?>
		<th data-name="articuloancho" class="<?php echo $bkp_master_articulos_list->articuloancho->headerCellClass() ?>"><div id="elh_bkp_master_articulos_articuloancho" class="bkp_master_articulos_articuloancho"><div class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->articuloancho->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="articuloancho" class="<?php echo $bkp_master_articulos_list->articuloancho->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event, '<?php echo $bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->articuloancho) ?>', 1);"><div id="elh_bkp_master_articulos_articuloancho" class="bkp_master_articulos_articuloancho">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->articuloancho->caption() ?></span><span class="ew-table-header-sort"><?php if ($bkp_master_articulos_list->articuloancho->getSort() == "ASC") { ?><i class="fas fa-sort-up"></i><?php } elseif ($bkp_master_articulos_list->articuloancho->getSort() == "DESC") { ?><i class="fas fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($bkp_master_articulos_list->articulolargo->Visible) { // articulolargo ?>
	<?php if ($bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->articulolargo) == "") { ?>
		<th data-name="articulolargo" class="<?php echo $bkp_master_articulos_list->articulolargo->headerCellClass() ?>"><div id="elh_bkp_master_articulos_articulolargo" class="bkp_master_articulos_articulolargo"><div class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->articulolargo->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="articulolargo" class="<?php echo $bkp_master_articulos_list->articulolargo->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event, '<?php echo $bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->articulolargo) ?>', 1);"><div id="elh_bkp_master_articulos_articulolargo" class="bkp_master_articulos_articulolargo">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->articulolargo->caption() ?></span><span class="ew-table-header-sort"><?php if ($bkp_master_articulos_list->articulolargo->getSort() == "ASC") { ?><i class="fas fa-sort-up"></i><?php } elseif ($bkp_master_articulos_list->articulolargo->getSort() == "DESC") { ?><i class="fas fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($bkp_master_articulos_list->articulopeso->Visible) { // articulopeso ?>
	<?php if ($bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->articulopeso) == "") { ?>
		<th data-name="articulopeso" class="<?php echo $bkp_master_articulos_list->articulopeso->headerCellClass() ?>"><div id="elh_bkp_master_articulos_articulopeso" class="bkp_master_articulos_articulopeso"><div class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->articulopeso->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="articulopeso" class="<?php echo $bkp_master_articulos_list->articulopeso->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event, '<?php echo $bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->articulopeso) ?>', 1);"><div id="elh_bkp_master_articulos_articulopeso" class="bkp_master_articulos_articulopeso">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->articulopeso->caption() ?></span><span class="ew-table-header-sort"><?php if ($bkp_master_articulos_list->articulopeso->getSort() == "ASC") { ?><i class="fas fa-sort-up"></i><?php } elseif ($bkp_master_articulos_list->articulopeso->getSort() == "DESC") { ?><i class="fas fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($bkp_master_articulos_list->articulocosto->Visible) { // articulocosto ?>
	<?php if ($bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->articulocosto) == "") { ?>
		<th data-name="articulocosto" class="<?php echo $bkp_master_articulos_list->articulocosto->headerCellClass() ?>"><div id="elh_bkp_master_articulos_articulocosto" class="bkp_master_articulos_articulocosto"><div class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->articulocosto->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="articulocosto" class="<?php echo $bkp_master_articulos_list->articulocosto->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event, '<?php echo $bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->articulocosto) ?>', 1);"><div id="elh_bkp_master_articulos_articulocosto" class="bkp_master_articulos_articulocosto">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->articulocosto->caption() ?></span><span class="ew-table-header-sort"><?php if ($bkp_master_articulos_list->articulocosto->getSort() == "ASC") { ?><i class="fas fa-sort-up"></i><?php } elseif ($bkp_master_articulos_list->articulocosto->getSort() == "DESC") { ?><i class="fas fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($bkp_master_articulos_list->cajaaltura->Visible) { // cajaaltura ?>
	<?php if ($bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->cajaaltura) == "") { ?>
		<th data-name="cajaaltura" class="<?php echo $bkp_master_articulos_list->cajaaltura->headerCellClass() ?>"><div id="elh_bkp_master_articulos_cajaaltura" class="bkp_master_articulos_cajaaltura"><div class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->cajaaltura->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="cajaaltura" class="<?php echo $bkp_master_articulos_list->cajaaltura->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event, '<?php echo $bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->cajaaltura) ?>', 1);"><div id="elh_bkp_master_articulos_cajaaltura" class="bkp_master_articulos_cajaaltura">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->cajaaltura->caption() ?></span><span class="ew-table-header-sort"><?php if ($bkp_master_articulos_list->cajaaltura->getSort() == "ASC") { ?><i class="fas fa-sort-up"></i><?php } elseif ($bkp_master_articulos_list->cajaaltura->getSort() == "DESC") { ?><i class="fas fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($bkp_master_articulos_list->cajaancho->Visible) { // cajaancho ?>
	<?php if ($bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->cajaancho) == "") { ?>
		<th data-name="cajaancho" class="<?php echo $bkp_master_articulos_list->cajaancho->headerCellClass() ?>"><div id="elh_bkp_master_articulos_cajaancho" class="bkp_master_articulos_cajaancho"><div class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->cajaancho->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="cajaancho" class="<?php echo $bkp_master_articulos_list->cajaancho->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event, '<?php echo $bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->cajaancho) ?>', 1);"><div id="elh_bkp_master_articulos_cajaancho" class="bkp_master_articulos_cajaancho">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->cajaancho->caption() ?></span><span class="ew-table-header-sort"><?php if ($bkp_master_articulos_list->cajaancho->getSort() == "ASC") { ?><i class="fas fa-sort-up"></i><?php } elseif ($bkp_master_articulos_list->cajaancho->getSort() == "DESC") { ?><i class="fas fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($bkp_master_articulos_list->cajalargo->Visible) { // cajalargo ?>
	<?php if ($bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->cajalargo) == "") { ?>
		<th data-name="cajalargo" class="<?php echo $bkp_master_articulos_list->cajalargo->headerCellClass() ?>"><div id="elh_bkp_master_articulos_cajalargo" class="bkp_master_articulos_cajalargo"><div class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->cajalargo->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="cajalargo" class="<?php echo $bkp_master_articulos_list->cajalargo->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event, '<?php echo $bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->cajalargo) ?>', 1);"><div id="elh_bkp_master_articulos_cajalargo" class="bkp_master_articulos_cajalargo">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->cajalargo->caption() ?></span><span class="ew-table-header-sort"><?php if ($bkp_master_articulos_list->cajalargo->getSort() == "ASC") { ?><i class="fas fa-sort-up"></i><?php } elseif ($bkp_master_articulos_list->cajalargo->getSort() == "DESC") { ?><i class="fas fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($bkp_master_articulos_list->cajapeso->Visible) { // cajapeso ?>
	<?php if ($bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->cajapeso) == "") { ?>
		<th data-name="cajapeso" class="<?php echo $bkp_master_articulos_list->cajapeso->headerCellClass() ?>"><div id="elh_bkp_master_articulos_cajapeso" class="bkp_master_articulos_cajapeso"><div class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->cajapeso->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="cajapeso" class="<?php echo $bkp_master_articulos_list->cajapeso->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event, '<?php echo $bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->cajapeso) ?>', 1);"><div id="elh_bkp_master_articulos_cajapeso" class="bkp_master_articulos_cajapeso">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->cajapeso->caption() ?></span><span class="ew-table-header-sort"><?php if ($bkp_master_articulos_list->cajapeso->getSort() == "ASC") { ?><i class="fas fa-sort-up"></i><?php } elseif ($bkp_master_articulos_list->cajapeso->getSort() == "DESC") { ?><i class="fas fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($bkp_master_articulos_list->numpiezas->Visible) { // numpiezas ?>
	<?php if ($bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->numpiezas) == "") { ?>
		<th data-name="numpiezas" class="<?php echo $bkp_master_articulos_list->numpiezas->headerCellClass() ?>"><div id="elh_bkp_master_articulos_numpiezas" class="bkp_master_articulos_numpiezas"><div class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->numpiezas->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="numpiezas" class="<?php echo $bkp_master_articulos_list->numpiezas->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event, '<?php echo $bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->numpiezas) ?>', 1);"><div id="elh_bkp_master_articulos_numpiezas" class="bkp_master_articulos_numpiezas">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->numpiezas->caption() ?></span><span class="ew-table-header-sort"><?php if ($bkp_master_articulos_list->numpiezas->getSort() == "ASC") { ?><i class="fas fa-sort-up"></i><?php } elseif ($bkp_master_articulos_list->numpiezas->getSort() == "DESC") { ?><i class="fas fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($bkp_master_articulos_list->unidadcaja->Visible) { // unidadcaja ?>
	<?php if ($bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->unidadcaja) == "") { ?>
		<th data-name="unidadcaja" class="<?php echo $bkp_master_articulos_list->unidadcaja->headerCellClass() ?>"><div id="elh_bkp_master_articulos_unidadcaja" class="bkp_master_articulos_unidadcaja"><div class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->unidadcaja->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="unidadcaja" class="<?php echo $bkp_master_articulos_list->unidadcaja->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event, '<?php echo $bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->unidadcaja) ?>', 1);"><div id="elh_bkp_master_articulos_unidadcaja" class="bkp_master_articulos_unidadcaja">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->unidadcaja->caption() ?></span><span class="ew-table-header-sort"><?php if ($bkp_master_articulos_list->unidadcaja->getSort() == "ASC") { ?><i class="fas fa-sort-up"></i><?php } elseif ($bkp_master_articulos_list->unidadcaja->getSort() == "DESC") { ?><i class="fas fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($bkp_master_articulos_list->diasventa->Visible) { // diasventa ?>
	<?php if ($bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->diasventa) == "") { ?>
		<th data-name="diasventa" class="<?php echo $bkp_master_articulos_list->diasventa->headerCellClass() ?>"><div id="elh_bkp_master_articulos_diasventa" class="bkp_master_articulos_diasventa"><div class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->diasventa->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="diasventa" class="<?php echo $bkp_master_articulos_list->diasventa->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event, '<?php echo $bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->diasventa) ?>', 1);"><div id="elh_bkp_master_articulos_diasventa" class="bkp_master_articulos_diasventa">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->diasventa->caption() ?><?php echo $Language->phrase("SrchLegend") ?></span><span class="ew-table-header-sort"><?php if ($bkp_master_articulos_list->diasventa->getSort() == "ASC") { ?><i class="fas fa-sort-up"></i><?php } elseif ($bkp_master_articulos_list->diasventa->getSort() == "DESC") { ?><i class="fas fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($bkp_master_articulos_list->fecha_reg->Visible) { // fecha_reg ?>
	<?php if ($bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->fecha_reg) == "") { ?>
		<th data-name="fecha_reg" class="<?php echo $bkp_master_articulos_list->fecha_reg->headerCellClass() ?>"><div id="elh_bkp_master_articulos_fecha_reg" class="bkp_master_articulos_fecha_reg"><div class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->fecha_reg->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="fecha_reg" class="<?php echo $bkp_master_articulos_list->fecha_reg->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event, '<?php echo $bkp_master_articulos_list->SortUrl($bkp_master_articulos_list->fecha_reg) ?>', 1);"><div id="elh_bkp_master_articulos_fecha_reg" class="bkp_master_articulos_fecha_reg">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $bkp_master_articulos_list->fecha_reg->caption() ?></span><span class="ew-table-header-sort"><?php if ($bkp_master_articulos_list->fecha_reg->getSort() == "ASC") { ?><i class="fas fa-sort-up"></i><?php } elseif ($bkp_master_articulos_list->fecha_reg->getSort() == "DESC") { ?><i class="fas fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php

// Render list options (header, right)
$bkp_master_articulos_list->ListOptions->render("header", "right");
?>
	</tr>
</thead>
<tbody>
<?php
if ($bkp_master_articulos_list->ExportAll && $bkp_master_articulos_list->isExport()) {
	$bkp_master_articulos_list->StopRecord = $bkp_master_articulos_list->TotalRecords;
} else {

	// Set the last record to display
	if ($bkp_master_articulos_list->TotalRecords > $bkp_master_articulos_list->StartRecord + $bkp_master_articulos_list->DisplayRecords - 1)
		$bkp_master_articulos_list->StopRecord = $bkp_master_articulos_list->StartRecord + $bkp_master_articulos_list->DisplayRecords - 1;
	else
		$bkp_master_articulos_list->StopRecord = $bkp_master_articulos_list->TotalRecords;
}
$bkp_master_articulos_list->RecordCount = $bkp_master_articulos_list->StartRecord - 1;
if ($bkp_master_articulos_list->Recordset && !$bkp_master_articulos_list->Recordset->EOF) {
	$bkp_master_articulos_list->Recordset->moveFirst();
	$selectLimit = $bkp_master_articulos_list->UseSelectLimit;
	if (!$selectLimit && $bkp_master_articulos_list->StartRecord > 1)
		$bkp_master_articulos_list->Recordset->move($bkp_master_articulos_list->StartRecord - 1);
} elseif (!$bkp_master_articulos->AllowAddDeleteRow && $bkp_master_articulos_list->StopRecord == 0) {
	$bkp_master_articulos_list->StopRecord = $bkp_master_articulos->GridAddRowCount;
}

// Initialize aggregate
$bkp_master_articulos->RowType = ROWTYPE_AGGREGATEINIT;
$bkp_master_articulos->resetAttributes();
$bkp_master_articulos_list->renderRow();
while ($bkp_master_articulos_list->RecordCount < $bkp_master_articulos_list->StopRecord) {
	$bkp_master_articulos_list->RecordCount++;
	if ($bkp_master_articulos_list->RecordCount >= $bkp_master_articulos_list->StartRecord) {
		$bkp_master_articulos_list->RowCount++;

		// Set up key count
		$bkp_master_articulos_list->KeyCount = $bkp_master_articulos_list->RowIndex;

		// Init row class and style
		$bkp_master_articulos->resetAttributes();
		$bkp_master_articulos->CssClass = "";
		if ($bkp_master_articulos_list->isGridAdd()) {
		} else {
			$bkp_master_articulos_list->loadRowValues($bkp_master_articulos_list->Recordset); // Load row values
		}
		$bkp_master_articulos->RowType = ROWTYPE_VIEW; // Render view

		// Set up row id / data-rowindex
		$bkp_master_articulos->RowAttrs->merge(["data-rowindex" => $bkp_master_articulos_list->RowCount, "id" => "r" . $bkp_master_articulos_list->RowCount . "_bkp_master_articulos", "data-rowtype" => $bkp_master_articulos->RowType]);

		// Render row
		$bkp_master_articulos_list->renderRow();

		// Render list options
		$bkp_master_articulos_list->renderListOptions();
?>
	<tr <?php echo $bkp_master_articulos->rowAttributes() ?>>
<?php

// Render list options (body, left)
$bkp_master_articulos_list->ListOptions->render("body", "left", $bkp_master_articulos_list->RowCount);
?>
	<?php if ($bkp_master_articulos_list->id_reg->Visible) { // id_reg ?>
		<td data-name="id_reg" <?php echo $bkp_master_articulos_list->id_reg->cellAttributes() ?>>
<span id="el<?php echo $bkp_master_articulos_list->RowCount ?>_bkp_master_articulos_id_reg" class="bkp_master_articulos_id_reg">
<span<?php echo $bkp_master_articulos_list->id_reg->viewAttributes() ?>><?php echo $bkp_master_articulos_list->id_reg->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($bkp_master_articulos_list->idempresa->Visible) { // idempresa ?>
		<td data-name="idempresa" <?php echo $bkp_master_articulos_list->idempresa->cellAttributes() ?>>
<span id="el<?php echo $bkp_master_articulos_list->RowCount ?>_bkp_master_articulos_idempresa" class="bkp_master_articulos_idempresa">
<span<?php echo $bkp_master_articulos_list->idempresa->viewAttributes() ?>><?php echo $bkp_master_articulos_list->idempresa->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($bkp_master_articulos_list->idarticuloemp->Visible) { // idarticuloemp ?>
		<td data-name="idarticuloemp" <?php echo $bkp_master_articulos_list->idarticuloemp->cellAttributes() ?>>
<span id="el<?php echo $bkp_master_articulos_list->RowCount ?>_bkp_master_articulos_idarticuloemp" class="bkp_master_articulos_idarticuloemp">
<span<?php echo $bkp_master_articulos_list->idarticuloemp->viewAttributes() ?>><?php echo $bkp_master_articulos_list->idarticuloemp->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($bkp_master_articulos_list->codproveedor->Visible) { // codproveedor ?>
		<td data-name="codproveedor" <?php echo $bkp_master_articulos_list->codproveedor->cellAttributes() ?>>
<span id="el<?php echo $bkp_master_articulos_list->RowCount ?>_bkp_master_articulos_codproveedor" class="bkp_master_articulos_codproveedor">
<span<?php echo $bkp_master_articulos_list->codproveedor->viewAttributes() ?>><?php echo $bkp_master_articulos_list->codproveedor->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($bkp_master_articulos_list->estado->Visible) { // estado ?>
		<td data-name="estado" <?php echo $bkp_master_articulos_list->estado->cellAttributes() ?>>
<span id="el<?php echo $bkp_master_articulos_list->RowCount ?>_bkp_master_articulos_estado" class="bkp_master_articulos_estado">
<span<?php echo $bkp_master_articulos_list->estado->viewAttributes() ?>><?php echo $bkp_master_articulos_list->estado->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($bkp_master_articulos_list->coddum->Visible) { // coddum ?>
		<td data-name="coddum" <?php echo $bkp_master_articulos_list->coddum->cellAttributes() ?>>
<span id="el<?php echo $bkp_master_articulos_list->RowCount ?>_bkp_master_articulos_coddum" class="bkp_master_articulos_coddum">
<span<?php echo $bkp_master_articulos_list->coddum->viewAttributes() ?>><?php echo $bkp_master_articulos_list->coddum->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($bkp_master_articulos_list->descripcion->Visible) { // descripcion ?>
		<td data-name="descripcion" <?php echo $bkp_master_articulos_list->descripcion->cellAttributes() ?>>
<span id="el<?php echo $bkp_master_articulos_list->RowCount ?>_bkp_master_articulos_descripcion" class="bkp_master_articulos_descripcion">
<span<?php echo $bkp_master_articulos_list->descripcion->viewAttributes() ?>><?php echo $bkp_master_articulos_list->descripcion->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($bkp_master_articulos_list->descripcioncorta->Visible) { // descripcioncorta ?>
		<td data-name="descripcioncorta" <?php echo $bkp_master_articulos_list->descripcioncorta->cellAttributes() ?>>
<span id="el<?php echo $bkp_master_articulos_list->RowCount ?>_bkp_master_articulos_descripcioncorta" class="bkp_master_articulos_descripcioncorta">
<span<?php echo $bkp_master_articulos_list->descripcioncorta->viewAttributes() ?>><?php echo $bkp_master_articulos_list->descripcioncorta->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($bkp_master_articulos_list->idcategoria->Visible) { // idcategoria ?>
		<td data-name="idcategoria" <?php echo $bkp_master_articulos_list->idcategoria->cellAttributes() ?>>
<span id="el<?php echo $bkp_master_articulos_list->RowCount ?>_bkp_master_articulos_idcategoria" class="bkp_master_articulos_idcategoria">
<span<?php echo $bkp_master_articulos_list->idcategoria->viewAttributes() ?>><?php echo $bkp_master_articulos_list->idcategoria->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($bkp_master_articulos_list->articuloaltura->Visible) { // articuloaltura ?>
		<td data-name="articuloaltura" <?php echo $bkp_master_articulos_list->articuloaltura->cellAttributes() ?>>
<span id="el<?php echo $bkp_master_articulos_list->RowCount ?>_bkp_master_articulos_articuloaltura" class="bkp_master_articulos_articuloaltura">
<span<?php echo $bkp_master_articulos_list->articuloaltura->viewAttributes() ?>><?php echo $bkp_master_articulos_list->articuloaltura->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($bkp_master_articulos_list->articuloancho->Visible) { // articuloancho ?>
		<td data-name="articuloancho" <?php echo $bkp_master_articulos_list->articuloancho->cellAttributes() ?>>
<span id="el<?php echo $bkp_master_articulos_list->RowCount ?>_bkp_master_articulos_articuloancho" class="bkp_master_articulos_articuloancho">
<span<?php echo $bkp_master_articulos_list->articuloancho->viewAttributes() ?>><?php echo $bkp_master_articulos_list->articuloancho->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($bkp_master_articulos_list->articulolargo->Visible) { // articulolargo ?>
		<td data-name="articulolargo" <?php echo $bkp_master_articulos_list->articulolargo->cellAttributes() ?>>
<span id="el<?php echo $bkp_master_articulos_list->RowCount ?>_bkp_master_articulos_articulolargo" class="bkp_master_articulos_articulolargo">
<span<?php echo $bkp_master_articulos_list->articulolargo->viewAttributes() ?>><?php echo $bkp_master_articulos_list->articulolargo->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($bkp_master_articulos_list->articulopeso->Visible) { // articulopeso ?>
		<td data-name="articulopeso" <?php echo $bkp_master_articulos_list->articulopeso->cellAttributes() ?>>
<span id="el<?php echo $bkp_master_articulos_list->RowCount ?>_bkp_master_articulos_articulopeso" class="bkp_master_articulos_articulopeso">
<span<?php echo $bkp_master_articulos_list->articulopeso->viewAttributes() ?>><?php echo $bkp_master_articulos_list->articulopeso->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($bkp_master_articulos_list->articulocosto->Visible) { // articulocosto ?>
		<td data-name="articulocosto" <?php echo $bkp_master_articulos_list->articulocosto->cellAttributes() ?>>
<span id="el<?php echo $bkp_master_articulos_list->RowCount ?>_bkp_master_articulos_articulocosto" class="bkp_master_articulos_articulocosto">
<span<?php echo $bkp_master_articulos_list->articulocosto->viewAttributes() ?>><?php echo $bkp_master_articulos_list->articulocosto->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($bkp_master_articulos_list->cajaaltura->Visible) { // cajaaltura ?>
		<td data-name="cajaaltura" <?php echo $bkp_master_articulos_list->cajaaltura->cellAttributes() ?>>
<span id="el<?php echo $bkp_master_articulos_list->RowCount ?>_bkp_master_articulos_cajaaltura" class="bkp_master_articulos_cajaaltura">
<span<?php echo $bkp_master_articulos_list->cajaaltura->viewAttributes() ?>><?php echo $bkp_master_articulos_list->cajaaltura->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($bkp_master_articulos_list->cajaancho->Visible) { // cajaancho ?>
		<td data-name="cajaancho" <?php echo $bkp_master_articulos_list->cajaancho->cellAttributes() ?>>
<span id="el<?php echo $bkp_master_articulos_list->RowCount ?>_bkp_master_articulos_cajaancho" class="bkp_master_articulos_cajaancho">
<span<?php echo $bkp_master_articulos_list->cajaancho->viewAttributes() ?>><?php echo $bkp_master_articulos_list->cajaancho->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($bkp_master_articulos_list->cajalargo->Visible) { // cajalargo ?>
		<td data-name="cajalargo" <?php echo $bkp_master_articulos_list->cajalargo->cellAttributes() ?>>
<span id="el<?php echo $bkp_master_articulos_list->RowCount ?>_bkp_master_articulos_cajalargo" class="bkp_master_articulos_cajalargo">
<span<?php echo $bkp_master_articulos_list->cajalargo->viewAttributes() ?>><?php echo $bkp_master_articulos_list->cajalargo->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($bkp_master_articulos_list->cajapeso->Visible) { // cajapeso ?>
		<td data-name="cajapeso" <?php echo $bkp_master_articulos_list->cajapeso->cellAttributes() ?>>
<span id="el<?php echo $bkp_master_articulos_list->RowCount ?>_bkp_master_articulos_cajapeso" class="bkp_master_articulos_cajapeso">
<span<?php echo $bkp_master_articulos_list->cajapeso->viewAttributes() ?>><?php echo $bkp_master_articulos_list->cajapeso->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($bkp_master_articulos_list->numpiezas->Visible) { // numpiezas ?>
		<td data-name="numpiezas" <?php echo $bkp_master_articulos_list->numpiezas->cellAttributes() ?>>
<span id="el<?php echo $bkp_master_articulos_list->RowCount ?>_bkp_master_articulos_numpiezas" class="bkp_master_articulos_numpiezas">
<span<?php echo $bkp_master_articulos_list->numpiezas->viewAttributes() ?>><?php echo $bkp_master_articulos_list->numpiezas->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($bkp_master_articulos_list->unidadcaja->Visible) { // unidadcaja ?>
		<td data-name="unidadcaja" <?php echo $bkp_master_articulos_list->unidadcaja->cellAttributes() ?>>
<span id="el<?php echo $bkp_master_articulos_list->RowCount ?>_bkp_master_articulos_unidadcaja" class="bkp_master_articulos_unidadcaja">
<span<?php echo $bkp_master_articulos_list->unidadcaja->viewAttributes() ?>><?php echo $bkp_master_articulos_list->unidadcaja->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($bkp_master_articulos_list->diasventa->Visible) { // diasventa ?>
		<td data-name="diasventa" <?php echo $bkp_master_articulos_list->diasventa->cellAttributes() ?>>
<span id="el<?php echo $bkp_master_articulos_list->RowCount ?>_bkp_master_articulos_diasventa" class="bkp_master_articulos_diasventa">
<span<?php echo $bkp_master_articulos_list->diasventa->viewAttributes() ?>><?php echo $bkp_master_articulos_list->diasventa->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($bkp_master_articulos_list->fecha_reg->Visible) { // fecha_reg ?>
		<td data-name="fecha_reg" <?php echo $bkp_master_articulos_list->fecha_reg->cellAttributes() ?>>
<span id="el<?php echo $bkp_master_articulos_list->RowCount ?>_bkp_master_articulos_fecha_reg" class="bkp_master_articulos_fecha_reg">
<span<?php echo $bkp_master_articulos_list->fecha_reg->viewAttributes() ?>><?php echo $bkp_master_articulos_list->fecha_reg->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
<?php

// Render list options (body, right)
$bkp_master_articulos_list->ListOptions->render("body", "right", $bkp_master_articulos_list->RowCount);
?>
	</tr>
<?php
	}
	if (!$bkp_master_articulos_list->isGridAdd())
		$bkp_master_articulos_list->Recordset->moveNext();
}
?>
</tbody>
</table><!-- /.ew-table -->
<?php } ?>
</div><!-- /.ew-grid-middle-panel -->
<?php if (!$bkp_master_articulos->CurrentAction) { ?>
<input type="hidden" name="action" id="action" value="">
<?php } ?>
</form><!-- /.ew-list-form -->
<?php

// Close recordset
if ($bkp_master_articulos_list->Recordset)
	$bkp_master_articulos_list->Recordset->Close();
?>
<?php if (!$bkp_master_articulos_list->isExport()) { ?>
<div class="card-footer ew-grid-lower-panel">
<?php if (!$bkp_master_articulos_list->isGridAdd()) { ?>
<form name="ew-pager-form" class="form-inline ew-form ew-pager-form" action="<?php echo CurrentPageName() ?>">
<?php echo $bkp_master_articulos_list->Pager->render() ?>
</form>
<?php } ?>
<div class="ew-list-other-options">
<?php $bkp_master_articulos_list->OtherOptions->render("body", "bottom") ?>
</div>
<div class="clearfix"></div>
</div>
<?php } ?>
</div><!-- /.ew-grid -->
<?php } ?>
<?php if ($bkp_master_articulos_list->TotalRecords == 0 && !$bkp_master_articulos->CurrentAction) { // Show other options ?>
<div class="ew-list-other-options">
<?php $bkp_master_articulos_list->OtherOptions->render("body") ?>
</div>
<div class="clearfix"></div>
<?php } ?>
<?php
$bkp_master_articulos_list->showPageFooter();
if (Config("DEBUG"))
	echo GetDebugMessage();
?>
<?php if (!$bkp_master_articulos_list->isExport()) { ?>
<script>
loadjs.ready("load", function() {

	// Startup script
	// Write your table-specific startup script here
	// console.log("page loaded");

});
</script>
<?php } ?>
<?php include_once "footer.php"; ?>
<?php
$bkp_master_articulos_list->terminate();
?>