
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_Ship_Name: {
			fillColor: '#90EE90',
			fontSize: 15,
			bold: true
		},
		group_Ship_Name: {
			fillColor: '#90EE90'
		},

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

			group_3: {
			fillColor: '#FFB6C1'
		},
		nbgroup_3: {
			fillColor: '#FFB6C1'
		},
		header_3: {
			fillColor: '#FFB6C1',
			fontSize: 15,
			bold: true
		},
		/* new style styles */
		header_date_ship: {
			fillColor: '#FFB6C1',
			fontSize: 15,
			bold: true
		},
		group_date_ship: {
			fillColor: '#FFB6C1'
		},

			group_4: {
			fillColor: '#FFFACD'
		},
		nbgroup_4: {
			fillColor: '#FFFACD'
		},
		header_4: {
			fillColor: '#FFFACD',
			fontSize: 15,
			bold: true
		},
		/* new style styles */
		header_COUNT_ID_box_: {
			fillColor: '#FFFACD',
			fontSize: 15,
			bold: true
		},
		group_COUNT_ID_box_: {
			fillColor: '#FFFACD'
		},

			group_5: {
			fillColor: '#7FFFD4'
		},
		nbgroup_5: {
			fillColor: '#7FFFD4'
		},
		header_5: {
			fillColor: '#7FFFD4',
			fontSize: 15,
			bold: true
		},
		/* new style styles */
		header_SUM_Weight_in_Kg_: {
			fillColor: '#7FFFD4',
			fontSize: 15,
			bold: true
		},
		group_SUM_Weight_in_Kg_: {
			fillColor: '#7FFFD4'
		},

			group_6: {
			fillColor: '#B0E0E6'
		},
		nbgroup_6: {
			fillColor: '#B0E0E6'
		},
		header_6: {
			fillColor: '#B0E0E6',
			fontSize: 15,
			bold: true
		},
		/* new style styles */
		header_volume: {
			fillColor: '#B0E0E6',
			fontSize: 15,
			bold: true
		},
		group_volume: {
			fillColor: '#B0E0E6'
		},

		
	blackshade: {
		fontSize: 15,
	},
	summarycell: {
		border:[false, true, false, true ]
	},
