
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 PakingList}',
			},
		{END embedded_grid_caption}
		{BEGIN embedded_page_title}
			{
				text: '{$jspagetitlelabel PakingList list5_Dashboard}',
			},
		{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 row_grid_0}
							+1
						{END row_grid_0}
													{BEGIN embedded_grid} -1 {END embedded_grid} ,

				widths: [
														{BEGIN col_grid_0}
					"%",
					{END col_grid_0}
										{BEGIN col_grid_1}
					"%",
					{END col_grid_1}
										{BEGIN col_grid_2}
					"%",
					{END col_grid_2}
										{BEGIN col_grid_3}
					"5%",
					{END col_grid_3}
										{BEGIN col_grid_4}
					150,
					{END col_grid_4}
										{BEGIN col_grid_5}
					105,
					{END col_grid_5}
										{BEGIN col_grid_6}
					150,
					{END col_grid_6}
										{BEGIN col_grid_7}
					200,
					{END col_grid_7}
										{BEGIN col_grid_8}
					"%",
					{END col_grid_8}
															],
											heights: [ // first height for header part
					"%",
																		{BEGIN row_grid_0}
							"%",
							{END row_grid_0}
																							 	{BEGIN grid_row}
													{BEGIN row_grid_1}
							"%",
							{END row_grid_1}
																								{BEGIN row_grid_2}
							"%",
							{END row_grid_2}
													{END grid_row}
																								{BEGIN row_grid_3}
							"%",
							{END row_grid_3}
															],
							
				body: [
				{BEGIN standalone_page}
					[
						{
							colSpan: {$formwidth_grid},
							border:[false, false,false,false],
							stack: [

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

											],
						[
																{
	cellId: 'c3',
	col:0,
	row:0,
			
		
	//	static colspan/rowspan
		
			
			
	
			"text": [
		
				'',
	  ],
  "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}"},
				
				
			{"text":"","hidden":"{$item_hide_simple_search}","fontSize":15},
				
				
			{"text":"","hidden":"{$item_hide_inline_add}"},
				
				
			{"text":"","hidden":"{$item_hide_inline_save_all}"},
				
				
			{"text":"","hidden":"{$item_hide_inline_cancel_all}"},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
     
      
      },

																							{
	cellId: 'c',
	col:0,
	row:0,
			
		
	//	static colspan/rowspan
		
			
			
	
			"text": [
		
				
			{"text":"{mlang_message DISPLAYING}","hidden":"{$item_hide_details_found}","isHtml":true,"page_indicator":true},
				
				
			{"text":"","hidden":"{$item_hide_page_size}"},
				
		  ],
  "border": [ false, false, false, false ],
        color: '#000000',      "alignment": 'right',
     
      
      },

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

																							{
	cellId: 'c5',
	col:0,
	row:0,
			
		
	//	static colspan/rowspan
		
			
			
	
			"text": [
		
				'',
	  ],
  "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 row_grid_0}
				[
																{BEGIN cellblock_grid_headcell_icons}
{
	cellId: 'headcell_icons',
	col:0,
	row:0,
				style: 'headcell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				'',
	  ],
  "border": [ true, true, true, true ],
      fillColor: '#001f3f',  color: '#ffffff',      "alignment": 'left',
     
      
      },

{END cellblock_grid_headcell_icons}
																							{BEGIN cellblock_grid_headcell_checkbox}
{
	cellId: 'headcell_checkbox',
	col:0,
	row:0,
				style: 'headcell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":"","hidden":"{$item_hide_grid_checkbox_head}"},
				
		  ],
  "border": [ true, true, true, true ],
      fillColor: '#001f3f',  color: '#ffffff',      "alignment": 'center',
     
      
      },

{END cellblock_grid_headcell_checkbox}
																							{BEGIN cellblock_grid_headcell_details}
{
	cellId: 'headcell_details',
	col:0,
	row:0,
				style: 'headcell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				'',
	  ],
  "border": [ true, true, true, true ],
      fillColor: '#001f3f',  color: '#ffffff',      "alignment": 'left',
     
      
      },

{END cellblock_grid_headcell_details}
																							{BEGIN cellblock_grid_headcell_field}
{
	cellId: 'headcell_field',
	col:0,
	row:0,
			fieldName: 'id_listPak',
				style: 'headcell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":"{$jslabel PakingList id_listPak }","hidden":"{$item_hide_simple_grid_field5}","bold":true},
				
		  ],
  "border": [ true, true, true, true ],
      fillColor: '#001f3f',  color: '#ffffff',      "alignment": 'center',
     
      
      },

{END cellblock_grid_headcell_field}
																							{BEGIN cellblock_grid_headcell_field3}
{
	cellId: 'headcell_field3',
	col:0,
	row:0,
			fieldName: 'ID_Client',
				style: 'headcell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":"{$jslabel PakingList ID_Client }","hidden":"{$item_hide_grid_field_label2}","bold":true},
				
		  ],
  "border": [ true, true, true, true ],
      fillColor: '#001f3f',  color: '#ffffff',      "alignment": 'center',
     
      
      },

