
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 pak_listing_items}',
			},
		{END embedded_grid_caption}
		{BEGIN embedded_page_title}
			{
				text: '{$jspagetitlelabel pak_listing_items print10}',
			},
		{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}
					70,
					{END col_grid_0}
										{BEGIN col_grid_1}
					90,
					{END col_grid_1}
										{BEGIN col_grid_2}
					325,
					{END col_grid_2}
										{BEGIN col_grid_3}
					325,
					{END col_grid_3}
															],
											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}
																								{BEGIN row_grid_3}
							"%",
							{END row_grid_3}
																								{BEGIN row_grid_4}
							"%",
							{END row_grid_4}
																								{BEGIN row_grid_5}
							"%",
							{END row_grid_5}
													{END grid_row}
																								{BEGIN row_grid_6}
							"%",
							{END row_grid_6}
															],
							
				body: [
				{BEGIN standalone_page}
					[
						{
							colSpan: {$formwidth_grid},
							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}"},
				
				
			{"text":{$pdf_image images/LiserTrading%20-%20Trasparente.png undefined 0},"hidden":"{$item_hide_image}"},
				
		  ],
  "border": [ false, false, false, false ],
      fillColor: "" ,        "alignment": 'left',
     
      
      },

																							{
	cellId: 'c',
	col:0,
	row:0,
			
		
	//	static colspan/rowspan
		
			
			
	
			"stack": [
		
				
			{"text":"Liser Trading cc.","hidden":"{$item_hide_text3}","fontSize":30,"bold":true,"isHtml":true},
				
				
			{"text":"No. 5 Sun Rock Sunny Park,\n","hidden":"{$item_hide_text8}","fontSize":15,"bold":false,"isHtml":true},
				
				
			{"text":"Sunny Roce , Germiston\n","hidden":"{$item_hide_text9}","fontSize":15,"bold":false,"isHtml":true},
				
				
			{"text":"South Africa\n","hidden":"{$item_hide_text10}","fontSize":15,"bold":false,"isHtml":true},
				
				
			{"text":"info@lisertrading.co.za ","hidden":"{$item_hide_text11}","fontSize":15,"bold":false,"isHtml":true},
				
				
			{"text":"Tel : + 271-16158843 / 44","hidden":"{$item_hide_text7}","fontSize":15,"bold":false,"isHtml":true},
				
		  ],
  "border": [ false, false, false, false ],
      fillColor: "" ,        "alignment": 'left',
     
      
      },

											],
						[
																{
	cellId: 'c4',
	col:0,
	row:0,
			
		
	//	static colspan/rowspan
					colSpan: 2,
		
			
			
	
			"stack": [
		
				
			{BEGIN mastertable_block}
			{$showmasterfile}
		{END mastertable_block},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
     
      
      },

																		{ 
				cellId: 'c4',
				row:  0,
				col:  1,
				text: '',
				compensateColspan: true
			},
							],
		
		]
	}
}
,
								
																										
{
	table: {
	
				
		location: 'above-grid',
		
		
		widths: [
								"*", 
					 ],	
		
	
		body: [
				
				[
																{
	cellId: 'c1',
	col:0,
	row:0,
			
		
	//	static colspan/rowspan
		
			
			
	
			"text": [
		
				
			{"text":"","hidden":"{$item_hide_inline_add}"},
				
				
			{"text":"","hidden":"{$item_hide_grid_inline_cancel}"},
				
		  ],
  "border": [ false, false, false, false ],
      fillColor: "" ,        "alignment": 'left',
     
      
      },

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

																	

				
				{BEGIN row_grid_0}
				[
																{BEGIN cellblock_grid_headcell_field2}
{
	cellId: 'headcell_field2',
	col:0,
	row:0,
				style: 'headcell',
		
		
	//	dynamic colspan/rowspan

					{BEGIN colspan_grid_headcell_field2}
			colSpan: {$colspan_grid_headcell_field2},
			{END colspan_grid_headcell_field2}
		
		
	
			
	
			"text": [
		
				'',
	  ],
  "border": [true,true,true,true],
      	"borderColor":  ["#000000","#000000","gray","gray"],
    fillColor: "" ,  color: '#ffffff',      "alignment": 'left',
     
      
         fontSize: 18,
   },

{END cellblock_grid_headcell_field2}
																		{ 
				cellId: 'headcell_field2',
				row:  0,
				col:  1,
				text: '',
				compensateColspan: true
			},
																			{BEGIN cellblock_grid_headcell_field9}
{
	cellId: 'headcell_field9',
	col:0,
	row:0,
				style: 'headcell',
		
		
	//	dynamic colspan/rowspan

					{BEGIN colspan_grid_headcell_field9}
			colSpan: {$colspan_grid_headcell_field9},
			{END colspan_grid_headcell_field9}
		
		
	
			
	
			"text": [
		
				'',
	  ],
  "border": [true,true,true,true],
      	"borderColor":  ["gray","#000000","#000000","gray"],
    fillColor: "" ,        "alignment": 'left',
     
      
         fontSize: 18,
   },

{END cellblock_grid_headcell_field9}
																		{ 
				cellId: 'headcell_field9',
				row:  0,
				col:  1,
				text: '',
				compensateColspan: true
			},
							],
				{END row_grid_0}
		
			
		{BEGIN grid_row}
	{BEGIN grid_record}
				
				{BEGIN row_grid_1}
				[
																{BEGIN cellblock_grid_cell_field2}
{
	cellId: 'cell_field2',
	col:0,
	row:0,
			fieldName: 'Box_No',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			// [left, top, right, bottom]
	margin: [ 10, 0, 0, 0 ],
		
	
			"text": [
		
				
			{"text":"{$jslabel pak_listing_items Box_No }","hidden":"{$item_hide_simple_grid_field8}","fontSize":18,"bold":true},
				
				
			{"text":{$Box_No_pdfvalue},"hidden":"{$item_hide_simple_grid_field2}","fontSize":18,"bold":true},
				
		  ],
  "border": [true,true,true,true],
      	"borderColor":  ["#000000","gray","gray","gray"],
    fillColor: '#001f3f',  color: '#ffffff',      "alignment": 'left',
     
      
         fontSize: 18,
   },

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

		
		
	
			
	
			"text": [
		
				
			{"text":"ID Box","hidden":"{$item_hide_text5}","isHtml":true},
				
				
			{"text":{$ID_box_pdfvalue},"hidden":"{$item_hide_grid_field4}","fontSize":18,"bold":true},
				
		  ],
  "border": [ true, true, true, true ],
      fillColor: '#001f3f',  color: '#ffffff',      "alignment": 'center',
     
      
         fontSize: 18,
   },

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

					{BEGIN colspan_grid_cell_field6}
			colSpan: {$colspan_grid_cell_field6},
			{END colspan_grid_cell_field6}
		
		
	
			// [left, top, right, bottom]
	margin: [ 0, 0, 10, 0 ],
		
	
			"text": [
		
				
			{"text":"Packing List","hidden":"{$item_hide_text4}","isHtml":true},
				
				
			{"text":{$ID_ListingPak_pdfvalue},"color":"#ffffff","background":"#001f3f","hidden":"{$item_hide_grid_field3}"},
				
		  ],
  "border": [true,true,true,true],
      	"borderColor":  ["gray","gray","#000000","gray"],
    fillColor: '#001f3f',  color: '#ffffff',      "alignment": 'right',
     
      
         fontSize: 18,
   },

{END cellblock_grid_cell_field6}
																		{ 
				cellId: 'cell_field6',
				row:  0,
				col:  1,
				text: '',
				compensateColspan: true
			},
							],
				{END row_grid_1}
						{BEGIN row_grid_2}
				[
																{BEGIN cellblock_grid_cell_field17}
{
	cellId: 'cell_field17',
	col:0,
	row:0,
			fieldName: 'Weight_in_Kg',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":"{$jslabel pak_listing_items Weight_in_Kg }","hidden":"{$item_hide_simple_grid_field10}","fontSize":18,"bold":true},
				
		  ],
  "border": [true,true,true,true],
      	"borderColor":  ["#000000","gray","gray","gray"],
    fillColor: "" ,        "alignment": 'right',
     
      
         fontSize: 18,
   },

{END cellblock_grid_cell_field17}
																							{BEGIN cellblock_grid_cell_field18}
{
	cellId: 'cell_field18',
	col:0,
	row:0,
			fieldName: 'Weight_in_Kg',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			// [left, top, right, bottom]
	margin: [ 10, 0, 0, 0 ],
		
	
			"text": [
		
				
			{"text":{$Weight_in_Kg_pdfvalue},"hidden":"{$item_hide_simple_grid_field4}","fontSize":18,"bold":true},
				
		  ],
  "border": [ true, true, true, true ],
      fillColor: "" ,        "alignment": 'left',
     
      
         fontSize: 18,
   },

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

					{BEGIN colspan_grid_cell_field8}
			colSpan: {$colspan_grid_cell_field8},
			{END colspan_grid_cell_field8}
		
					{BEGIN rowspan_grid_cell_field8}
			rowSpan: {$rowspan_grid_cell_field8},
			{END rowspan_grid_cell_field8}
		
	
			
	
			"text": [
		
				
			{"text":{$Description___Contents_pdfvalue},"hidden":"{$item_hide_grid_field7}","fontSize":15,"bold":true},
				
		  ],
  "border": [true,true,true,true],
      	"borderColor":  ["gray","gray","#000000","#000000"],
    fillColor: "" ,        "alignment": '{$Description___Contents_align}',
     
      
         fontSize: 18,
   },

{END cellblock_grid_cell_field8}
																		{ 
				cellId: 'cell_field8',
				row:  0,
				col:  1,
				text: '',
				compensateColspan: true
			},
							],
				{END row_grid_2}
						{BEGIN row_grid_3}
				[
																{BEGIN cellblock_grid_cell_field}
{
	cellId: 'cell_field',
	col:0,
	row:0,
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":"Size in cm","hidden":"{$item_hide_text2}","fontSize":18,"bold":true,"isHtml":true},
				
		  ],
  "border": [true,true,true,true],
      	"borderColor":  ["#000000","gray","gray","gray"],
    fillColor: "" ,        "alignment": 'right',
     
      
         fontSize: 18,
   },

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

		
		
	
			// [left, top, right, bottom]
	margin: [ 10, 0, 0, 0 ],
		
	
			"text": [
		
				
			{"text":{$S1_pdfvalue},"hidden":"{$item_hide_grid_field}","fontSize":18,"bold":true},
				
				
			{"text":"x","hidden":"{$item_hide_text}","fontSize":18,"bold":true,"isHtml":true},
				
				
			{"text":{$S2_pdfvalue},"hidden":"{$item_hide_grid_field1}","fontSize":18,"bold":true},
				
				
			{"text":"x","hidden":"{$item_hide_text1}","fontSize":18,"bold":true,"isHtml":true},
				
				
			{"text":{$S3_pdfvalue},"hidden":"{$item_hide_grid_field2}","fontSize":18,"bold":true},
				
		  ],
  "border": [ true, true, true, true ],
      fillColor: "" ,        "alignment": 'left',
     
      
         fontSize: 18,
   },

