<!doctype html>
<html  {$html_attrs}>
	<head>
				<meta http-equiv="X-UA-Compatible" content="IE=Edge">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>{$pagetitle}</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<base href="{$projectPath}">
		<link REL="stylesheet" href="styles/default.css?{$wizardBuildKey}" type="text/css">
	{BEGIN rtlCSS}
	<link REL="stylesheet" href="styles/defaultRTL.css?{$wizardBuildKey}" type="text/css">
	{END rtlCSS}
	{BEGIN styleCSSFiles}
	<link REL="stylesheet" href="{$stylepath}" type="text/css">
	{END styleCSSFiles}
			
	</head>

	<body class="{$stylename} function-rprint" >
	{BEGIN body}
		{$header}
		<style>
			{$containerCss}
		</style>
		{$locking}
		<div class="r-small-page" 
			data-body-align="left"
			data-body-width="standard"
		>
							{BEGIN top_block}
<div class="r-form" data-location="top" id="form_top_{$pageid}" data-makeup="small" {$form_top} data-pageid="{$pageid}" >		
	 
				<div class="row">
			 
				<div 
	data-cellId="top_c2" data-pageid="{$pageid}"	{$cell_top_c2}
	class=" r-ori-vert			col-md-12
	
">
		 
		<h2 data-itemtype="print_header" data-itemid="print_header" {$item_print_header} data-pageid="{$pageid}" >{$pagetitlelabel premios_fecha_Report rprint}</h2>
	 
		{BEGIN printtabheader}
<span data-itemtype="print_subheader" data-itemid="print_subheader" {$item_print_subheader} data-pageid="{$pageid}" >
{$printtabheader_text}
</span>
{END printtabheader}
		</div>					</div>
			</div>		
{END top_block}
									{BEGIN above-grid_block}
<div class="r-form" data-location="above-grid" id="form_above-grid_{$pageid}" data-makeup="small" {$form_above-grid} data-pageid="{$pageid}" >		
	 
				<div class="row">
			 
				<div 
	data-cellId="above-grid_c1" data-pageid="{$pageid}"	{$cell_above-grid_c1}
	class=" r-ori-vert			col-md-12
	
">
		{BEGIN firstAboveGridCell}
		 
		<span data-itemtype="print_pages" data-itemid="print_pages" {$item_print_pages} data-pageid="{$pageid}" data-small >
	{$print_pages_labelprint_pages}
</span>			{END firstAboveGridCell}	
	</div>					</div>
			</div>		
{END above-grid_block}
									{BEGIN grid_block}
<style>
	td.pagesummary.pagesummary.pagesummary.pagesummary.pagesummary.pagesummary.pagesummary.pagesummary {
		background-color: #ffffbb;
	}
	td.globalsummary.globalsummary.globalsummary.globalsummary.globalsummary.globalsummary.globalsummary.globalsummary {background-color: #ffe0b0;
	}
	.rnr-report {
		width: 100%;
	}
			td.group_1{
			background-color: #90EE90;
		}
		td.nbgroup_1{
			background-color: #90EE90;
		}
		td.header_1 {
			background-color: #90EE90; 
			font-size: 120%;
			padding: 2px 8px;
			font-weight: bold;
		}
		td.blackshade {
		font-size: 120%;
	}
	.summaryrow > * {
		border:solid #808080 1px; 
		border-left: none; 
		border-right: none;
	}
		td.blackshade {
		border-bottom:solid #808080 1px; 
	}
	.grouptotalsrow + :not(.grouptotalsrow) > * {
		border-top:solid #808080 1px; 
	}
	</style>
<div id="grid_block{$id}" class="rnr-report-gridblock">
						


