
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: '#90EE90'
		},
		nbgroup_1: {
			fillColor: '#90EE90'
		},
		header_1: {
			fillColor: '#90EE90',
			fontSize: 15,
			bold: true
		},
		/* new style styles */
		header_A_City: {
			fillColor: '#90EE90',
			fontSize: 15,
			bold: true
		},
		group_A_City: {
			fillColor: '#90EE90'
		},

		
	blackshade: {
		fontSize: 15,
	},
	summarycell: {
		border:[false, true, false, true ]
	},
/*
		.fieldnamesrow > * 
	{
		border:solid #808080 1px; 
		border-left: none; 
		border-right: none;
	}
	*/	
			},
	defaultStyle: {
		fontSize: 14,
	},
	"content": [
		{BEGIN body}
		{BEGIN embedded_grid_caption}
			{
				text: '{$jscaption clients_Report}',
			},
		{END embedded_grid_caption}
		{BEGIN embedded_page_title}
			{
				text: '{$jspagetitlelabel clients_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: 12,
							border:[false, false,false,false],
							stack: [

																										
{
	table: {
	
				
		location: 'top',
		
		
		widths: [
								"*", 
					 ],	
		
	
		body: [
				
				[
																{
	cellId: 'c2',
	col:0,
	row:0,
			
		
	//	static colspan/rowspan
		
			
			
	
			"stack": [
		
				
			{"text":"{$jspagetitlelabel clients_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":"{mlang_message PRINT_PAGES}","hidden":"{$item_hide_print_pages}","isHtml":true,"page_indicator":true},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
     
      
      },

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

																


{BEGIN grid_row}
	 
		{BEGIN A_City_newgroup}							
		[
			{
				colSpan: 12,
				text: ['{$jslabel clients_Report A_City } ', {$A_City_grval}],
				style: 'header_1',
			}
		],
		
				[
																	{
				text: '{$jslabel clients_Report ID_Client }',
				style: 'blackshade',
				alignment: '{$ID_Client_align}',
			},
														{
				text: '{$jslabel clients_Report active }',
				style: 'blackshade',
				alignment: '{$active_align}',
			},
														{
				text: '{$jslabel clients_Report activ }',
				style: 'blackshade',
				alignment: '{$activ_align}',
			},
														{
				text: '{$jslabel clients_Report Name_Client }',
				style: 'blackshade',
				alignment: '{$Name_Client_align}',
			},
														{
				text: '{$jslabel clients_Report email }',
				style: 'blackshade',
				alignment: '{$email_align}',
			},
														{
				text: '{$jslabel clients_Report Login }',
				style: 'blackshade',
				alignment: '{$Login_align}',
			},
														{
				text: '{$jslabel clients_Report Password }',
				style: 'blackshade',
				alignment: '{$Password_align}',
			},
														{
				text: '{$jslabel clients_Report A_Street }',
				style: 'blackshade',
				alignment: '{$A_Street_align}',
			},
														{
				text: '{$jslabel clients_Report A_ContactName }',
				style: 'blackshade',
				alignment: '{$A_ContactName_align}',
			},
														{
				text: '{$jslabel clients_Report A_Tel }',
				style: 'blackshade',
				alignment: '{$A_Tel_align}',
			},
														{
				text: '{$jslabel clients_Report WebSite }',
				style: 'blackshade',
				alignment: '{$WebSite_align}',
			},
														{
				text: '{$jslabel clients_Report Nuit }',
				style: 'blackshade',
				alignment: '{$Nuit_align}',
			},
									],
				{END A_City_newgroup}
		

			{BEGIN row_data}
		[
																	{
				text: {$ID_Client_value},
				alignment: '{$ID_Client_align}',
			},
														{
				text: {$active_value},
				alignment: '{$active_align}',
			},
														{
				text: {$activ_value},
				alignment: '{$activ_align}',
			},
														{
				text: {$Name_Client_value},
				alignment: '{$Name_Client_align}',
			},
														{
				text: {$email_value},
				alignment: '{$email_align}',
			},
														{
				text: {$Login_value},
				alignment: '{$Login_align}',
			},
														{
				text: {$Password_value},
				alignment: '{$Password_align}',
			},
														{
				text: {$A_Street_value},
				alignment: '{$A_Street_align}',
			},
														{
				text: {$A_ContactName_value},
				alignment: '{$A_ContactName_align}',
			},
														{
				text: {$A_Tel_value},
				alignment: '{$A_Tel_align}',
			},
														{
				text: {$WebSite_value},
				alignment: '{$WebSite_align}',
			},
														{
				text: {$Nuit_value},
				alignment: '{$Nuit_align}',
			},
									],
		{END row_data}
	
					{BEGIN A_City_endgroup}

				[
							
				{
					colSpan:12,
					text: ['{mlang_message SUMMARY_FOR} {$jslabel clients_Report A_City } ', 
						{$A_City_grval},
						' - ', 
						{$groupA_City_total_cnt}, 
						' {mlang_message RECORDS_TOTAL}'],
					style: 'group_1',
				}
					],
				
		
		
		
		
		
		{END A_City_endgroup}
			
{END grid_row}




	
		






									]
			
			}
		},
		{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};