{END cellblock_grid_cell_field1}
																		{ 
				cellId: 'cell_field8',
				row:  1,
				col:  0,
				text: '',
				compensateColspan: true
			},
														{ 
				cellId: 'cell_field8',
				row:  1,
				col:  1,
				text: '',
				compensateColspan: true
			},
							],
				{END row_grid_3}
						{BEGIN row_grid_4}
				[
																{BEGIN cellblock_grid_cell_field4}
{
	cellId: 'cell_field4',
	col:0,
	row:0,
			fieldName: 'volume_m3',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":"{$jslabel pak_listing_items volume_m3 }","hidden":"{$item_hide_grid_field_label4}","fontSize":18,"bold":true},
				
		  ],
  "border": [true,true,true,true],
      	"borderColor":  ["#000000","gray","gray","gray"],
    fillColor: "" ,        "alignment": 'right',
     
      
         fontSize: 18,
   },

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

		
		
	
			// [left, top, right, bottom]
	margin: [ 10, 0, 0, 0 ],
		
	
			"text": [
		
				
			{"text":{$volume_m3_pdfvalue},"hidden":"{$item_hide_grid_field5}","fontSize":18,"bold":true},
				
		  ],
  "border": [ true, true, true, true ],
      fillColor: "" ,        "alignment": 'left',
     
      
         fontSize: 18,
   },

