
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',
	},
		
	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 acciones_Report}',
			},
		{END embedded_grid_caption}
		{BEGIN embedded_page_title}
			{
				text: '{$jspagetitlelabel acciones_Report 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 acciones_Report 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}

																
[	
		{
		text: '{$jslabel acciones_Report id_Pago }',
		alignment: '{$id_Pago_align}',
	},
		{
		text: '{$jslabel acciones_Report fecha_Pago }',
		alignment: '{$fecha_Pago_align}',
	},
		{
		text: '{$jslabel acciones_Report ci }',
		alignment: '{$ci_align}',
	},
		{
		text: '{$jslabel acciones_Report nro_Acciones }',
		alignment: '{$nro_Acciones_align}',
	},
		{
		text: '{$jslabel acciones_Report total_bs }',
		alignment: '{$total_bs_align}',
	},
		{
		text: '{$jslabel acciones_Report tipo_pago }',
		alignment: '{$tipo_pago_align}',
	},
		{
		text: '{$jslabel acciones_Report Nombre }',
		alignment: '{$Nombre_align}',
	},
	],

{BEGIN grid_row}
	{BEGIN row_data}
[	
		{	
		text: {$id_Pago_value},
		alignment: '{$id_Pago_align}',
	},
		{	
		text: {$fecha_Pago_value},
		alignment: '{$fecha_Pago_align}',
	},
		{	
		text: {$ci_value},
		alignment: '{$ci_align}',
	},
		{	
		text: {$nro_Acciones_value},
		alignment: '{$nro_Acciones_align}',
	},
		{	
		text: {$total_bs_value},
		alignment: '{$total_bs_align}',
	},
		{	
		text: {$tipo_pago_value},
		alignment: '{$tipo_pago_align}',
	},
		{	
		text: {$Nombre_value},
		alignment: '{$Nombre_align}',
	},
	],
	{END row_data}
{END grid_row}

[
		{	
		text: '{$jslabel acciones_Report id_Pago }',
		alignment: '{$id_Pago_align}',
	},
		{	
		text: '{$jslabel acciones_Report fecha_Pago }',
		alignment: '{$fecha_Pago_align}',
	},
		{	
		text: '{$jslabel acciones_Report ci }',
		alignment: '{$ci_align}',
	},
		{	
		text: '{$jslabel acciones_Report nro_Acciones }',
		alignment: '{$nro_Acciones_align}',
	},
		{	
		text: '{$jslabel acciones_Report total_bs }',
		alignment: '{$total_bs_align}',
	},
		{	
		text: '{$jslabel acciones_Report tipo_pago }',
		alignment: '{$tipo_pago_align}',
	},
		{	
		text: '{$jslabel acciones_Report Nombre }',
		alignment: '{$Nombre_align}',
	},
	],










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

		[
							{
			text: [
							'Sum ',
			
							'',
						],
			style: 'globalsummary',

					},
							{
			text: [
			
							'',
						],
			style: 'globalsummary',

					},
							{
			text: [
			
							'',
						],
			style: 'globalsummary',

					},
							{
			text: [
			
							{$global_totalnro_Acciones_sum},
						],
			style: 'globalsummary',

			 
			alignment: '{$nro_Acciones_align}',
					},
							{
			text: [
			
							{$global_totaltotal_bs_sum},
						],
			style: 'globalsummary',

			 
			alignment: '{$total_bs_align}',
					},
							{
			text: [
			
							'',
						],
			style: 'globalsummary',

					},
							{
			text: [
			
							'',
						],
			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};
