
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": [
								
{
	table: {
	
				
		location: 'top',
		
		
		widths: [
								"*", 
					 ],	
		
	
		body: [
				
				[
																{
	cellId: 'c1',
	col:0,
	row:0,
			
		
	//	static colspan/rowspan
		
			
	
	
			"text": [
		
				
			{"text":"{$jspagetitlelabel pl_plots edit}","hidden":"{$item_hide_edit_header}","fontSize":30},
				
		  ],
  "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_edit_message}"},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
  },

											],
						[
																{
	cellId: 'c2',
	col:0,
	row:0,
			
		
	//	static colspan/rowspan
		
			
	
	
			"text": [
		
				
			{"text":"{$event pl_plots_snippet}","hidden":"{$item_hide_snippet}","isHtml":true},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
  },

											],
		
		]
	}
}
,
		
								
{
	table: {
	
				tableForm: true,
				
		location: 'grid',
		
		
		widths: [
									{BEGIN col_grid_0}
						"*", 
							{END col_grid_0}
					 ],	
		
			heights: [
								{BEGIN row_grid_0}
						
			"%",
						{END row_grid_0}
			 
				],
	
		body: [
				
				{BEGIN row_grid_0}
				[
																{BEGIN cellblock_grid_c1}
{
	cellId: 'c1',
	col:0,
	row:0,
			
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"stack": [
		
				
			{"hidden":"{$item_hide_integrated_edit_field}","stack":[{"text":"{$jslabel pl_plots greenhouse }","bold":true},{"text":{$greenhouse_pdfvalue}}],"margin":[0,0,0,15]},
				
				
			{"hidden":"{$item_hide_integrated_edit_field1}","stack":[{"text":"{$jslabel pl_plots plot }","bold":true},{"text":{$plot_pdfvalue}}],"margin":[0,0,0,15]},
				
				
			{"hidden":"{$item_hide_integrated_edit_field2}","stack":[{"text":"{$jslabel pl_plots location }","bold":true},{"text":{$location_pdfvalue}}],"margin":[0,0,0,15]},
				
				
			{"hidden":"{$item_hide_integrated_edit_field3}","stack":[{"text":"{$jslabel pl_plots notes }","bold":true},{"text":{$notes_pdfvalue}}],"margin":[0,0,0,15]},
				
				
			{"hidden":"{$item_hide_integrated_edit_field4}","stack":[{"text":"{$jslabel pl_plots date_updated }","bold":true},{"text":{$date_updated_pdfvalue}}],"margin":[0,0,0,15]},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
  },

{END cellblock_grid_c1}
											],
				{END row_grid_0}
		
		]
	}
}
,
		
								
{
	table: {
	
				
		location: 'below-grid',
		
		
		widths: [
								"*", 
											"*", 
					 ],	
		
	
		body: [
				
				[
																{
	cellId: 'c1',
	col:0,
	row:0,
			
		
	//	static colspan/rowspan
		
			
	
	
			"text": [
		
				
			{"text":"","hidden":"{$item_hide_edit_save}"},
				
				
			{"text":"","hidden":"{$item_hide_edit_back_list}"},
				
				
			{"text":"","hidden":"{$item_hide_edit_close}"},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
  },

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

											],
		
		]
	}
}
,
			]
}
  