{END cellblock_grid_cell_field5}
																		{ 
				cellId: 'cell_field8',
				row:  2,
				col:  0,
				text: '',
				compensateColspan: true
			},
														{ 
				cellId: 'cell_field8',
				row:  2,
				col:  1,
				text: '',
				compensateColspan: true
			},
							],
				{END row_grid_4}
						{BEGIN row_grid_5}
				[
																{BEGIN cellblock_grid_cell_field31}
{
	cellId: 'cell_field31',
	col:0,
	row:0,
			fieldName: 'LM',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":"{$jslabel pak_listing_items LM }","hidden":"{$item_hide_grid_field_label}","fontSize":18,"bold":true},
				
		  ],
  "border": [true,true,true,true],
      	"borderColor":  ["#000000","gray","gray","#000000"],
    fillColor: "" ,        "alignment": 'right',
     
      
         fontSize: 18,
   },

{END cellblock_grid_cell_field31}
																							{BEGIN cellblock_grid_cell_field32}
{
	cellId: 'cell_field32',
	col:0,
	row:0,
			fieldName: 'LM',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			// [left, top, right, bottom]
	margin: [ 10, 0, 0, 0 ],
		
	
			"text": [
		
				
			{"text":{$LM_pdfvalue},"hidden":"{$item_hide_grid_field6}","fontSize":18,"bold":true},
				
		  ],
  "border": [true,true,true,true],
      	"borderColor":  ["gray","gray","gray","#000000"],
    fillColor: "" ,        "alignment": 'left',
     
      
         fontSize: 18,
   },

