<!doctype html>
<html  {$html_attrs}>
	<head>
		<title>{$pagetitle}</title>
		<meta http-equiv="X-UA-Compatible" content="IE=7">
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<link REL="stylesheet" href="styles/default.css" type="text/css">
		{BEGIN rtlCSS}
		<link REL="stylesheet" href="styles/defaultRTL.css" type="text/css">
		{END rtlCSS}
		{BEGIN styleCSSFiles}
		<link REL="stylesheet" href="{$stylepath}" type="text/css">
		{END styleCSSFiles}
		{BEGIN pageCSSFiles}
		<link REL="stylesheet" href="{$pagestylepath}" type="text/css">
		{END pageCSSFiles}
		<!--[if IE]>
			<link REL="stylesheet" href="styles/defaultIE.css" type="text/css">
			{BEGIN IEcssFiles}
			<link REL="stylesheet" href="{$stylepathIE}" type="text/css">
			{END IEcssFiles}
		<![endif]-->
	</head>
	
	<body class="{$stylename}" {$bodyattrs}>
	{BEGIN body}
		{$header}
		<table   cellpadding="0" class="runner-toptable">
			<tr class="runner-header">
				<td class="runner-top" colspan=3>
					



{BEGIN container_pdf}
<table class="runner-c runner-c-pdf" cellpadding="0" >
<tr class="{$cheaderclass_pdf}">
<td class="runner-cl"><img src="images/spacer.gif"></td>
<td class="runner-cc"></td><td class="runner-cr"><img src="images/spacer.gif"></td>
</tr>
<tr class="runner-row style1">
<td class="runner-cl"></td>
<td class="runner-cc">
<table border="0" cellpadding="0" class="runner-hc">
<tr>


<td  class="runner-cc runner-bl runner-b-printpdf" {$brickclass_printpdf}><span>{BEGIN pdflink_block}
<a href="#" class=pdflink {$pdflink_attrs}>Vista PDF</a>
{END pdflink_block}
</span></td>


<td class="runner-cc filler"></td>
</tr>
</table></td>
<td class="runner-cr"></td>
</tr>

<tr class="{$cfooterclass_pdf}">
<td class="runner-cl"><img src="images/spacer.gif"></td>
<td class="runner-cc"></td><td class="runner-cr"><img src="images/spacer.gif"></td>
</tr>
</table>
{END container_pdf}


				</td>
			</tr>
			<tr class="runner-body">
				
				<td class="runner-left {$blockclass_left}" >
					
				</td>	
				
				<td class="runner-center {$blockclass_center}">
					

{BEGIN container_grid}


{BEGIN grid_block}
{BEGIN page}
<h1>Ajuste</h1>
<span>
{BEGIN page_number}
Página {$pageno} / {$maxpages} 
{END page_number}
</span>

	<div class="runner-s-grid">	
	<table class="runner-c runner-c-grid" cellpadding="0">
		<thead>
		{BEGIN grid_header}
		<tr class="runner-toprow style1">
			<td class="runner-cl"><img src="images/spacer.gif"></td>
			{BEGIN record_header}
					{BEGIN idajuste_fieldheadercolumn}
<th class="runner-cc">
	{BEGIN idajuste_fieldheader}
	<b>ID Ajuste</b>
	{END idajuste_fieldheader}
</th>
{END idajuste_fieldheadercolumn}
	{BEGIN fecha_fieldheadercolumn}
<th class="runner-cc">
	{BEGIN fecha_fieldheader}
	<b>Fecha</b>
	{END fecha_fieldheader}
</th>
{END fecha_fieldheadercolumn}
	{BEGIN idmotivo_ajuste_fieldheadercolumn}
<th class="runner-cc">
	{BEGIN idmotivo_ajuste_fieldheader}
	<b>Motivo Ajuste</b>
	{END idmotivo_ajuste_fieldheader}
</th>
{END idmotivo_ajuste_fieldheadercolumn}
	{BEGIN idarticulo_fieldheadercolumn}
<th class="runner-cc">
	{BEGIN idarticulo_fieldheader}
	<b>Artículo</b>
	{END idarticulo_fieldheader}
</th>
{END idarticulo_fieldheadercolumn}
	{BEGIN cant_antes_fieldheadercolumn}
<th class="runner-cc">
	{BEGIN cant_antes_fieldheader}
	<b>Cant Antes</b>
	{END cant_antes_fieldheader}
</th>
{END cant_antes_fieldheadercolumn}
	{BEGIN cant_ajustada_fieldheadercolumn}
