
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 list}',
			},
		{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}
					25,
					{END col_grid_2}
										{BEGIN col_grid_3}
					50,
					{END col_grid_3}
										{BEGIN col_grid_4}
					"%",
					{END col_grid_4}
										{BEGIN col_grid_5}
					50,
					{END col_grid_5}
										{BEGIN col_grid_6}
					95,
					{END col_grid_6}
										{BEGIN col_grid_7}
					70,
					{END col_grid_7}
										{BEGIN col_grid_8}
					40,
					{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}
													{END grid_row}
																								{BEGIN row_grid_2}
							"%",
							{END row_grid_2}
															],
							
				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": [
		
				
			{"text":"","hidden":"{$item_hide_breadcrumb}"},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
     
      
      },

											],
						[
																{
	cellId: 'c3',
	col:0,
	row:0,
			
		
	//	static colspan/rowspan
		
			
			
	
			"text": [
		
				
			{BEGIN mastertable_block}
			{$showmasterfile}
		{END mastertable_block},
				
		  ],
  "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_inline_add}"},
				
				
			{"text":"","hidden":"{$item_hide_inline_save_all}"},
				
				
			{"text":"","hidden":"{$item_hide_inline_cancel_all}"},
				
				
			{"text":"","hidden":"{$item_hide_delete}"},
				
				
			{"text":""},
				
				
			{"text":""},
				
				
			{"text":""},
				
		  ],
  "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 ],
              "alignment": 'right',
     
      
      },

											],
						[
																{
	cellId: 'c2',
	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": [
		
				
			{"text":"","hidden":"{$item_hide_columns_control}"},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'right',
     
      
      },

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

																	

				
				{BEGIN row_grid_0}
				[
																{BEGIN cellblock_grid_headcell_icons1}
{
	cellId: 'headcell_icons1',
	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_icons1}
																							{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_field}
{
	cellId: 'headcell_field',
	col:0,
	row:0,
			fieldName: 'ID_box',
				style: 'headcell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":"{$jslabel pak_listing_items ID_box }","color":"#ffffff","background":"#0a053c","hidden":"{$item_hide_simple_grid_field6}","bold":true},
				
		  ],
  "border": [ true, true, true, true ],
      fillColor: '#001f3f',  color: '#ffffff',      "alignment": 'center',
     
      
      },

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

		
		
	
			
	
			"text": [
		
				
			{"text":"{$jslabel pak_listing_items Box_No }","hidden":"{$item_hide_simple_grid_field8}","bold":true},
				
		  ],
  "border": [ true, true, true, true ],
      fillColor: '#001f3f',  color: '#ffffff',      "alignment": 'center',
     
      
      },

{END cellblock_grid_headcell_field2}
																							{BEGIN cellblock_grid_headcell_field16}
{
	cellId: 'headcell_field16',
	col:0,
	row:0,
			fieldName: 'LM',
				style: 'headcell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":"{$jslabel pak_listing_items LM }","hidden":"{$item_hide_grid_field_label3}","bold":true},
				
		  ],
  "border": [ true, true, true, true ],
      fillColor: '#001f3f',  color: '#ffffff',      "alignment": '{$LM_align}',
     
      
      },

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

		
		
	
			
	
			"text": [
		
				
			{"text":"{$jslabel pak_listing_items Weight_in_Kg }","hidden":"{$item_hide_simple_grid_field10}","bold":true},
				
		  ],
  "border": [ true, true, true, true ],
      fillColor: '#001f3f',  color: '#ffffff',      "alignment": 'center',
     
      
      },

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

		
		
	
			
	
			"text": [
		
				
			{"text":"Box Size in cm","hidden":"{$item_hide_text}","isHtml":true},
				
		  ],
  "border": [ true, true, true, true ],
      fillColor: '#001f3f',  color: '#ffffff',      "alignment": 'center',
     
      
      },

{END cellblock_grid_headcell_field10}
																							{BEGIN cellblock_grid_headcell_field12}
{
	cellId: 'headcell_field12',
	col:0,
	row:0,
			fieldName: 'volume_m3',
				style: 'headcell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":"{$jslabel pak_listing_items volume_m3 }","hidden":"{$item_hide_grid_field_label4}","bold":true},
				
		  ],
  "border": [ true, true, true, true ],
      fillColor: '#001f3f',  color: '#ffffff',      "alignment": 'center',
     
      
      },

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

		
		
	
			
	
			"text": [
		
				
			{"text":"{$jslabel pak_listing_items Description___Contents }","hidden":"{$item_hide_simple_grid_field11}","bold":true},
				
		  ],
  "border": [ true, true, true, true ],
      fillColor: '#001f3f',  color: '#ffffff',      "alignment": 'center',
     
      
      },

