
pdfDocument = {
{BEGIN backgroundImage}
	background: {
		image: {$backgroundImage},
		{BEGIN bgWidth}
		imgWidth: {$bgWidth},
		imgHeight: {$bgHeight},
		{END bgWidth}
	},
{END backgroundImage}
	styles: {
				bodycell: {
			fontSize:12,
		},
		headcell: {
			fontSize:12,
			bold: true
		},

	
						pagesummary: {
		fillColor: '#ffffbb',
	},
	globalsummary: {
		fillColor: '#ffe0b0',
	},
			group_1: {
			fillColor: '#C0C0C0'
		},
		nbgroup_1: {
			fillColor: '#C0C0C0'
		},
		header_1: {
			fillColor: '#C0C0C0',
			fontSize: 15,
			bold: true
		},
		/* new style styles */
		header_SOCIO: {
			fillColor: '#C0C0C0',
			fontSize: 15,
			bold: true
		},
		group_SOCIO: {
			fillColor: '#C0C0C0'
		},

		
	blackshade: {
		fontSize: 15,
	},
	summarycell: {
		border:[false, true, false, true ]
	},
/*
		.grouptotalsrow + :not(.grouptotalsrow) > * {
		border-top:solid #808080 1px; 
	}
	*/	
			},
	defaultStyle: {
		fontSize: 14,
	},
	"content": [
		{BEGIN body}
		{BEGIN embedded_grid_caption}
			{
				text: '{$jscaption Reporte_Pagos_Pendientes}',
			},
		{END embedded_grid_caption}
		{BEGIN embedded_page_title}
			{
				text: '{$jspagetitlelabel Reporte_Pagos_Pendientes rprint}',
			},
		{END embedded_page_title}		
		{ 
			{BEGIN standalone_page}
			pageBreak: 'before',
			standAlonePage: true,
			{END standalone_page}
			{BEGIN embedded_grid}
			embeddedPage: true,
			{END embedded_grid}
			layout: {
				hLineWidth: function(i, node) { return 0.1; },
				vLineWidth: function(i, node) { 
					return 0.1; 
				},
				hLineColor: function(i, node) { return 'lightgray'; },
				vLineColor: function(i, node) { return 'lightgray'; },
			},
			table: {
				{BEGIN embedded_grid}
				embeddedPage: true,
				{END embedded_grid}
				
				tableForm: true,
				headerRows: 1 
								{BEGIN embedded_grid} -1 {END embedded_grid} ,

				widths: [
														"%",
										"%",
										"%",
										"%",
										"%",
										"%",
										"%",
															],
							
				body: [
				{BEGIN standalone_page}
					[
						{
							colSpan: 7,
							border:[false, false,false,false],
							stack: [

																										
{
	table: {
	
				
		location: 'top',
		
		
		widths: [
								"*", 
					 ],	
		
	
		body: [
				
				[
																{
	cellId: 'c2',
	col:0,
	row:0,
			
		
	//	static colspan/rowspan
		
			
			
	
			"stack": [
		
				
			{"text":"{$jspagetitlelabel Reporte_Pagos_Pendientes rprint}","hidden":"{$item_hide_print_header}","fontSize":30},
				
				
			{"text":"{$printtabheader_text}","hidden":"{$item_hide_print_subheader}"},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
     
      
      },

											],
		
		]
	}
}
,
								
																										
{
	table: {
	
				
		location: 'above-grid',
		
		
		widths: [
								"*", 
					 ],	
		
	
		body: [
				
				[
																{
	cellId: 'c1',
	col:0,
	row:0,
			
		
	//	static colspan/rowspan
		
			
			
	
			"text": [
		
				
			{"text":"Página %current% / %total%","hidden":"{$item_hide_print_pages}","isHtml":true,"page_indicator":true},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
     
      
      },

											],
		
		]
	}
}
,
															]
						},
					],
				{END standalone_page}

																


{BEGIN grid_row}
	{BEGIN SOCIO_newgroup}
		[
								{
				text: '{$jslabel Reporte_Pagos_Pendientes SOCIO }',
				style: "blackshade",
				alignment: '{$SOCIO_align}',
			},
																																			
													{
				text: '{$jslabel Reporte_Pagos_Pendientes gestion }',
				style: "blackshade",
				alignment: '{$gestion_align}',
			},
											{
				text: '{$jslabel Reporte_Pagos_Pendientes estado_pago }',
				style: "blackshade",
				alignment: '{$estado_pago_align}',
			},
											{
				text: '{$jslabel Reporte_Pagos_Pendientes nro_derecho }',
				style: "blackshade",
				alignment: '{$nro_derecho_align}',
			},
											{
				text: '{$jslabel Reporte_Pagos_Pendientes nro_Acciones }',
				style: "blackshade",
				alignment: '{$nro_Acciones_align}',
			},
											{
				text: '{$jslabel Reporte_Pagos_Pendientes utilidad_gestion }',
				style: "blackshade",
				alignment: '{$utilidad_gestion_align}',
			},
											{
				text: '{$jslabel Reporte_Pagos_Pendientes total_bs }',
				style: "blackshade",
				alignment: '{$total_bs_align}',
			},
						],
	
	[
													{
					colSpan: 7,
					text: {$SOCIO_grval},
					style:"header_1"
				},
										],
	{END SOCIO_newgroup}

	{BEGIN row_data}
	[
			{
			text: [
									''
							],
			style: "group_1"
		},
									{
			text: {$gestion_value},
			alignment: '{$gestion_align}',
		},
							{
			text: {$estado_pago_value},
			alignment: '{$estado_pago_align}',
		},
							{
			text: {$nro_derecho_value},
			alignment: '{$nro_derecho_align}',
		},
							{
			text: {$nro_Acciones_value},
			alignment: '{$nro_Acciones_align}',
		},
							{
			text: {$utilidad_gestion_value},
			alignment: '{$utilidad_gestion_align}',
		},
							{
			text: {$total_bs_value},
			alignment: '{$total_bs_align}',
		},
				],
	{END row_data}


		{BEGIN SOCIO_endgroup}

		[
		
								{
				colSpan: 7,
				text: [
					'Resumen de {$jslabel Reporte_Pagos_Pendientes SOCIO } ', 
					{$SOCIO_grval},
					' - ', 
					{$groupSOCIO_total_cnt}, 
					' Registros totales'
				],
				style: 'group_1',
			},
																																				],
	
	
	
	
	
	{END SOCIO_endgroup}
	
{END grid_row}










{BEGIN global_summary}
	[
		{
			text: 'Resumen global {$global_total_cnt} - Registros totales',
			colSpan: 7,
			style: 'globalsummary',
		}
	],

	
	
	
	
{END global_summary}
									]
			
			}
		},
		{END body}
	],
	footer: [
								
{
	table: {
	
				
		location: 'below-grid',
		
		
		widths: [
								"*", 
					 ],	
		
	
		body: [
				
				[
																{
	cellId: 'c1',
	col:0,
	row:0,
			
		
	//	static colspan/rowspan
		
			
			
	
			"text": [
		
				'',
	  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
     
      
      },

											],
		
		]
	}
}
			],
	};


pdfFonts = {$pdfFonts};
