
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 PL_Worker}',
			},
		{END embedded_grid_caption}
		{BEGIN embedded_page_title}
			{
				text: '{$jspagetitlelabel PL_Worker 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.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}
					"15%",
					{END col_grid_2}
										{BEGIN col_grid_3}
					"15%",
					{END col_grid_3}
										{BEGIN col_grid_4}
					80,
					{END col_grid_4}
										{BEGIN col_grid_5}
					80,
					{END col_grid_5}
										{BEGIN col_grid_6}
					70,
					{END col_grid_6}
															],
											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: 'c',
	col:0,
	row:0,
			
		
	//	static colspan/rowspan
		
			
			
	
			"text": [
		
				'',
	  ],
  "border": [ false, false, false, false ],
              "alignment": 'right',
     
      
      },

											],
						[
																{
	cellId: 'c2',
	col:0,
	row:0,
			
		
	//	static colspan/rowspan
		
			
			// [left, top, right, bottom]
	margin: [ 0, 0, 0, 2 ],
		
	
			"stack": [
		
				
			{"text":"{$printtabheader_text}","hidden":"{$item_hide_print_subheader}"},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
     
      
      },

																							{
	cellId: 'c3',
	col:0,
	row:0,
			
		
	//	static colspan/rowspan
		
			
			// [left, top, right, bottom]
	margin: [ 0, 0, 0, 2 ],
		
	
			"stack": [
		
				'',
	  ],
  "border": [ false, false, false, false ],
              "alignment": 'center',
     
      
      },

											],
						[
																{
	cellId: 'c4',
	col:0,
	row:0,
			
		
	//	static colspan/rowspan
		
			
			
	
			"stack": [
		
				
			{"text":{$pdf_image images/LiserTrading%20-%20Bord.png undefined 0},"hidden":"{$item_hide_image1}"},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
     
      
      },

																							{
	cellId: 'c5',
	col:0,
	row:0,
			
		
	//	static colspan/rowspan
		
			
			
	
			"stack": [
		
				
			{"text":"Packing List ","color":"#000000","hidden":"{$item_hide_text}","fontSize":50,"bold":true,"isHtml":true},
				
				
			{"text":"No. 5 Sun Rock Sunny Park , Sunny Roce Germiston , South Africa  (+ 27116158843/44) \n\n","hidden":"{$item_hide_text1}","isHtml":true},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
     
      
      },

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

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

											],
						[
																{
	cellId: 'c6',
	col:0,
	row:0,
			
		
	//	static colspan/rowspan
					colSpan: 2,
		
			
			
	
			"stack": [
		
				'',
	  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
     
      
      },

																		{ 
				cellId: 'c6',
				row:  0,
				col:  1,
				text: '',
				compensateColspan: true
			},
							],
		
		]
	}
}
,
								
																										
{
	table: {
	
				
		location: 'above-grid',
		
		
		widths: [
								"*", 
					 ],	
		
	
		body: [
				
				[
																{
	cellId: 'c',
	col:0,
	row:0,
			
		
	//	static colspan/rowspan
		
			
			
	
			"text": [
		
				'',
	  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
     
      
      },

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

																	

				
				{BEGIN row_grid_0}
				[
																{BEGIN cellblock_grid_headcell_icons}
{
	cellId: 'headcell_icons',
	col:0,
	row:0,
			fieldName: 'id_listPak',
				style: 'headcell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":"{$jslabel PL_Worker id_listPak }","hidden":"{$item_hide_simple_grid_field5}","fontSize":15,"bold":true},
				
		  ],
  "border": [true,true,true,true],
      	"borderColor":  ["#000000","#000000","gray","gray"],
    fillColor: '#001f3f',  color: '#ffffff',      "alignment": 'center',
     
      
      },

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

		
		
	
			
	
			"text": [
		
				
			{"text":"{$jslabel PL_Worker data_pl }","hidden":"{$item_hide_grid_field_label2}","fontSize":15,"bold":true},
				
		  ],
  "border": [true,true,true,true],
      	"borderColor":  ["gray","#000000","gray","gray"],
    fillColor: '#001f3f',  color: '#ffffff',      "alignment": 'center',
     
      
      },

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

		
		
	
			
	
			"text": [
		
				
			{"text":"{$jslabel PL_Worker Invoice_Number }","hidden":"{$item_hide_simple_grid_field6}","fontSize":15,"bold":true},
				
		  ],
  "border": [true,true,true,true],
      	"borderColor":  ["gray","#000000","gray","gray"],
    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 PL_Worker Job_No }","hidden":"{$item_hide_simple_grid_field9}","fontSize":15,"bold":true},
				
		  ],
  "border": [true,true,true,true],
      	"borderColor":  ["gray","#000000","gray","gray"],
    fillColor: '#001f3f',  color: '#ffffff',      "alignment": 'center',
     
      
      },

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

		
		
	
			
	
			"text": [
		
				
			{"text":"{$jslabel PL_Worker ID_Ship }","hidden":"{$item_hide_grid_field_label1}","fontSize":15,"bold":true},
				
		  ],
  "border": [true,true,true,true],
      	"borderColor":  ["gray","#000000","gray","gray"],
    fillColor: '#001f3f',  color: '#ffffff',      "alignment": 'center',
     
      
      },

{END cellblock_grid_headcell_field10}
																							{BEGIN cellblock_grid_headcell_field11}
{
	cellId: 'headcell_field11',
	col:0,
	row:0,
			fieldName: 'ID_Client',
				style: 'headcell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":"{$jslabel PL_Worker ID_Client }","hidden":"{$item_hide_grid_field_label3}","fontSize":15,"bold":true},
				
		  ],
  "border": [true,true,true,true],
      	"borderColor":  ["gray","#000000","gray","gray"],
    fillColor: '#001f3f',  color: '#ffffff',      "alignment": 'center',
     
      
      },

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

		
		
	
			
	
			"text": [
		
				
			{"text":"{$jslabel PL_Worker ID_LM }","hidden":"{$item_hide_grid_field_label}","fontSize":15,"bold":true},
				
		  ],
  "border": [true,true,true,true],
      	"borderColor":  ["gray","#000000","#000000","gray"],
    fillColor: '#001f3f',  color: '#ffffff',      "alignment": 'center',
     
      
      },

