
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
		},

	
						pagesummary: {
		fillColor: '#ffffbb',
	},
	globalsummary: {
		fillColor: '#ffe0b0',
	},
			},
	defaultStyle: {
		fontSize: 14,
	},
	"content": [
		{BEGIN body}
		{BEGIN embedded_grid_caption}
			{
				text: '{$jscaption PakingList_Report4}',
			},
		{END embedded_grid_caption}
		{BEGIN embedded_page_title}
			{
				text: '{$jspagetitlelabel PakingList_Report4 rprint}',
			},
		{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 embedded_grid} -1 {END embedded_grid} ,

				widths: [
														"%",
										"%",
										"%",
										"%",
										"%",
										"%",
										"%",
										"%",
										"%",
										"%",
															],
							
				body: [
				{BEGIN standalone_page}
					[
						{
							colSpan: 10,
							border:[false, false,false,false],
							stack: [

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

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

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

																
[	
		{
		text: '{$jslabel PakingList_Report4 id_listPak }',
		alignment: '{$id_listPak_align}',
	},
		{
		text: '{$jslabel PakingList_Report4 ID_Ship }',
		alignment: '{$ID_Ship_align}',
	},
		{
		text: '{$jslabel PakingList_Report4 Date }',
		alignment: '{$Date_align}',
	},
		{
		text: '{$jslabel PakingList_Report4 Invoice_Number }',
		alignment: '{$Invoice_Number_align}',
	},
		{
		text: '{$jslabel PakingList_Report4 Job_No }',
		alignment: '{$Job_No_align}',
	},
		{
		text: '{$jslabel PakingList_Report4 ID_Client }',
		alignment: '{$ID_Client_align}',
	},
		{
		text: '{$jslabel PakingList_Report4 ID_LM }',
		alignment: '{$ID_LM_align}',
	},
		{
		text: '{$jslabel PakingList_Report4 Attachement }',
		alignment: '{$Attachement_align}',
	},
		{
		text: '{$jslabel PakingList_Report4 Closed_for_Delivery }',
		alignment: '{$Closed_for_Delivery_align}',
	},
		{
		text: '{$jslabel PakingList_Report4 Closed_for_Workers }',
		alignment: '{$Closed_for_Workers_align}',
	},
	],

{BEGIN grid_row}
	{BEGIN row_data}
[	
		{	
		text: {$id_listPak_value},
		alignment: '{$id_listPak_align}',
	},
		{	
		text: {$ID_Ship_value},
		alignment: '{$ID_Ship_align}',
	},
		{	
		text: {$Date_value},
		alignment: '{$Date_align}',
	},
		{	
		text: {$Invoice_Number_value},
		alignment: '{$Invoice_Number_align}',
	},
		{	
		text: {$Job_No_value},
		alignment: '{$Job_No_align}',
	},
		{	
		text: {$ID_Client_value},
		alignment: '{$ID_Client_align}',
	},
		{	
		text: {$ID_LM_value},
		alignment: '{$ID_LM_align}',
	},
		{	
		text: {$Attachement_value},
		alignment: '{$Attachement_align}',
	},
		{	
		text: {$Closed_for_Delivery_value},
		alignment: '{$Closed_for_Delivery_align}',
	},
		{	
		text: {$Closed_for_Workers_value},
		alignment: '{$Closed_for_Workers_align}',
	},
	],
	{END row_data}
{END grid_row}











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

											],
		
		]
	}
}
			],
	};


pdfFonts = {$pdfFonts};