<table  class="table table-condensed table-striped table-hover table-bordered rnr-b-grid rnr-gridtable" cellpadding="0" >
	<tbody>
{BEGIN grid_row}
		<!--  group headers -->
							{BEGIN nombre_premio_newgroup}

		<tr class="group-spliter-1" >
				
			<td class="header_1" colspan="4">
				{$label premios_fecha_Report nombre_premio }:&nbsp;
										<span data-itemtype="report_group_field" data-itemid="report_group_field" {$item_report_group_field} data-pageid="{$pageid}" data-field="nombre_premio" data-fieldname="nombre_premio" >
{$nombre_premio_grval}
</span>			</td>
		</tr>

					<tr class="group-headers">
							<td class="group_1">&nbsp;</td>
																									<td class="blackshade {$fieldclass_cantidad}">{$label premios_fecha_Report cantidad }</td>
																	<td class="blackshade {$fieldclass_entregado}">{$label premios_fecha_Report entregado }</td>
																	<td class="blackshade {$fieldclass_saldo}">{$label premios_fecha_Report saldo }</td>
											</tr>
					{END nombre_premio_newgroup}
	
			<!--  data-->
		{BEGIN row_data}
		<tr>
																	<td class="group_1">
									&nbsp;
								</td>
				
																															<td class="data {$fieldclass_cantidad}">
				<span data-itemtype="report_grid_field" data-itemid="report_grid_field" {$item_report_grid_field} data-pageid="{$pageid}" data-field="cantidad" data-fieldname="cantidad" >
{$cantidad_value}
</span>

			</td>
																						<td class="data {$fieldclass_entregado}">
				<span data-itemtype="report_grid_field" data-itemid="report_grid_field1" {$item_report_grid_field1} data-pageid="{$pageid}" data-field="entregado" data-fieldname="entregado" >
{$entregado_value}
</span>

			</td>
																						<td class="data {$fieldclass_saldo}">
				<span data-itemtype="report_grid_field" data-itemid="report_grid_field2" {$item_report_grid_field2} data-pageid="{$pageid}" data-field="saldo" data-fieldname="saldo" >
{$saldo_value}
</span>

			</td>
											</tr>
		{END row_data}
	
	<!---  group summary-->
					{BEGIN nombre_premio_endgroup}

		<tr class="summaryrow" >
			
						<td  class="group_1" colspan=4 >
				Resumen de&nbsp;{$label premios_fecha_Report nombre_premio }&nbsp;{$nombre_premio_grval}
					- <span class="summary-1" data-type="summary">{$groupnombre_premio_total_cnt}
					</span> Registros totales			</td>
					</tr>

		<!--  Sum -->
		<tr class="grouptotalsrow" >
					
						<td class="group_1">Sum</td>
								
						<td class="{$fieldclass_cantidad} group_1">
				<span class="summary-1" data-type="sum" data-field="cantidad">
					{$groupnombre_premio_totalcantidad_sum}
				</span>
			</td>
								
						<td class="{$fieldclass_entregado} group_1">
				<span class="summary-1" data-type="sum" data-field="entregado">
					{$groupnombre_premio_totalentregado_sum}
				</span>
			</td>
								
						<td class="{$fieldclass_saldo} group_1">
				<span class="summary-1" data-type="sum" data-field="saldo">
					{$groupnombre_premio_totalsaldo_sum}
				</span>
			</td>
							</tr>
	
		<!--  Avg -->
		<tr class="grouptotalsrow"  >
					
						<td class="group_1">Promedio</td>
								
						<td class="{$fieldclass_cantidad} group_1">
				<span class="summary-1" data-type="avg" data-field="cantidad">{$groupnombre_premio_totalcantidad_avg}
				</span>
			</td>
								
						<td class="{$fieldclass_entregado} group_1">
				<span class="summary-1" data-type="avg" data-field="entregado">{$groupnombre_premio_totalentregado_avg}
				</span>
			</td>
								
						<td class="{$fieldclass_saldo} group_1">
				<span class="summary-1" data-type="avg" data-field="saldo">{$groupnombre_premio_totalsaldo_avg}
				</span>
			</td>
							</tr>
	
	
	
		{END nombre_premio_endgroup}
			
{END grid_row}