{END cellblock_grid_cell_field32}
																		{ 
				cellId: 'cell_field8',
				row:  3,
				col:  0,
				text: '',
				compensateColspan: true
			},
														{ 
				cellId: 'cell_field8',
				row:  3,
				col:  1,
				text: '',
				compensateColspan: true
			},
							],
				{END row_grid_5}
		
		{END grid_record}
	{END grid_row}
			
					
				{BEGIN row_grid_6}
				[
																{BEGIN cellblock_grid_footcell_field2}
{
	cellId: 'footcell_field2',
	col:0,
	row:0,
			fieldName: 'ID_box',
				style: 'footcell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{BEGIN ID_box_fieldfootercolumn}
			{BEGIN ID_box_showtotal}
				{ text: 'TOTAL  No. Boxes ' },
				{"text":{$ID_box_total},"hidden":"{$item_hide_grid_field_totals2}","fontSize":18,"bold":true}
			{END ID_box_showtotal}
		{END ID_box_fieldfootercolumn},
				
		  ],
  "border": [ true, true, true, true ],
      fillColor: '#001f3f',  color: '#ffffff',      "alignment": 'left',
     
      
         fontSize: 18,
      bold: true,
   },

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

		
		
	
			
	
			"text": [
		
				
			{BEGIN Weight_in_Kg_fieldfootercolumn}
			{BEGIN Weight_in_Kg_showtotal}
				{ text: 'Total Weight Kg ' },
				{"text":{$Weight_in_Kg_total},"hidden":"{$item_hide_grid_field_totals1}","fontSize":18,"bold":true}
			{END Weight_in_Kg_showtotal}
		{END Weight_in_Kg_fieldfootercolumn},
				
		  ],
  "border": [ true, true, true, true ],
      fillColor: '#001f3f',  color: '#ffffff',      "alignment": 'left',
     
      
         fontSize: 18,
      bold: true,
   },

{END cellblock_grid_footcell_field1}
																							{BEGIN cellblock_grid_footcell_field6}
{
	cellId: 'footcell_field6',
	col:0,
	row:0,
			fieldName: 'volume_m3',
				style: 'footcell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{BEGIN volume_m3_fieldfootercolumn}
			{BEGIN volume_m3_showtotal}
				{ text: 'Total volume m3 :  ' },
				{"text":{$volume_m3_total},"hidden":"{$item_hide_grid_field_totals3}","fontSize":18,"bold":true}
			{END volume_m3_showtotal}
		{END volume_m3_fieldfootercolumn},
				
		  ],
  "border": [ true, true, true, true ],
      fillColor: '#001f3f',  color: '#ffffff',      "alignment": 'left',
     
      
         fontSize: 18,
      bold: true,
   },

{END cellblock_grid_footcell_field6}
																							{BEGIN cellblock_grid_footcell_field7}
{
	cellId: 'footcell_field7',
	col:0,
	row:0,
				style: 'footcell',
		
		
	//	dynamic colspan/rowspan

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

{END cellblock_grid_footcell_field7}
											],
				{END row_grid_6}
		
				
									]
			
			}
		},
		{END body}
	],
	footer: [
								
{
	table: {
	
				
		location: 'below-grid',
		
		
		widths: [
								"*", 
											"*", 
					 ],	
		
	
		body: [
				
				[
																{
	cellId: 'c1',
	col:0,
	row:0,
			
		
	//	static colspan/rowspan
		
			
			
	
			"text": [
		
				'',
	  ],
  "border": [ false, false, false, false ],
      fillColor: "" ,        "alignment": 'right',
     
      
      },

																							{
	cellId: 'c',
	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 ],
      fillColor: "" ,        "alignment": 'right',
     
      
      },

											],
		
		]
	}
}
			],
	};


pdfFonts = {$pdfFonts};
