
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 SHIP_from}',
			},
		{END embedded_grid_caption}
		{BEGIN embedded_page_title}
			{
				text: '{$jspagetitlelabel SHIP_from print}',
			},
		{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; },
				vLineWidth: function(i, node) { 
					return 0; 
				},
				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: 2,
							border:[false, false,false,false],
							stack: [

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

											],
						[
																{
	cellId: 'c2',
	col:0,
	row:0,
			
		
	//	static colspan/rowspan
		
			
			
	
			"stack": [
		
				
			{"text":"{$jspagetitlelabel SHIP_from print}","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 grid_record}
	{BEGIN grid_vrecord}
	
		{ 
			layout: 'vrecord',
			table: {
				widths: ['*'],
				body: [[
					{
						
						table: {
							tableForm: true,
							widths: [
																{BEGIN col_grid_0}
								"33%",
								{END col_grid_0}
																{BEGIN col_grid_1}
								"66%",
								{END col_grid_1}
															],
													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}
															{BEGIN row_grid_10}			
								"%",
								{END row_grid_10}
															{BEGIN row_grid_11}			
								"%",
								{END row_grid_11}
														],
													
							body: [
									
				{BEGIN row_grid_0}
				[
																{BEGIN cellblock_grid_cell_top}
{
	cellId: 'cell_top',
	col:0,
	row:0,
				style: 'headcell',
		
		
	//	dynamic colspan/rowspan

					{BEGIN colspan_grid_cell_top}
			colSpan: {$colspan_grid_cell_top},
			{END colspan_grid_cell_top}
		
		
	
			
	
			"text": [
		
				'',
	  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
     
      
      },

{END cellblock_grid_cell_top}
																		{ 
				cellId: 'cell_top',
				row:  0,
				col:  1,
				text: '',
				compensateColspan: true
			},
							],
				{END row_grid_0}
						{BEGIN row_grid_1}
				[
																{BEGIN cellblock_grid_cell_label}
{
	cellId: 'cell_label',
	col:0,
	row:0,
			fieldName: 'ID_Ship',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":"{$jslabel SHIP_from ID_Ship }","hidden":"{$item_hide_simple_grid_field9}","bold":true},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'right',
     
      
      },

{END cellblock_grid_cell_label}
																							{BEGIN cellblock_grid_cell_field}
{
	cellId: 'cell_field',
	col:0,
	row:0,
			fieldName: 'ID_Ship',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":{$ID_Ship_pdfvalue},"hidden":"{$item_hide_simple_grid_field}"},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": '{$ID_Ship_align}',
     
      
      },

{END cellblock_grid_cell_field}
											],
				{END row_grid_1}
						{BEGIN row_grid_2}
				[
																{BEGIN cellblock_grid_cell_label1}
{
	cellId: 'cell_label1',
	col:0,
	row:0,
			fieldName: 'Ship_Name',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":"{$jslabel SHIP_from Ship_Name }","hidden":"{$item_hide_simple_grid_field10}","bold":true},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'right',
     
      
      },

{END cellblock_grid_cell_label1}
																							{BEGIN cellblock_grid_cell_field1}
{
	cellId: 'cell_field1',
	col:0,
	row:0,
			fieldName: 'Ship_Name',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":{$Ship_Name_pdfvalue},"hidden":"{$item_hide_simple_grid_field1}"},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": '{$Ship_Name_align}',
     
      
      },

{END cellblock_grid_cell_field1}
											],
				{END row_grid_2}
						{BEGIN row_grid_3}
				[
																{BEGIN cellblock_grid_cell_label2}
{
	cellId: 'cell_label2',
	col:0,
	row:0,
			fieldName: 'Sh_Address',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":"{$jslabel SHIP_from Sh_Address }","hidden":"{$item_hide_grid_field_label}","bold":true},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'right',
     
      
      },

{END cellblock_grid_cell_label2}
																							{BEGIN cellblock_grid_cell_field2}
{
	cellId: 'cell_field2',
	col:0,
	row:0,
			fieldName: 'Sh_Address',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":{$Sh_Address_pdfvalue},"hidden":"{$item_hide_grid_field}"},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": '{$Sh_Address_align}',
     
      
      },

{END cellblock_grid_cell_field2}
											],
				{END row_grid_3}
						{BEGIN row_grid_4}
				[
																{BEGIN cellblock_grid_cell_label3}
{
	cellId: 'cell_label3',
	col:0,
	row:0,
			fieldName: 'Sh_City_Nation',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":"{$jslabel SHIP_from Sh_City_Nation }","hidden":"{$item_hide_grid_field_label1}","bold":true},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'right',
     
      
      },

{END cellblock_grid_cell_label3}
																							{BEGIN cellblock_grid_cell_field3}
{
	cellId: 'cell_field3',
	col:0,
	row:0,
			fieldName: 'Sh_City_Nation',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":{$Sh_City_Nation_pdfvalue},"hidden":"{$item_hide_grid_field1}"},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": '{$Sh_City_Nation_align}',
     
      
      },

{END cellblock_grid_cell_field3}
											],
				{END row_grid_4}
						{BEGIN row_grid_5}
				[
																{BEGIN cellblock_grid_cell_label4}
{
	cellId: 'cell_label4',
	col:0,
	row:0,
			fieldName: 'Sh_Contact',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":"{$jslabel SHIP_from Sh_Contact }","hidden":"{$item_hide_grid_field_label2}","bold":true},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'right',
     
      
      },

{END cellblock_grid_cell_label4}
																							{BEGIN cellblock_grid_cell_field4}
{
	cellId: 'cell_field4',
	col:0,
	row:0,
			fieldName: 'Sh_Contact',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":{$Sh_Contact_pdfvalue},"hidden":"{$item_hide_grid_field2}"},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": '{$Sh_Contact_align}',
     
      
      },

{END cellblock_grid_cell_field4}
											],
				{END row_grid_5}
						{BEGIN row_grid_6}
				[
																{BEGIN cellblock_grid_cell_label5}
{
	cellId: 'cell_label5',
	col:0,
	row:0,
			fieldName: 'Sh_Email',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":"{$jslabel SHIP_from Sh_Email }","hidden":"{$item_hide_grid_field_label3}","bold":true},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'right',
     
      
      },

{END cellblock_grid_cell_label5}
																							{BEGIN cellblock_grid_cell_field5}
{
	cellId: 'cell_field5',
	col:0,
	row:0,
			fieldName: 'Sh_Email',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":{$Sh_Email_pdfvalue},"hidden":"{$item_hide_grid_field3}"},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": '{$Sh_Email_align}',
     
      
      },

{END cellblock_grid_cell_field5}
											],
				{END row_grid_6}
						{BEGIN row_grid_7}
				[
																{BEGIN cellblock_grid_cell_label6}
{
	cellId: 'cell_label6',
	col:0,
	row:0,
			fieldName: 'Sh_SMS_Ship',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":"{$jslabel SHIP_from Sh_SMS_Ship }","hidden":"{$item_hide_grid_field_label4}","bold":true},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'right',
     
      
      },

{END cellblock_grid_cell_label6}
																							{BEGIN cellblock_grid_cell_field6}
{
	cellId: 'cell_field6',
	col:0,
	row:0,
			fieldName: 'Sh_SMS_Ship',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":{$Sh_SMS_Ship_pdfvalue},"hidden":"{$item_hide_grid_field4}"},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": '{$Sh_SMS_Ship_align}',
     
      
      },

{END cellblock_grid_cell_field6}
											],
				{END row_grid_7}
						{BEGIN row_grid_8}
				[
																{BEGIN cellblock_grid_cell_label7}
{
	cellId: 'cell_label7',
	col:0,
	row:0,
			fieldName: 'Sh_SMS_Delivery',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":"{$jslabel SHIP_from Sh_SMS_Delivery }","hidden":"{$item_hide_grid_field_label5}","bold":true},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'right',
     
      
      },

{END cellblock_grid_cell_label7}
																							{BEGIN cellblock_grid_cell_field7}
{
	cellId: 'cell_field7',
	col:0,
	row:0,
			fieldName: 'Sh_SMS_Delivery',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":{$Sh_SMS_Delivery_pdfvalue},"hidden":"{$item_hide_grid_field5}"},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": '{$Sh_SMS_Delivery_align}',
     
      
      },

{END cellblock_grid_cell_field7}
											],
				{END row_grid_8}
						{BEGIN row_grid_9}
				[
																{BEGIN cellblock_grid_cell_label8}
{
	cellId: 'cell_label8',
	col:0,
	row:0,
			fieldName: 'Sh_Logo',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":"{$jslabel SHIP_from Sh_Logo }","hidden":"{$item_hide_grid_field_label6}","bold":true},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'right',
     
      
      },

{END cellblock_grid_cell_label8}
																							{BEGIN cellblock_grid_cell_field8}
{
	cellId: 'cell_field8',
	col:0,
	row:0,
			fieldName: 'Sh_Logo',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":{$Sh_Logo_pdfvalue},"hidden":"{$item_hide_grid_field6}"},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": '{$Sh_Logo_align}',
     
      
      },

{END cellblock_grid_cell_field8}
											],
				{END row_grid_9}
						{BEGIN row_grid_10}
				[
																{BEGIN cellblock_grid_cell_label9}
{
	cellId: 'cell_label9',
	col:0,
	row:0,
			fieldName: 'Sh_Banner',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":"{$jslabel SHIP_from Sh_Banner }","hidden":"{$item_hide_grid_field_label7}","bold":true},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'right',
     
      
      },

{END cellblock_grid_cell_label9}
																							{BEGIN cellblock_grid_cell_field9}
{
	cellId: 'cell_field9',
	col:0,
	row:0,
			fieldName: 'Sh_Banner',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":{$Sh_Banner_pdfvalue},"hidden":"{$item_hide_grid_field7}"},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": '{$Sh_Banner_align}',
     
      
      },

{END cellblock_grid_cell_field9}
											],
				{END row_grid_10}
						{BEGIN row_grid_11}
				[
																{BEGIN cellblock_grid_cell_dpreview}
{
	cellId: 'cell_dpreview',
	col:0,
	row:0,
				style: 'footcell',
		
		
	//	dynamic colspan/rowspan

					{BEGIN colspan_grid_cell_dpreview}
			colSpan: {$colspan_grid_cell_dpreview},
			{END colspan_grid_cell_dpreview}
		
		
	
			
	
			"stack": [
		
				
			 {BEGIN details_undefined}
			{$displayDetailTable_undefined }
		{END details_undefined},
				
				
			 {BEGIN details_undefined}
			{$displayDetailTable_undefined }
		{END details_undefined},
				
				
			 {BEGIN details_undefined}
			{$displayDetailTable_undefined }
		{END details_undefined},
				
				
			 {BEGIN details_pakinglist}
			{$displayDetailTable_pakinglist }
		{END details_pakinglist},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
     
      
      },

{END cellblock_grid_cell_dpreview}
																		{ 
				cellId: 'cell_dpreview',
				row:  0,
				col:  1,
				text: '',
				compensateColspan: true
			},
							],
				{END row_grid_11}
		
							]
						}
					}
				]]
			}
		},
	{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": [
		
				'',
	  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
     
      
      },

											],
		
		]
	}
}
			],
	};


pdfFonts = {$pdfFonts};