{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,
			fieldName: 'id_listPak',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":{$id_listPak_pdfvalue},"color":"#000000","background":"transparent","hidden":"{$item_hide_simple_grid_field}","fontSize":20,"bold":true},
				
		  ],
  "border": [true,true,true,true],
      	"borderColor":  ["#000000","gray","gray","#000000"],
    fillColor: "" ,  color: '#000000',      "alignment": 'center',
     
      
         fontSize: 20,
   },

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

		
		
	
			
	
			"text": [
		
				
			{"text":{$data_pl_pdfvalue},"hidden":"{$item_hide_grid_field}","fontSize":20},
				
		  ],
  "border": [true,true,true,true],
      	"borderColor":  ["gray","gray","gray","#000000"],
    fillColor: "" ,  color: '#000000',      "alignment": 'center',
     
      
         fontSize: 20,
   },

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

		
		
	
			
	
			"text": [
		
				
			{"text":{$Invoice_Number_pdfvalue},"hidden":"{$item_hide_simple_grid_field1}","fontSize":20,"bold":true},
				
		  ],
  "border": [true,true,true,true],
      	"borderColor":  ["gray","gray","gray","#000000"],
            "alignment": 'center',
     
      
         fontSize: 20,
   },

{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

		
		
	
			
	
			"text": [
		
				
			{"text":{$Job_No_pdfvalue},"hidden":"{$item_hide_simple_grid_field4}","fontSize":20,"bold":true},
				
		  ],
  "border": [true,true,true,true],
      	"borderColor":  ["gray","gray","gray","#000000"],
            "alignment": 'center',
     
      
         fontSize: 20,
   },

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

		
		
	
			
	
			"text": [
		
				
			{"text":{$ID_Ship_pdfvalue},"hidden":"{$item_hide_grid_field1}","fontSize":20,"bold":true},
				
		  ],
  "border": [true,true,true,true],
      	"borderColor":  ["gray","gray","gray","#000000"],
            "alignment": 'center',
     
      
         fontSize: 20,
   },

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

		
		
	
			
	
			"text": [
		
				
			{"text":{$ID_Client_pdfvalue},"hidden":"{$item_hide_grid_field3}","fontSize":20},
				
		  ],
  "border": [true,true,true,true],
      	"borderColor":  ["gray","gray","gray","#000000"],
            "alignment": 'center',
     
      
         fontSize: 20,
      bold: true,
   },

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

		
		
	
			
	
			"text": [
		
				
			{"text":{$ID_LM_pdfvalue},"hidden":"{$item_hide_grid_field2}","fontSize":25,"bold":true},
				
		  ],
  "border": [true,true,true,true],
      	"borderColor":  ["gray","gray","#000000","#000000"],
            "alignment": 'center',
     
      
         fontSize: 20,
   },

{END cellblock_grid_cell_field3}
											],
				{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}
		
		
	
			
	
			"stack": [
		
				
			 {BEGIN details_pak_listing_items_worker}
			{$displayDetailTable_pak_listing_items_worker }
		{END details_pak_listing_items_worker},
				
		  ],
  "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
			},
							],
				{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_field}
{
	cellId: 'footcell_field',
	col:0,
	row:0,
				style: 'footcell',
		
		
	//	dynamic colspan/rowspan

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

{END cellblock_grid_footcell_field}
																							{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_field6}
{
	cellId: 'footcell_field6',
	col:0,
	row:0,
				style: 'footcell',
		
		
	//	dynamic colspan/rowspan

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

{END cellblock_grid_footcell_field6}
																		{ 
				cellId: 'footcell_field6',
				row:  0,
				col:  1,
				text: '',
				compensateColspan: true
			},
																			{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":"{mlang_message PRINT_PAGES}","hidden":"{$item_hide_print_pages}","isHtml":true,"page_indicator":true},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'right',
     
      
      },

											],
		
		]
	}
}
			],
	};


pdfFonts = {$pdfFonts};