{END cellblock_grid_headcell_field3}
																							{BEGIN cellblock_grid_headcell_field1}
{
	cellId: 'headcell_field1',
	col:0,
	row:0,
			fieldName: 'Date',
				style: 'headcell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":"{$jslabel PakingList Date }","hidden":"{$item_hide_simple_grid_field7}","bold":true},
				
		  ],
  "border": [ true, true, true, true ],
      fillColor: '#001f3f',  color: '#ffffff',      "alignment": 'center',
     
      
      },

{END cellblock_grid_headcell_field1}
																							{BEGIN cellblock_grid_headcell_field2}
{
	cellId: 'headcell_field2',
	col:0,
	row:0,
			fieldName: 'Invoice_Number',
				style: 'headcell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":"{$jslabel PakingList Invoice_Number }","hidden":"{$item_hide_simple_grid_field6}","bold":true},
				
		  ],
  "border": [ true, true, true, true ],
      fillColor: '#001f3f',  color: '#ffffff',      "alignment": 'center',
     
      
      },

{END cellblock_grid_headcell_field2}
																							{BEGIN cellblock_grid_headcell_field4}
{
	cellId: 'headcell_field4',
	col:0,
	row:0,
			fieldName: 'Job_No',
				style: 'headcell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":"{$jslabel PakingList Job_No }","hidden":"{$item_hide_simple_grid_field9}","bold":true},
				
		  ],
  "border": [ true, true, true, true ],
      fillColor: '#001f3f',  color: '#ffffff',      "alignment": 'center',
     
      
      },

{END cellblock_grid_headcell_field4}
																							{BEGIN cellblock_grid_headcell_field5}
{
	cellId: 'headcell_field5',
	col:0,
	row:0,
			fieldName: 'ID_Ship',
				style: 'headcell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":"{$jslabel PakingList ID_Ship }","hidden":"{$item_hide_grid_field_label1}","bold":true},
				
		  ],
  "border": [ true, true, true, true ],
      fillColor: '#001f3f',  color: '#ffffff',      "alignment": '{$ID_Ship_align}',
     
      
      },

{END cellblock_grid_headcell_field5}
											],
				{END row_grid_0}
		
			
		{BEGIN grid_row}
	{BEGIN grid_record}
				
				{BEGIN row_grid_1}
				[
																{BEGIN cellblock_grid_cell_icons}
{
	cellId: 'cell_icons',
	col:0,
	row:0,
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":"","hidden":"{$item_hide_grid_edit}"},
				
				
			{"text":"","hidden":"{$item_hide_grid_inline_edit}"},
				
				
			{"text":"","hidden":"{$item_hide_grid_inline_save}"},
				
				
			{"text":"","hidden":"{$item_hide_grid_inline_cancel}"},
				
				
			{"text":"","hidden":"{$item_hide_grid_view}"},
				
		  ],
  "border": [ true, true, true, true ],
              "alignment": 'left',
     
      
      },

{END cellblock_grid_cell_icons}
																							{BEGIN cellblock_grid_cell_checkbox}
{
	cellId: 'cell_checkbox',
	col:0,
	row:0,
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":"","hidden":"{$item_hide_grid_checkbox}"},
				
		  ],
  "border": [ true, true, true, true ],
              "alignment": 'center',
     
      
      },

{END cellblock_grid_cell_checkbox}
																							{BEGIN cellblock_grid_cell_details}
{
	cellId: 'cell_details',
	col:0,
	row:0,
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":"","hidden":"{$item_hide_grid_alldetails_link}"},
				
				
			{"text":"","hidden":"{$item_hide_grid_details_link}"},
				
		  ],
  "border": [ true, true, true, true ],
              "alignment": 'left',
     
      
      },

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

		
		
	
			
	
			"text": [
		
				
			{"text":{$id_listPak_pdfvalue},"hidden":"{$item_hide_simple_grid_field}"},
				
		  ],
  "border": [ true, true, true, true ],
              "alignment": 'center',
     
      
      },

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

		
		
	
			// [left, top, right, bottom]
	margin: [ 15, 0, 5, 0 ],
		
	
			"text": [
		
				
			{"text":{$ID_Client_pdfvalue},"hidden":"{$item_hide_grid_field3}"},
				
		  ],
  "border": [ true, true, true, true ],
              "alignment": 'left',
     
      
      },

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

		
		
	
			// [left, top, right, bottom]
	margin: [ 5, 0, 5, 0 ],
		
	
			"text": [
		
				
			{"text":{$Date_pdfvalue},"hidden":"{$item_hide_simple_grid_field2}"},
				
		  ],
  "border": [ true, true, true, true ],
              "alignment": 'right',
     
      
      },

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

		
		
	
			// [left, top, right, bottom]
	margin: [ 12, 2, 10, 2 ],
		
	
			"text": [
		
				
			{"text":{$Invoice_Number_pdfvalue},"hidden":"{$item_hide_grid_field}"},
				
		  ],
  "border": [ true, true, true, true ],
              "alignment": 'left',
     
      
      },

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

		
		
	
			// [left, top, right, bottom]
	margin: [ 10, 0, 10, 0 ],
		
	
			"text": [
		
				
			{"text":{$Job_No_pdfvalue},"hidden":"{$item_hide_simple_grid_field4}"},
				
		  ],
  "border": [ true, true, true, true ],
              "alignment": 'left',
     
      
      },

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

		
		
	
			
	
			"text": [
		
				
			{"text":{$ID_Ship_pdfvalue},"hidden":"{$item_hide_grid_field1}"},
				
		  ],
  "border": [ true, true, true, true ],
              "alignment": '{$ID_Ship_align}',
     
      
      },

