
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 print2}',
			},
		{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: 1,
							border:[false, false,false,false],
							stack: [

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

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

											],
		
		]
	}
}
,
								
																										
{
	table: {
	
				
		location: 'above-grid',
		
		
		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',
     
      
      },

											],
		
		]
	}
}
,
															]
						},
					],
				{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}
								100,
								{END col_grid_0}
																{BEGIN col_grid_1}
								"*",
								{END col_grid_1}
																{BEGIN col_grid_2}
								"*",
								{END col_grid_2}
																{BEGIN col_grid_3}
								"*",
								{END col_grid_3}
																{BEGIN col_grid_4}
								"*",
								{END col_grid_4}
															],
													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}
														],
													
							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": [
		
				
			{"text":"Liser Trading","hidden":"{$item_hide_text4}","fontSize":40,"bold":true,"isHtml":true},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
     
      
      },

{END cellblock_grid_cell_top}
																		{ 
				cellId: 'cell_top',
				row:  0,
				col:  1,
				text: '',
				compensateColspan: true
			},
														{ 
				cellId: 'cell_top',
				row:  0,
				col:  2,
				text: '',
				compensateColspan: true
			},
																			{BEGIN cellblock_grid_cell_top2}
{
	cellId: 'cell_top2',
	col:0,
	row:0,
				style: 'headcell',
		
		
	//	dynamic colspan/rowspan

					{BEGIN colspan_grid_cell_top2}
			colSpan: {$colspan_grid_cell_top2},
			{END colspan_grid_cell_top2}
		
		
	
			
	
			"text": [
		
				
			{"text":"<p><br></p><p><span class=\"ql-size-small\">No. 5 Sun Rock Sunny Park , Sunny Roce</span></p><p><span class=\"ql-size-small\">Germiston , South Africa&nbsp;+ 27116158843/44</span></p>","hidden":"{$item_hide_text1}","fontSize":15,"isHtml":true},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
     
      
      },

{END cellblock_grid_cell_top2}
																		{ 
				cellId: 'cell_top2',
				row:  0,
				col:  1,
				text: '',
				compensateColspan: true
			},
							],
				{END row_grid_0}
						{BEGIN row_grid_1}
				[
																{BEGIN cellblock_grid_cell_label2}
{
	cellId: 'cell_label2',
	col:0,
	row:0,
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
					{BEGIN rowspan_grid_cell_label2}
			rowSpan: {$rowspan_grid_cell_label2},
			{END rowspan_grid_cell_label2}
		
	
			
	
			"text": [
		
				
			{"text":{$pdf_image images/LiserTrading%20-%20Bord.png undefined 0},"hidden":"{$item_hide_image1}"},
				
		  ],
  "border": [ false, false, false, false ],
      fillColor: "" ,  color: '#ffffff',      "alignment": 'center',
     
      
         fontSize: 20,
   },

{END cellblock_grid_cell_label2}
																							{BEGIN cellblock_grid_cell_field24}
{
	cellId: 'cell_field24',
	col:0,
	row:0,
			fieldName: 'id_listPak',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

					{BEGIN colspan_grid_cell_field24}
			colSpan: {$colspan_grid_cell_field24},
			{END colspan_grid_cell_field24}
		
		
	
			
	
			"text": [
		
				
			{"text":"Packing List ","hidden":"{$item_hide_text5}","fontSize":35,"isHtml":true},
				
				
			{"text":{$id_listPak_pdfvalue},"hidden":"{$item_hide_simple_grid_field}","fontSize":35,"bold":true},
				
		  ],
  "border": [ false, false, false, false ],
      fillColor: "" ,  color: '#000000',      "alignment": 'center',
     
      
      },

{END cellblock_grid_cell_field24}
																		{ 
				cellId: 'cell_field24',
				row:  0,
				col:  1,
				text: '',
				compensateColspan: true
			},
														{ 
				cellId: 'cell_field24',
				row:  0,
				col:  2,
				text: '',
				compensateColspan: true
			},
														{ 
				cellId: 'cell_field24',
				row:  0,
				col:  3,
				text: '',
				compensateColspan: true
			},
							],
				{END row_grid_1}
						{BEGIN row_grid_2}
				[
											{ 
				cellId: 'cell_label2',
				row:  1,
				col:  0,
				text: '',
				compensateColspan: true
			},
																			{BEGIN cellblock_grid_cell_label}
{
	cellId: 'cell_label',
	col:0,
	row:0,
			fieldName: 'data_pl',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

					{BEGIN colspan_grid_cell_label}
			colSpan: {$colspan_grid_cell_label},
			{END colspan_grid_cell_label}
		
		
	
			
	
			"text": [
		
				
			{"text":"{$jslabel PL_Worker data_pl }","hidden":"{$item_hide_grid_field_label1}","bold":true},
				
				
			{"text":{$data_pl_pdfvalue},"hidden":"{$item_hide_grid_field1}","fontSize":20,"bold":true},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
     
      
         fontSize: 20,
   },

{END cellblock_grid_cell_label}
																		{ 
				cellId: 'cell_label',
				row:  0,
				col:  1,
				text: '',
				compensateColspan: true
			},
														{ 
				cellId: 'cell_label',
				row:  0,
				col:  2,
				text: '',
				compensateColspan: true
			},
																			{BEGIN cellblock_grid_cell_field9}
{
	cellId: 'cell_field9',
	col:0,
	row:0,
			fieldName: 'ID_Ship',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":"{$jslabel PL_Worker ID_Ship }","hidden":"{$item_hide_simple_grid_field11}","bold":true},
				
				
			{"text":{$ID_Ship_pdfvalue},"hidden":"{$item_hide_simple_grid_field4}","fontSize":20,"bold":true},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
     
      
         fontSize: 20,
   },

{END cellblock_grid_cell_field9}
											],
				{END row_grid_2}
						{BEGIN row_grid_3}
				[
											{ 
				cellId: 'cell_label2',
				row:  2,
				col:  0,
				text: '',
				compensateColspan: true
			},
																			{BEGIN cellblock_grid_cell_label7}
{
	cellId: 'cell_label7',
	col:0,
	row:0,
			fieldName: 'Invoice_Number',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

					{BEGIN colspan_grid_cell_label7}
			colSpan: {$colspan_grid_cell_label7},
			{END colspan_grid_cell_label7}
		
		
	
			
	
			"text": [
		
				
			{"text":"{$jslabel PL_Worker Invoice_Number }","hidden":"{$item_hide_simple_grid_field9}","bold":true},
				
				
			{"text":{$Invoice_Number_pdfvalue},"hidden":"{$item_hide_simple_grid_field1}","fontSize":20,"bold":true},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
     
      
         fontSize: 20,
   },

{END cellblock_grid_cell_label7}
																		{ 
				cellId: 'cell_label7',
				row:  0,
				col:  1,
				text: '',
				compensateColspan: true
			},
														{ 
				cellId: 'cell_label7',
				row:  0,
				col:  2,
				text: '',
				compensateColspan: true
			},
																			{BEGIN cellblock_grid_cell_field10}
{
	cellId: 'cell_field10',
	col:0,
	row:0,
			fieldName: 'ID_Client',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":"{$jslabel PL_Worker ID_Client }","hidden":"{$item_hide_grid_field_label}","bold":true},
				
				
			{"text":{$ID_Client_pdfvalue},"hidden":"{$item_hide_grid_field}","fontSize":20,"bold":true},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
     
      
         fontSize: 20,
   },

{END cellblock_grid_cell_field10}
											],
				{END row_grid_3}
						{BEGIN row_grid_4}
				[
											{ 
				cellId: 'cell_label2',
				row:  3,
				col:  0,
				text: '',
				compensateColspan: true
			},
																			{BEGIN cellblock_grid_cell_label8}
{
	cellId: 'cell_label8',
	col:0,
	row:0,
			fieldName: 'Job_No',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

					{BEGIN colspan_grid_cell_label8}
			colSpan: {$colspan_grid_cell_label8},
			{END colspan_grid_cell_label8}
		
		
	
			
	
			"text": [
		
				
			{"text":"{$jslabel PL_Worker Job_No }","hidden":"{$item_hide_simple_grid_field10}","bold":true},
				
				
			{"text":{$Job_No_pdfvalue},"hidden":"{$item_hide_simple_grid_field3}","fontSize":20,"bold":true},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
     
      
         fontSize: 20,
   },

{END cellblock_grid_cell_label8}
																		{ 
				cellId: 'cell_label8',
				row:  0,
				col:  1,
				text: '',
				compensateColspan: true
			},
														{ 
				cellId: 'cell_label8',
				row:  0,
				col:  2,
				text: '',
				compensateColspan: true
			},
																			{BEGIN cellblock_grid_cell_field11}
{
	cellId: 'cell_field11',
	col:0,
	row:0,
			fieldName: 'ID_LM',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":"{$jslabel PL_Worker ID_LM }","hidden":"{$item_hide_simple_grid_field13}","bold":true},
				
				
			{"text":{$ID_LM_pdfvalue},"hidden":"{$item_hide_simple_grid_field6}","fontSize":20,"bold":true},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
     
      
         fontSize: 20,
   },

{END cellblock_grid_cell_field11}
											],
				{END row_grid_4}
						{BEGIN row_grid_5}
				[
																{BEGIN cellblock_grid_cell_label6}
{
	cellId: 'cell_label6',
	col:0,
	row:0,
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

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

{END cellblock_grid_cell_label6}
																		{ 
				cellId: 'cell_label6',
				row:  0,
				col:  1,
				text: '',
				compensateColspan: true
			},
																			{BEGIN cellblock_grid_cell_field6}
{
	cellId: 'cell_field6',
	col:0,
	row:0,
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

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

{END cellblock_grid_cell_field6}
																		{ 
				cellId: 'cell_field6',
				row:  0,
				col:  1,
				text: '',
				compensateColspan: true
			},
																			{BEGIN cellblock_grid_cell_field22}
{
	cellId: 'cell_field22',
	col:0,
	row:0,
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

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

{END cellblock_grid_cell_field22}
											],
				{END row_grid_5}
						{BEGIN row_grid_6}
				[
																{BEGIN cellblock_grid_cell_field23}
{
	cellId: 'cell_field23',
	col:0,
	row:0,
				style: 'footcell',
		
		
	//	dynamic colspan/rowspan

					{BEGIN colspan_grid_cell_field23}
			colSpan: {$colspan_grid_cell_field23},
			{END colspan_grid_cell_field23}
		
		
	
			
	
			"stack": [
		
				
			 {BEGIN details_pak_listing_items_worker}
			{$displayDetailTable_pak_listing_items_worker }
		{END details_pak_listing_items_worker},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
     
      
      },

{END cellblock_grid_cell_field23}
																		{ 
				cellId: 'cell_field23',
				row:  0,
				col:  1,
				text: '',
				compensateColspan: true
			},
														{ 
				cellId: 'cell_field23',
				row:  0,
				col:  2,
				text: '',
				compensateColspan: true
			},
														{ 
				cellId: 'cell_field23',
				row:  0,
				col:  3,
				text: '',
				compensateColspan: true
			},
														{ 
				cellId: 'cell_field23',
				row:  0,
				col:  4,
				text: '',
				compensateColspan: true
			},
							],
				{END row_grid_6}
		
							]
						}
					}
				]]
			}
		},
	{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": [
		
				
			{"text":"Packing List v.8 , June 2024 ;   KSIT Solution Lda    ","hidden":"{$item_hide_text2}","isHtml":true},
				
				
			{"text":"{mlang_message PRINT_PAGES}","hidden":"{$item_hide_print_pages}","isHtml":true,"page_indicator":true},
				
				
			{"text":".........a.........","color":"#ffffff","hidden":"{$item_hide_text3}","isHtml":true},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'right',
     
      
      },

											],
		
		]
	}
}
			],
	};


pdfFonts = {$pdfFonts};