/*
		.fieldnamesrow > * 
	{
		border:solid #808080 1px; 
		border-left: none; 
		border-right: none;
	}
	*/	
			},
	defaultStyle: {
		fontSize: 14,
	},
	"content": [
		{BEGIN body}
		{BEGIN embedded_grid_caption}
			{
				text: '{$jscaption PakingList_Report1}',
			},
		{END embedded_grid_caption}
		{BEGIN embedded_page_title}
			{
				text: '{$jspagetitlelabel PakingList_Report1 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: 0,
							border:[false, false,false,false],
							stack: [

																										
{
	table: {
	
				
		location: 'top',
		
		
		widths: [
								"*", 
					 ],	
		
	
		body: [
				
				[
																{
	cellId: 'c2',
	col:0,
	row:0,
			
		
	//	static colspan/rowspan
		
			
			
	
			"stack": [
		
				
			{"text":"{$jspagetitlelabel PakingList_Report1 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 Ship_Name_newgroup}							
		[
			{
				colSpan: 0,
				text: ['{$jslabel PakingList_Report1 Ship_Name } ', {$Ship_Name_grval}],
				style: 'header_1',
			}
		],
		
				{END Ship_Name_newgroup}
	 
		{BEGIN Name_Client_newgroup}							
		[
			{
				colSpan: 0,
				text: ['{$jslabel PakingList_Report1 Name_Client } ', {$Name_Client_grval}],
				style: 'header_2',
			}
		],
		
				{END Name_Client_newgroup}
	 
		{BEGIN date_ship_newgroup}							
		[
			{
				colSpan: 0,
				text: ['{$jslabel PakingList_Report1 date_ship } ', {$date_ship_grval}],
				style: 'header_3',
			}
		],
		
				{END date_ship_newgroup}
	 
		{BEGIN COUNT_ID_box__newgroup}							
		[
			{
				colSpan: 0,
				text: ['{$jslabel PakingList_Report1 COUNT_ID_box_ } ', {$COUNT_ID_box__grval}],
				style: 'header_4',
			}
		],
		
				{END COUNT_ID_box__newgroup}
	 
		{BEGIN SUM_Weight_in_Kg__newgroup}							
		[
			{
				colSpan: 0,
				text: ['{$jslabel PakingList_Report1 SUM_Weight_in_Kg_ } ', {$SUM_Weight_in_Kg__grval}],
				style: 'header_5',
			}
		],
		
				{END SUM_Weight_in_Kg__newgroup}
	 
		{BEGIN volume_newgroup}							
		[
			{
				colSpan: 0,
				text: ['{$jslabel PakingList_Report1 volume } ', {$volume_grval}],
				style: 'header_6',
			}
		],
		
				[
																																															],
				{END volume_newgroup}
		

			{BEGIN row_data}
		[
																																															],
		{END row_data}
	
					{BEGIN volume_endgroup}

				[
							
				{
					colSpan:0,
					text: ['{mlang_message SUMMARY_FOR} {$jslabel PakingList_Report1 volume } ', 
						{$volume_grval},
						' - ', 
						{$groupvolume_total_cnt}, 
						' {mlang_message RECORDS_TOTAL}'],
					style: 'group_6',
				}
					],
				
		
		
		
		
		
		{END volume_endgroup}
							{BEGIN SUM_Weight_in_Kg__endgroup}

				[
							
				{
					colSpan:0,
					text: ['{mlang_message SUMMARY_FOR} {$jslabel PakingList_Report1 SUM_Weight_in_Kg_ } ', 
						{$SUM_Weight_in_Kg__grval},
						' - ', 
						{$groupSUM_Weight_in_Kg__total_cnt}, 
						' {mlang_message RECORDS_TOTAL}'],
					style: 'group_5',
				}
					],
				
		
		
		
		
		
		{END SUM_Weight_in_Kg__endgroup}
							{BEGIN COUNT_ID_box__endgroup}

				[
							
				{
					colSpan:0,
					text: ['{mlang_message SUMMARY_FOR} {$jslabel PakingList_Report1 COUNT_ID_box_ } ', 
						{$COUNT_ID_box__grval},
						' - ', 
						{$groupCOUNT_ID_box__total_cnt}, 
						' {mlang_message RECORDS_TOTAL}'],
					style: 'group_4',
				}
					],
				
		
		
		
		
		
		{END COUNT_ID_box__endgroup}
							{BEGIN date_ship_endgroup}

				[
							
				{
					colSpan:0,
					text: ['{mlang_message SUMMARY_FOR} {$jslabel PakingList_Report1 date_ship } ', 
						{$date_ship_grval},
						' - ', 
						{$groupdate_ship_total_cnt}, 
						' {mlang_message RECORDS_TOTAL}'],
					style: 'group_3',
				}
					],
				
		
		
		
		
		
		{END date_ship_endgroup}
							{BEGIN Name_Client_endgroup}

				[
							
				{
					colSpan:0,
					text: ['{mlang_message SUMMARY_FOR} {$jslabel PakingList_Report1 Name_Client } ', 
						{$Name_Client_grval},
						' - ', 
						{$groupName_Client_total_cnt}, 
						' {mlang_message RECORDS_TOTAL}'],
					style: 'group_2',
				}
					],
				
		
		
		
		
		
		{END Name_Client_endgroup}
							{BEGIN Ship_Name_endgroup}

				[
							
				{
					colSpan:0,
					text: ['{mlang_message SUMMARY_FOR} {$jslabel PakingList_Report1 Ship_Name } ', 
						{$Ship_Name_grval},
						' - ', 
						{$groupShip_Name_total_cnt}, 
						' {mlang_message RECORDS_TOTAL}'],
					style: 'group_1',
				}
					],
				
		
		
		
		
		
		{END Ship_Name_endgroup}
			
{END grid_row}

		[
																																															],



	
		






{BEGIN global_summary}
	[
		{
			text: '{mlang_message GLOBAL_SUMMARY} {$global_total_cnt} - {mlang_message RECORDS_TOTAL}',
			colSpan: 0,
			style: 'globalsummary',
		}
	],

	
	
	
	
{END global_summary}
									]
			
			}
		},
		{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};
