
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',
	},
			group_1: {
			fillColor: '#90EE90'
		},
		nbgroup_1: {
			fillColor: '#90EE90'
		},
		header_1: {
			fillColor: '#90EE90',
			fontSize: 15,
			bold: true
		},
		/* new style styles */
		header_id_listPak: {
			fillColor: '#90EE90',
			fontSize: 15,
			bold: true
		},
		group_id_listPak: {
			fillColor: '#90EE90'
		},

			group_2: {
			fillColor: '#ADD8E6'
		},
		nbgroup_2: {
			fillColor: '#ADD8E6'
		},
		header_2: {
			fillColor: '#ADD8E6',
			fontSize: 15,
			bold: true
		},
		/* new style styles */
		header_ID_Ship: {
			fillColor: '#ADD8E6',
			fontSize: 15,
			bold: true
		},
		group_ID_Ship: {
			fillColor: '#ADD8E6'
		},

		
	blackshade: {
		fontSize: 15,
	},
	summarycell: {
		border:[false, true, false, true ]
	},
/*
		.grouptotalsrow + :not(.grouptotalsrow) > * {
		border-top:solid #808080 1px; 
	}
	*/	
			},
	defaultStyle: {
		fontSize: 14,
	},
	"content": [
		{BEGIN body}
		{BEGIN embedded_grid_caption}
			{
				text: '{$jscaption PakingList_Report3}',
			},
		{END embedded_grid_caption}
		{BEGIN embedded_page_title}
			{
				text: '{$jspagetitlelabel PakingList_Report3 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: 3,
							border:[false, false,false,false],
							stack: [

																										
{
	table: {
	
				
		location: 'top',
		
		
		widths: [
								"*", 
					 ],	
		
	
		body: [
				
				[
																{
	cellId: 'c2',
	col:0,
	row:0,
			
		
	//	static colspan/rowspan
		
			
			
	
			"stack": [
		
				
			{"text":"{$jspagetitlelabel PakingList_Report3 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}

																


{BEGIN grid_row}
	{BEGIN id_listPak_newgroup}
		[
								{
				text: '{$jslabel PakingList_Report3 id_listPak }',
				style: "blackshade",
				alignment: '{$id_listPak_align}',
			},
											{
				text: '{$jslabel PakingList_Report3 ID_Ship }',
				style: "blackshade",
				alignment: '{$ID_Ship_align}',
			},
										
																		{
				text: '{$jslabel PakingList_Report3 Date }',
				style: "blackshade",
				alignment: '{$Date_align}',
			},
						],
	
	[
													{
					colSpan: 3,
					text: {$id_listPak_grval},
					style: "header_1"
				},
															],
	{END id_listPak_newgroup}
	{BEGIN ID_Ship_newgroup}
	
	[
									{
					text: '',
					style: "group_1"
				},
																{
					colSpan: 2,
					text: {$ID_Ship_grval},
					style:"header_2"
				},
										],
	{END ID_Ship_newgroup}

	{BEGIN row_data}
	[
			{
			text: [
									''
							],
			style: "group_1"
		},
			{
			text: [
									''
							],
			style: "group_2"
		},
												{
			text: {$Date_value},
			alignment: '{$Date_align}',
		},
				],
	{END row_data}


		{BEGIN ID_Ship_endgroup}

	
	
	
	
	
	{END ID_Ship_endgroup}
			{BEGIN id_listPak_endgroup}

	
	
	
	
	
	{END id_listPak_endgroup}
	
{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};