{END cellblock_grid_cell_field5}
											],
				{END row_grid_1}
						{BEGIN row_grid_2}
				[
																{BEGIN cellblock_grid_cell_dpreview}
{
	cellId: 'cell_dpreview',
	col:0,
	row:0,
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

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

{END cellblock_grid_cell_dpreview}
																		{ 
				cellId: 'cell_dpreview',
				row:  0,
				col:  1,
				text: '',
				compensateColspan: true
			},
														{ 
				cellId: 'cell_dpreview',
				row:  0,
				col:  2,
				text: '',
				compensateColspan: true
			},
														{ 
				cellId: 'cell_dpreview',
				row:  0,
				col:  3,
				text: '',
				compensateColspan: true
			},
														{ 
				cellId: 'cell_dpreview',
				row:  0,
				col:  4,
				text: '',
				compensateColspan: true
			},
														{ 
				cellId: 'cell_dpreview',
				row:  0,
				col:  5,
				text: '',
				compensateColspan: true
			},
														{ 
				cellId: 'cell_dpreview',
				row:  0,
				col:  6,
				text: '',
				compensateColspan: true
			},
														{ 
				cellId: 'cell_dpreview',
				row:  0,
				col:  7,
				text: '',
				compensateColspan: true
			},
														{ 
				cellId: 'cell_dpreview',
				row:  0,
				col:  8,
				text: '',
				compensateColspan: true
			},
							],
				{END row_grid_2}
		
		{END grid_record}
	{END grid_row}
			
					
				{BEGIN row_grid_3}
				[
																{BEGIN cellblock_grid_footcell_icons}
{
	cellId: 'footcell_icons',
	col:0,
	row:0,
				style: 'footcell',
		
		
	//	dynamic colspan/rowspan

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

{END cellblock_grid_footcell_icons}
																							{BEGIN cellblock_grid_footcell_checkbox}
{
	cellId: 'footcell_checkbox',
	col:0,
	row:0,
				style: 'footcell',
		
		
	//	dynamic colspan/rowspan

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

{END cellblock_grid_footcell_checkbox}
																							{BEGIN cellblock_grid_footcell_details}
{
	cellId: 'footcell_details',
	col:0,
	row:0,
				style: 'footcell',
		
		
	//	dynamic colspan/rowspan

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

{END cellblock_grid_footcell_details}
																							{BEGIN cellblock_grid_footcell_field}
{
	cellId: 'footcell_field',
	col:0,
	row:0,
				style: 'footcell',
		
		
	//	dynamic colspan/rowspan

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

{END cellblock_grid_footcell_field}
																		{ 
				cellId: 'footcell_field',
				row:  0,
				col:  1,
				text: '',
				compensateColspan: true
			},
																			{BEGIN cellblock_grid_footcell_field1}
{
	cellId: 'footcell_field1',
	col:0,
	row:0,
				style: 'footcell',
		
		
	//	dynamic colspan/rowspan

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

{END cellblock_grid_footcell_field1}
																							{BEGIN cellblock_grid_footcell_field2}
{
	cellId: 'footcell_field2',
	col:0,
	row:0,
				style: 'footcell',
		
		
	//	dynamic colspan/rowspan

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

{END cellblock_grid_footcell_field2}
																							{BEGIN cellblock_grid_footcell_field4}
{
	cellId: 'footcell_field4',
	col:0,
	row:0,
				style: 'footcell',
		
		
	//	dynamic colspan/rowspan

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

{END cellblock_grid_footcell_field4}
																							{BEGIN cellblock_grid_footcell_field3}
{
	cellId: 'footcell_field3',
	col:0,
	row:0,
				style: 'footcell',
		
		
	//	dynamic colspan/rowspan

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

{END cellblock_grid_footcell_field3}
											],
				{END row_grid_3}
		
				
									]
			
			}
		},
		{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',
     
      
      },

											],
		
		]
	}
}
			],
	};


pdfFonts = {$pdfFonts};
