
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 Cotizaciones_tolva add}","hidden":"{$item_hide_add_header}","fontSize":30},
				
				
			{"text":{$tipo_producto_pdfvalue},"hidden":"{$item_hide_integrated_edit_field}","fontSize":27,"bold":true},
				
		  ],
  "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_add_message}"},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
     
      
      },

											],
						[
																{
	cellId: 'c2',
	col:0,
	row:0,
			
		
	//	static colspan/rowspan
		
			
			
	
			"text": [
		
				
			{"text":"","hidden":"{$item_hide_step_nav}"},
				
		  ],
  "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_c3}
{
	cellId: 'c3',
	col:0,
	row:0,
			
		
	//	dynamic colspan/rowspan

		
		
	
			// [left, top, right, bottom]
	margin: [ 0, 50, 0, 50 ],
		
	
			"stack": [
		
				
			{"hidden":"{$item_hide_campo_color}","stack":[{"text":"{$jslabel Cotizaciones_tolva color_producto }","bold":true},{"text":{$color_producto_pdfvalue}}],"margin":[0,0,0,15]},
				
				
			{"hidden":"{$item_hide_distancia_lineas}","stack":[{"text":"{$jslabel Cotizaciones_tolva Distancia_lineas }","bold":true},{"text":{$Distancia_lineas_pdfvalue}}],"margin":[0,0,0,15]},
				
				
			{"hidden":"{$item_hide_cantidad_surcos}","stack":[{"text":"{$jslabel Cotizaciones_tolva Cantidad_Surcos }","bold":true},{"text":{$Cantidad_Surcos_pdfvalue}}],"margin":[0,0,0,15]},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
     
      
      },

{END cellblock_grid_c3}
											],
				{END row_grid_0}
		
		]
	}
}
,
		
								
{
	table: {
	
				
		location: 'below-grid',
		
		
		widths: [
								"*", 
					 ],	
		
	
		body: [
				
				[
																{
	cellId: 'c1',
	col:0,
	row:0,
			
		
	//	static colspan/rowspan
		
			
			
	
			"text": [
		
				
			{"text":"","color":"#131212","background":"#ffbf0b","hidden":"{$item_hide_next_step}","bold":true},
				
				
			{"text":"","color":"#131212","background":"#ffbf0b","bold":true},
				
				
			{"text":""},
				
				
			{"text":"","hidden":"{$item_hide_add_cancel}"},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
     
      
      },

											],
		
		]
	}
}
,
			]
};

pdfFonts = {$pdfFonts};
  