
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
		},

	
			},
	defaultStyle: {
		fontSize: 14,
	},
	"content": [
		{BEGIN body}
		{BEGIN embedded_grid_caption}
			{
				text: '{$jscaption concesionarios_para_dashboar}',
			},
		{END embedded_grid_caption}
		{BEGIN embedded_page_title}
			{
				text: '{$jspagetitlelabel concesionarios_para_dashboar list}',
			},
		{END embedded_page_title}		
		{ 
			{BEGIN standalone_page}
			pageBreak: 'before',
			{END standalone_page}
			{BEGIN embedded_grid}
			embeddedPage: true,
			{END embedded_grid}
			layout: {
				hLineWidth: function(i, node) { return 0; },
				vLineWidth: function(i, node) { 
					if ( node.table.embeddedPage ) {
						return (i === 0 || i === node.table.widths.length) ? 0 : 0;
					} else  {
						return 0; 
					}
				},
				hLineColor: function(i, node) { return 'gray'; },
				vLineColor: function(i, node) { return 'gray'; },
			},
			table: {
				{BEGIN embedded_grid}
				embeddedPage: true,
				{END embedded_grid}
				
				tableForm: true,
				headerRows: 1 
									{BEGIN row_grid_0}
						+1
					{END row_grid_0}
									{BEGIN row_grid_-1}
						+1
					{END row_grid_-1}
								{BEGIN embedded_grid} -1 {END embedded_grid} ,

				widths: [
														"*",
										"*",
										"*",
															],
							
				body: [
				{BEGIN standalone_page}
					[
						{
							colSpan: 3,
							border:[false, false,false,false],
							stack: [

																										
{
	table: {
	
				
		location: 'top',
		
		
		widths: [
								"*", 
					 ],	
		
	
		body: [
				
				[
																{
	cellId: 'c2',
	col:0,
	row:0,
			
		
	//	static colspan/rowspan
		
			
	
	
			"text": [
		
				
			{BEGIN mastertable_block}
			{$showmasterfile}
		{END mastertable_block},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
  },

											],
		
		]
	}
}
,
								
																										
{
	table: {
	
				
		location: 'above-grid',
		
		
		widths: [
								"*", 
											"*", 
					 ],	
		
	
		body: [
				
				[
																{
	cellId: 'c1',
	col:0,
	row:0,
			
		
	//	static colspan/rowspan
		
			
	
	
			"text": [
		
				
			{"text":"","hidden":"{$item_hide_inline_add}"},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
  },

																							{
	cellId: 'c2',
	col:0,
	row:0,
			
		
	//	static colspan/rowspan
		
			
	
	
			"text": [
		
				
			{"text":"Mostrando %first% - %last% de %total%","hidden":"{$item_hide_details_found}","isHtml":true,"page_indicator":true},
				
				
			{"text":"","hidden":"{$item_hide_page_size}"},
				
				
			{"text":"","hidden":"{$item_hide_print_panel}"},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'right',
  },

											],
						[
																{
	cellId: 'c3',
	col:0,
	row:0,
			
		
	//	static colspan/rowspan
		
			
	
	
			"text": [
		
				'',
	  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
  },

																							{
	cellId: 'c4',
	col:0,
	row:0,
			
		
	//	static colspan/rowspan
		
			
	
	
			"text": [
		
				'',
	  ],
  "border": [ false, false, false, false ],
              "alignment": 'right',
  },

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

																	
	{BEGIN grid_row}
	[ 
	
	{BEGIN grid_record}
	{BEGIN grid_vrecord}
	
		{ 
			layout: 'vrecord',
			table: {
				widths: ['*'],
				body: [[
					{
						
						table: {
							tableForm: true,
							widths: [
																{BEGIN col_grid_0}
								"90%",
								{END col_grid_0}
															],
													heights: [
															{BEGIN row_grid_0}			
								"%",
								{END row_grid_0}
															{BEGIN row_grid_1}			
								"%",
								{END row_grid_1}
															{BEGIN row_grid_2}			
								"%",
								{END row_grid_2}
															{BEGIN row_grid_3}			
								"%",
								{END row_grid_3}
															{BEGIN row_grid_4}			
								"%",
								{END row_grid_4}
															{BEGIN row_grid_5}			
								"%",
								{END row_grid_5}
															{BEGIN row_grid_6}			
								"%",
								{END row_grid_6}
															{BEGIN row_grid_7}			
								"%",
								{END row_grid_7}
															{BEGIN row_grid_8}			
								"%",
								{END row_grid_8}
															{BEGIN row_grid_9}			
								"%",
								{END row_grid_9}
														],
													
							body: [
									
				{BEGIN row_grid_0}
				[
																{BEGIN cellblock_grid_cell_top}
{
	cellId: 'cell_top',
	col:0,
	row:0,
			fieldName: 'nombre_conc',
				style: 'headcell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				
			{"text":{$pdf_image images/baseline_badge_black_24dp.png 0 0},"hidden":"{$item_hide_image1}"},
				
				
			{"text":{$nombre_conc_pdfvalue},"hidden":"{$item_hide_simple_grid_field1}","bold":true},
				
				
			{"text":"","hidden":"{$item_hide_grid_inline_cancel}"},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": '{$nombre_conc_align}',
  },

{END cellblock_grid_cell_top}
											],
				{END row_grid_0}
						{BEGIN row_grid_1}
				[
																{BEGIN cellblock_grid_cell_field}
{
	cellId: 'cell_field',
	col:0,
	row:0,
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				'',
	  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
  },

{END cellblock_grid_cell_field}
											],
				{END row_grid_1}
						{BEGIN row_grid_2}
				[
																{BEGIN cellblock_grid_cell_field1}
{
	cellId: 'cell_field1',
	col:0,
	row:0,
			fieldName: 'Tel_1_Conc',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				
			{"text":{$pdf_image images/baseline_phone_iphone_black_24dp.png 0 0},"hidden":"{$item_hide_image2}"},
				
				
			{"text":{$Tel_1_Conc_pdfvalue},"hidden":"{$item_hide_simple_grid_field3}"},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": '{$Tel_1_Conc_align}',
  },

{END cellblock_grid_cell_field1}
											],
				{END row_grid_2}
						{BEGIN row_grid_3}
				[
																{BEGIN cellblock_grid_cell_field3}
{
	cellId: 'cell_field3',
	col:0,
	row:0,
			fieldName: 'Direccio_conc',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				
			{"text":{$pdf_image images/baseline_place_black_24dp.png 0 0},"hidden":"{$item_hide_image3}"},
				
				
			{"text":{$Direccio_conc_pdfvalue},"hidden":"{$item_hide_simple_grid_field2}"},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": '{$Direccio_conc_align}',
  },

{END cellblock_grid_cell_field3}
											],
				{END row_grid_3}
						{BEGIN row_grid_4}
				[
																{BEGIN cellblock_grid_cell_field4}
{
	cellId: 'cell_field4',
	col:0,
	row:0,
			fieldName: 'CP_conc',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				
			{"text":{$pdf_image images/baseline_map_black_24dp.png 0 0},"hidden":"{$item_hide_image4}"},
				
				
			{"text":{$CP_conc_pdfvalue},"hidden":"{$item_hide_simple_grid_field5}"},
				
				
			{"text":{$Localidad_Conc_pdfvalue},"hidden":"{$item_hide_simple_grid_field6}"},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": '{$CP_conc_align}',
  },

{END cellblock_grid_cell_field4}
											],
				{END row_grid_4}
						{BEGIN row_grid_5}
				[
																{BEGIN cellblock_grid_cell_field5}
{
	cellId: 'cell_field5',
	col:0,
	row:0,
			fieldName: 'Provincia_conc',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				
			{"text":{$pdf_image images/baseline_travel_explore_black_24dp.png 0 0},"hidden":"{$item_hide_image5}"},
				
				
			{"text":{$Provincia_conc_pdfvalue},"hidden":"{$item_hide_simple_grid_field7}"},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": '{$Provincia_conc_align}',
  },

{END cellblock_grid_cell_field5}
											],
				{END row_grid_5}
						{BEGIN row_grid_6}
				[
																{BEGIN cellblock_grid_cell_field6}
{
	cellId: 'cell_field6',
	col:0,
	row:0,
			fieldName: 'Mail_Conc',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				
			{"text":{$pdf_image images/baseline_mail_outline_black_24dp.png 0 0},"hidden":"{$item_hide_image}"},
				
				
			{"text":{$Mail_Conc_pdfvalue},"hidden":"{$item_hide_simple_grid_field8}"},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": '{$Mail_Conc_align}',
  },

{END cellblock_grid_cell_field6}
											],
				{END row_grid_6}
						{BEGIN row_grid_7}
				[
																{BEGIN cellblock_grid_cell_field7}
{
	cellId: 'cell_field7',
	col:0,
	row:0,
			fieldName: 'contacto_conc',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				
			{"text":{$contacto_conc_pdfvalue},"hidden":"{$item_hide_filter_panel_field}"},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": '{$contacto_conc_align}',
  },

{END cellblock_grid_cell_field7}
											],
				{END row_grid_7}
						{BEGIN row_grid_8}
				[
																{BEGIN cellblock_grid_cell_field8}
{
	cellId: 'cell_field8',
	col:0,
	row:0,
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				'',
	  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
  },

{END cellblock_grid_cell_field8}
											],
				{END row_grid_8}
						{BEGIN row_grid_9}
				[
																{BEGIN cellblock_grid_cell_dpreview}
{
	cellId: 'cell_dpreview',
	col:0,
	row:0,
				style: 'footcell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				'',
	  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
  },

{END cellblock_grid_cell_dpreview}
											],
				{END row_grid_9}
		
							]
						}
					}
				]]
			}
		},
	{END grid_vrecord}
	{END grid_record}
	]
,
	{END grid_row}
	
									]
			
			}
		},
		{END body}
	],
	footer: [
								
{
	table: {
	
				
		location: 'below-grid',
		
		
		widths: [
								"*", 
					 ],	
		
	
		body: [
				
				[
																{
	cellId: 'c1',
	col:0,
	row:0,
			
		
	//	static colspan/rowspan
		
			
	
	
			"text": [
		
				
			{"text":"","hidden":"{$item_hide_pagination}"},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'center',
  },

											],
		
		]
	}
}
			],
	}