{BEGIN summary_header}
		<tr class="summary-header">
						<td class="blackshade {$fieldclass_nombre_premio}">{$label premios_fecha_Report nombre_premio }</td>
																					<td class="blackshade {$fieldclass_cantidad}">{$label premios_fecha_Report cantidad }</td>
								<td class="blackshade {$fieldclass_entregado}">{$label premios_fecha_Report entregado }</td>
								<td class="blackshade {$fieldclass_saldo}">{$label premios_fecha_Report saldo }</td>
					</tr>
{END summary_header}		

	


    
    {BEGIN page_summary}
    <!-- page summary-->
    <tr class="summaryrow summary-page">
        <td class="pagesummary" colspan="4">Resumen de la pagina            <span class="page-summary" data-type="summary">{$page_total_cnt}</span> - Registros totales        </td>
    </tr>
	    <!--  Sum -->
    <tr class="summary-page">
					
                        <td class="pagesummary">Sum</td>
            		
					
                        <td class="pagesummary {$fieldclass_cantidad}">
				<span class="page-summary" data-type="sum" data-field="cantidad">
					{$page_totalcantidad_sum}
                </span>
            </td>
            		
					
                        <td class="pagesummary {$fieldclass_entregado}">
				<span class="page-summary" data-type="sum" data-field="entregado">
					{$page_totalentregado_sum}
                </span>
            </td>
            		
					
                        <td class="pagesummary {$fieldclass_saldo}">
				<span class="page-summary" data-type="sum" data-field="saldo">
					{$page_totalsaldo_sum}
                </span>
            </td>
            		
		</tr>
	
	    <!--  Avg -->
    <tr class="summary-page">
	                
                <td class="pagesummary">Promedio</td>
                
	                
                <td class="pagesummary {$fieldclass_cantidad}">
            <span class="page-summary" data-type="avg" data-field="cantidad">
                {$page_totalcantidad_avg}
            </span>
        </td>
                
	                
                <td class="pagesummary {$fieldclass_entregado}">
            <span class="page-summary" data-type="avg" data-field="entregado">
                {$page_totalentregado_avg}
            </span>
        </td>
                
	                
                <td class="pagesummary {$fieldclass_saldo}">
            <span class="page-summary" data-type="avg" data-field="saldo">
                {$page_totalsaldo_avg}
            </span>
        </td>
                
		
	</tr>
	
	
	    {END page_summary}

	<!-- global summary-->
	{BEGIN global_summary}
    <tr class="summaryrow summary-global">
        <td class="globalsummary" colspan="4">
            Resumen global {$global_total_cnt} - Registros totales        </td>
    </tr>

	    <!--  Sum -->
    <tr class="summary-global">
					
                <td class="globalsummary">Sum</td>
        		
					
                <td class="globalsummary {$fieldclass_cantidad}">
            {$global_totalcantidad_sum}
        </td>
        		
					
                <td class="globalsummary {$fieldclass_entregado}">
            {$global_totalentregado_sum}
        </td>
        		
					
                <td class="globalsummary {$fieldclass_saldo}">
            {$global_totalsaldo_sum}
        </td>
        		
		</tr>
	
	    <!--  Avg -->
    <tr class="summary-global">
					
				<td class="globalsummary">Promedio</td>
							
				<td class="globalsummary {$fieldclass_cantidad}">
            {$global_totalcantidad_avg}
        </td>
							
				<td class="globalsummary {$fieldclass_entregado}">
            {$global_totalentregado_avg}
        </td>
							
				<td class="globalsummary {$fieldclass_saldo}">
            {$global_totalsaldo_avg}
        </td>
				</tr>
	
	
		{END global_summary}

	</tbody>
</table>			</div>
{END grid_block}									{BEGIN below-grid_block}
<div class="r-form" data-location="below-grid" id="form_below-grid_{$pageid}" data-makeup="small" {$form_below-grid} data-pageid="{$pageid}" >		
	 
				<div class="row">
			 
				<div 
	data-cellId="below-grid_c1" data-pageid="{$pageid}"	{$cell_below-grid_c1}
	class=" r-ori-vert			col-md-12
	
">
			</div>					</div>
			</div>		
{END below-grid_block}
			</div>
		{$footer}
	{END body}
	</body>
</html>