<th class="runner-cc">
	{BEGIN cant_ajustada_fieldheader}
	<b>Cant Ajustada</b>
	{END cant_ajustada_fieldheader}
</th>
{END cant_ajustada_fieldheadercolumn}
	{BEGIN cant_despues_fieldheadercolumn}
<th class="runner-cc">
	{BEGIN cant_despues_fieldheader}
	<b>Cant Después</b>
	{END cant_despues_fieldheader}
</th>
{END cant_despues_fieldheadercolumn}
		
			{END record_header}
			<td class="runner-cr"><img src="images/spacer.gif"></td>
			{BEGIN endrecordheader_block}
			<td class="runner-cs">&nbsp;</td>
			{END endrecordheader_block}
		</tr>
	{END grid_header}
		</thead>
		<tbody>	
		{BEGIN grid_row}
	<tr class="runner-row style1" {$rowattrs} {$rowstyle} {$rowstyle}>
		<td class="runner-cl"></td>
		{BEGIN grid_record}
				{BEGIN idajuste_fieldcolumn}
<td  class="runner-cc {$idajuste_class}" {$idajuste_style}>
	{$idajuste_value}
</td>
{END idajuste_fieldcolumn}
	{BEGIN fecha_fieldcolumn}
<td  class="runner-cc {$fecha_class}" {$fecha_style}>
	{$fecha_value}
</td>
{END fecha_fieldcolumn}
	{BEGIN idmotivo_ajuste_fieldcolumn}
<td  class="runner-cc {$idmotivo_ajuste_class}" {$idmotivo_ajuste_style}>
	{$idmotivo_ajuste_value}
</td>
{END idmotivo_ajuste_fieldcolumn}
	{BEGIN idarticulo_fieldcolumn}
<td  class="runner-cc {$idarticulo_class}" {$idarticulo_style}>
	{$idarticulo_value}
</td>
{END idarticulo_fieldcolumn}
	{BEGIN cant_antes_fieldcolumn}
<td  class="runner-cc {$cant_antes_class}" {$cant_antes_style}>
	{$cant_antes_value}
</td>
{END cant_antes_fieldcolumn}
	{BEGIN cant_ajustada_fieldcolumn}
<td  class="runner-cc {$cant_ajustada_class}" {$cant_ajustada_style}>
	{$cant_ajustada_value}
</td>
{END cant_ajustada_fieldcolumn}
	{BEGIN cant_despues_fieldcolumn}
<td  class="runner-cc {$cant_despues_class}" {$cant_despues_style}>
	{$cant_despues_value}
</td>
{END cant_despues_fieldcolumn}

		{END grid_record}
		<td class="runner-cr"></td>
		{BEGIN endrecord_block}
		<td class="runner-cs">&nbsp;</td>
		{END endrecord_block}
	</tr>
{END grid_row}
										
								<tr class="runner-bottomrow style1">
									<td class="runner-cl"><img src="images/spacer.gif"></td>
									{BEGIN record_footer}
									{BEGIN idajuste_fieldfootercolumn}
<td class="runner-cc "></td>
{END idajuste_fieldfootercolumn}
{BEGIN fecha_fieldfootercolumn}
<td class="runner-cc "></td>
{END fecha_fieldfootercolumn}
{BEGIN idmotivo_ajuste_fieldfootercolumn}
<td class="runner-cc "></td>
{END idmotivo_ajuste_fieldfootercolumn}
{BEGIN idarticulo_fieldfootercolumn}
<td class="runner-cc "></td>
{END idarticulo_fieldfootercolumn}
{BEGIN cant_antes_fieldfootercolumn}
<td class="runner-cc "></td>
{END cant_antes_fieldfootercolumn}
{BEGIN cant_ajustada_fieldfootercolumn}
<td class="runner-cc "></td>
{END cant_ajustada_fieldfootercolumn}
{BEGIN cant_despues_fieldfootercolumn}
<td class="runner-cc runner-clast"></td>
{END cant_despues_fieldfootercolumn}

									{END record_footer}
									<td class="runner-cr"><img src="images/spacer.gif"></td>
									{BEGIN endrecordtotals_block}
									<td class="runner-cs"></td>
									{END endrecordtotals_block}
								</tr>

		</tbody>
	</table>
</div>	
{END page}

{END grid_block}



{END container_grid}


				</td>	

				<td class="runner-right {$blockclass_right}">
					
				</td>	
			</tr>
			<tr class="runner-footer">
				<td class="runner-bottom" colspan=3>
					<!--%%bottom%%-->
				</td>
			</tr>
		</table>
		{$footer}
	{END body}
	</body>
</html>