{END cellblock_grid_headcell_field11}
											],
				{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_inline_edit}"},
				
				
			{"text":"","hidden":"{$item_hide_grid_inline_save}"},
				
				
			{"text":"","hidden":"{$item_hide_grid_inline_cancel}"},
				
				
			{"text":"","hidden":"{$item_hide_grid_copy}"},
				
		  ],
  "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_field}
{
	cellId: 'cell_field',
	col:0,
	row:0,
			fieldName: 'ID_box',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":{$ID_box_pdfvalue},"hidden":"{$item_hide_simple_grid_field}"},
				
				
			{"text":{$ID_ListingPak_pdfvalue},"color":"#ffffff","hidden":"{$item_hide_simple_grid_field1}"},
				
		  ],
  "border": [ true, true, true, true ],
              "alignment": 'center',
     
      
      },

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

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

{END cellblock_grid_cell_field2}
																							{BEGIN cellblock_grid_headcell_field17}
{
	cellId: 'headcell_field17',
	col:0,
	row:0,
			fieldName: 'LM',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":{$LM_pdfvalue},"hidden":"{$item_hide_grid_field3}"},
				
		  ],
  "border": [ true, true, true, true ],
              "alignment": '{$LM_align}',
     
      
      },

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

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

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

		
		
	
			// [left, top, right, bottom]
	margin: [ 0, 0, 5, 0 ],
		
	
			"text": [
		
				
			{"text":{$S1_pdfvalue},"hidden":"{$item_hide_grid_field}"},
				
				
			{"text":{$S2_pdfvalue},"hidden":"{$item_hide_grid_field1}"},
				
				
			{"text":{$S3_pdfvalue},"hidden":"{$item_hide_grid_field2}"},
				
		  ],
  "border": [ true, true, true, true ],
              "alignment": '{$S1_align}',
     
      
      },

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

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

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

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

{END cellblock_grid_cell_field8}
											],
				{END row_grid_1}
		
		{END grid_record}
	{END grid_row}
			
					
				{BEGIN row_grid_2}
				[
																{BEGIN cellblock_grid_footcell_icons}
{
	cellId: 'footcell_icons',
	col:0,
	row:0,
				style: 'footcell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				'',
	  ],
  "border": [ true, true, true, true ],
      fillColor: '#001f3f',  color: '#ffffff',      "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 ],
      fillColor: '#001f3f',  color: '#ffffff',      "alignment": 'left',
     
      
      },

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

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

{END cellblock_grid_footcell_field}
																							{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: 'No. : ' },
				{"text":{$ID_box_total},"hidden":"{$item_hide_grid_field_totals4}"}
			{END ID_box_showtotal}
		{END ID_box_fieldfootercolumn},
				
		  ],
  "border": [ true, true, true, true ],
      fillColor: '#001f3f',  color: '#ffffff',      "alignment": 'center',
     
      
      },

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

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

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

		
		
	
			// [left, top, right, bottom]
	margin: [ 0, 0, 10, 0 ],
		
	
			"text": [
		
				
			{BEGIN Weight_in_Kg_fieldfootercolumn}
			{BEGIN Weight_in_Kg_showtotal}
				{ text: ' Kg  :     ' },
				{"text":{$Weight_in_Kg_total},"hidden":"{$item_hide_grid_field_totals1}"}
			{END Weight_in_Kg_showtotal}
		{END Weight_in_Kg_fieldfootercolumn},
				
		  ],
  "border": [ true, true, true, true ],
      fillColor: '#001f3f',  color: '#ffffff',      "alignment": 'right',
     
      
      },

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

					{BEGIN colspan_grid_footcell_field6}
			colSpan: {$colspan_grid_footcell_field6},
			{END colspan_grid_footcell_field6}
		
		
	
			
	
			"text": [
		
				
			{BEGIN volume_m3_fieldfootercolumn}
			{BEGIN volume_m3_showtotal}
				{ text: '{mlang_message TOTAL} ' },
				{"text":{$volume_m3_total},"hidden":"{$item_hide_grid_field_totals}"}
			{END volume_m3_showtotal}
		{END volume_m3_fieldfootercolumn},
				
		  ],
  "border": [ true, true, true, true ],
      fillColor: '#001f3f',  color: '#ffffff',      "alignment": '{$volume_m3_align}',
     
      
      },

{END cellblock_grid_footcell_field6}
																		{ 
				cellId: 'footcell_field6',
				row:  0,
				col:  1,
				text: '',
				compensateColspan: true
			},
																			{BEGIN cellblock_grid_footcell_field8}
{
	cellId: 'footcell_field8',
	col:0,
	row:0,
				style: 'footcell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			// [left, top, right, bottom]
	margin: [ 0, 0, 15, 0 ],
		
	
			"text": [
		
				'',
	  ],
  "border": [ true, true, true, true ],
      fillColor: '#001f3f',  color: '#ffffff',      "alignment": 'right',
     
      
      },

{END cellblock_grid_footcell_field8}
											],
				{END row_grid_2}
		
				
									]
			
			}
		},
		{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',
     
      
      },

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

											],
		
		]
	}
}
			],
	};


pdfFonts = {$pdfFonts};
