
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": [
								
{
	table: {
	
				
		location: 'top',
		
		
		widths: [
								"*", 
					 ],	
		
	
		body: [
				
					[
												{
	cellId: 'c1',
	col:0,
	row:0,
			style: 'cell',
		
		
	//	static colspan/rowspan
		
			
	
	
			"text": [
		
				
			{"text":"{$jspagetitlelabel bookings edit}","hidden":"{$item_hide_edit_header}","fontSize":30},
				
		  ],
  "border": [ false, false, false, false ],
          "alignment": 'left',
  },

											],
					]
	}
}
,
		
								
{
	table: {
	
				
		location: 'above-grid',
		
		
		widths: [
								"*", 
					 ],	
		
	
		body: [
				
					[
												{
	cellId: 'c',
	col:0,
	row:0,
			style: 'cell',
		
		
	//	static colspan/rowspan
		
			
	
	
			"text": [
		
				
			{"text":"","hidden":"{$item_hide_edit_message}"},
				
		  ],
  "border": [ false, false, false, false ],
          "alignment": 'left',
  },

											],
								[
												{
	cellId: 'c2',
	col:0,
	row:0,
			style: 'cell',
		
		
	//	static colspan/rowspan
		
			
	
	
			"text": [
		
				
			{"text":"{$event message}","hidden":"{$item_hide_snippet}","isHtml":true},
				
		  ],
  "border": [ false, false, false, false ],
          "alignment": 'left',
  },

											],
					]
	}
}
,
		
								
{
	table: {
	
				tableForm: true,
				
		location: 'grid',
		
		
		widths: [
									{BEGIN col_grid_0}
						"*", 
							{END col_grid_0}
												{BEGIN col_grid_1}
						"*", 
							{END col_grid_1}
												{BEGIN col_grid_2}
						"*", 
							{END col_grid_2}
					 ],	
		
			heights: [
								{BEGIN row_grid_0}
						
			"%",
						{END row_grid_0}
			 
								{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}
			 
								{BEGIN row_grid_6}
						
			"%",
						{END row_grid_6}
			 
								{BEGIN row_grid_7}
						
			"%",
						{END row_grid_7}
			 
								{BEGIN row_grid_8}
						
			"%",
						{END row_grid_8}
			 
								{BEGIN row_grid_9}
						
			"%",
						{END row_grid_9}
			 
								{BEGIN row_grid_10}
						
			"%",
						{END row_grid_10}
			 
				],
	
		body: [
				
					{BEGIN row_grid_0}
				[
												{BEGIN cellblock_grid_c1}
{
	cellId: 'c1',
	col:0,
	row:0,
			style: 'cell',
		
		
	//	dynamic colspan/rowspan

					{BEGIN colspan_grid_c1}
			colSpan: {$colspan_grid_c1},
			{END colspan_grid_c1}
		
						
	
	
	
			"text": [
		
				
			{"hidden":"{$item_hide_edit_field_label2}","text":"{$jslabel bookings user_id }","bold":true},
				
		  ],
  "border": [ false, false, false, false ],
          "alignment": 'right',
  },

{END cellblock_grid_c1}
																		{ 
				cellId: 'c1',
				row:  0,
				col:  1,
				text: ''
			},
															{BEGIN cellblock_grid_c25}
{
	cellId: 'c25',
	col:0,
	row:0,
			style: 'cell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				
			{"hidden":"{$item_hide_edit_field2}","text":{$user_id_pdfvalue}},
				
		  ],
  "border": [ false, false, false, false ],
          "alignment": 'left',
  },

{END cellblock_grid_c25}
											],
				{END row_grid_0}
								{BEGIN row_grid_1}
				[
												{BEGIN cellblock_grid_c4}
{
	cellId: 'c4',
	col:0,
	row:0,
			style: 'cell',
		
		
	//	dynamic colspan/rowspan

					{BEGIN colspan_grid_c4}
			colSpan: {$colspan_grid_c4},
			{END colspan_grid_c4}
		
						
	
	
	
			"text": [
		
				
			{"hidden":"{$item_hide_integrated_edit_field5}","text":"{$jslabel bookings flight_id }","bold":true},
				
		  ],
  "border": [ false, false, false, false ],
          "alignment": 'right',
  },

{END cellblock_grid_c4}
																		{ 
				cellId: 'c4',
				row:  0,
				col:  1,
				text: ''
			},
															{BEGIN cellblock_grid_c2}
{
	cellId: 'c2',
	col:0,
	row:0,
			style: 'cell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				
			{"hidden":"{$item_hide_integrated_edit_field}","text":{$flight_id_pdfvalue}},
				
		  ],
  "border": [ false, false, false, false ],
          "alignment": 'left',
  },

{END cellblock_grid_c2}
											],
				{END row_grid_1}
								{BEGIN row_grid_2}
				[
												{BEGIN cellblock_grid_c5}
{
	cellId: 'c5',
	col:0,
	row:0,
			style: 'cell',
		
		
	//	dynamic colspan/rowspan

					{BEGIN colspan_grid_c5}
			colSpan: {$colspan_grid_c5},
			{END colspan_grid_c5}
		
						
	
	
	
			"text": [
		
				
			{"hidden":"{$item_hide_integrated_edit_field7}","text":"{$jslabel bookings nbr_adults }","bold":true},
				
		  ],
  "border": [ false, false, false, false ],
          "alignment": 'right',
  },

{END cellblock_grid_c5}
																		{ 
				cellId: 'c5',
				row:  0,
				col:  1,
				text: ''
			},
															{BEGIN cellblock_grid_c3}
{
	cellId: 'c3',
	col:0,
	row:0,
			style: 'cell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				
			{"hidden":"{$item_hide_integrated_edit_field1}","text":{$nbr_adults_pdfvalue}},
				
		  ],
  "border": [ false, false, false, false ],
          "alignment": 'left',
  },

{END cellblock_grid_c3}
											],
				{END row_grid_2}
								{BEGIN row_grid_3}
				[
												{BEGIN cellblock_grid_c7}
{
	cellId: 'c7',
	col:0,
	row:0,
			style: 'cell',
		
		
	//	dynamic colspan/rowspan

					{BEGIN colspan_grid_c7}
			colSpan: {$colspan_grid_c7},
			{END colspan_grid_c7}
		
						
	
	
	
			"text": [
		
				
			{"hidden":"{$item_hide_integrated_edit_field9}","text":"{$jslabel bookings nbr_children }","bold":true},
				
		  ],
  "border": [ false, false, false, false ],
          "alignment": 'right',
  },

{END cellblock_grid_c7}
																		{ 
				cellId: 'c7',
				row:  0,
				col:  1,
				text: ''
			},
															{BEGIN cellblock_grid_c8}
{
	cellId: 'c8',
	col:0,
	row:0,
			style: 'cell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				
			{"hidden":"{$item_hide_integrated_edit_field2}","text":{$nbr_children_pdfvalue}},
				
		  ],
  "border": [ false, false, false, false ],
          "alignment": 'left',
  },

{END cellblock_grid_c8}
											],
				{END row_grid_3}
								{BEGIN row_grid_4}
				[
												{BEGIN cellblock_grid_c10}
{
	cellId: 'c10',
	col:0,
	row:0,
			style: 'cell',
		
		
	//	dynamic colspan/rowspan

					{BEGIN colspan_grid_c10}
			colSpan: {$colspan_grid_c10},
			{END colspan_grid_c10}
		
						
	
	
	
			"text": [
		
				
			{"hidden":"{$item_hide_integrated_edit_field11}","text":"{$jslabel bookings nbr_infants }","bold":true},
				
		  ],
  "border": [ false, false, false, false ],
          "alignment": 'right',
  },

{END cellblock_grid_c10}
																		{ 
				cellId: 'c10',
				row:  0,
				col:  1,
				text: ''
			},
															{BEGIN cellblock_grid_c11}
{
	cellId: 'c11',
	col:0,
	row:0,
			style: 'cell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				
			{"hidden":"{$item_hide_integrated_edit_field3}","text":{$nbr_infants_pdfvalue}},
				
		  ],
  "border": [ false, false, false, false ],
          "alignment": 'left',
  },

{END cellblock_grid_c11}
											],
				{END row_grid_4}
								{BEGIN row_grid_5}
				[
												{BEGIN cellblock_grid_c13}
{
	cellId: 'c13',
	col:0,
	row:0,
			style: 'cell',
		
		
	//	dynamic colspan/rowspan

					{BEGIN colspan_grid_c13}
			colSpan: {$colspan_grid_c13},
			{END colspan_grid_c13}
		
						
	
	
	
			"text": [
		
				
			{"hidden":"{$item_hide_integrated_edit_field13}","text":"{$jslabel bookings total_price }","bold":true},
				
		  ],
  "border": [ false, false, false, false ],
          "alignment": 'right',
  },

{END cellblock_grid_c13}
																		{ 
				cellId: 'c13',
				row:  0,
				col:  1,
				text: ''
			},
															{BEGIN cellblock_grid_c14}
{
	cellId: 'c14',
	col:0,
	row:0,
			style: 'cell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				
			{"hidden":"{$item_hide_integrated_edit_field4}","text":{$total_price_pdfvalue}},
				
		  ],
  "border": [ false, false, false, false ],
          "alignment": 'left',
  },

{END cellblock_grid_c14}
											],
				{END row_grid_5}
								{BEGIN row_grid_6}
				[
												{BEGIN cellblock_grid_c16}
{
	cellId: 'c16',
	col:0,
	row:0,
			style: 'cell',
		
		
	//	dynamic colspan/rowspan

					{BEGIN colspan_grid_c16}
			colSpan: {$colspan_grid_c16},
			{END colspan_grid_c16}
		
						
	
	
	
			"text": [
		
				
			{"hidden":"{$item_hide_edit_field_label}","text":"{$jslabel bookings booking_date }","bold":true},
				
		  ],
  "border": [ false, false, false, false ],
          "alignment": 'right',
  },

{END cellblock_grid_c16}
																		{ 
				cellId: 'c16',
				row:  0,
				col:  1,
				text: ''
			},
															{BEGIN cellblock_grid_c17}
{
	cellId: 'c17',
	col:0,
	row:0,
			style: 'cell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				
			{"hidden":"{$item_hide_edit_field}","text":{$booking_date_pdfvalue}},
				
		  ],
  "border": [ false, false, false, false ],
          "alignment": 'left',
  },

{END cellblock_grid_c17}
											],
				{END row_grid_6}
								{BEGIN row_grid_7}
				[
												{BEGIN cellblock_grid_c19}
{
	cellId: 'c19',
	col:0,
	row:0,
			style: 'cell',
		
		
	//	dynamic colspan/rowspan

					{BEGIN colspan_grid_c19}
			colSpan: {$colspan_grid_c19},
			{END colspan_grid_c19}
		
						
	
	
	
			"text": [
		
				
			{"hidden":"{$item_hide_edit_field_label1}","text":"{$jslabel bookings booking_reference }","bold":true},
				
		  ],
  "border": [ false, false, false, false ],
          "alignment": 'right',
  },

{END cellblock_grid_c19}
																		{ 
				cellId: 'c19',
				row:  0,
				col:  1,
				text: ''
			},
															{BEGIN cellblock_grid_c20}
{
	cellId: 'c20',
	col:0,
	row:0,
			style: 'cell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				
			{"hidden":"{$item_hide_edit_field1}","text":{$booking_reference_pdfvalue}},
				
		  ],
  "border": [ false, false, false, false ],
          "alignment": 'left',
  },

{END cellblock_grid_c20}
											],
				{END row_grid_7}
								{BEGIN row_grid_8}
				[
												{BEGIN cellblock_grid_c22}
{
	cellId: 'c22',
	col:0,
	row:0,
			style: 'cell',
		
		
	//	dynamic colspan/rowspan

					{BEGIN colspan_grid_c22}
			colSpan: {$colspan_grid_c22},
			{END colspan_grid_c22}
		
						
	
	
	
			"text": [
		
				'',
	  ],
  "border": [ false, false, false, false ],
          "alignment": 'right',
  },

{END cellblock_grid_c22}
																		{ 
				cellId: 'c22',
				row:  0,
				col:  1,
				text: ''
			},
															{BEGIN cellblock_grid_c23}
{
	cellId: 'c23',
	col:0,
	row:0,
			style: 'cell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				'',
	  ],
  "border": [ false, false, false, false ],
          "alignment": 'left',
  },

{END cellblock_grid_c23}
											],
				{END row_grid_8}
								{BEGIN row_grid_9}
				[
												{BEGIN cellblock_grid_c}
{
	cellId: 'c',
	col:0,
	row:0,
			style: 'cell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				
			{"hidden":"{$item_hide_edit_field_label3}","text":"{$jslabel bookings total_cost }","bold":true},
				
		  ],
  "border": [ false, false, false, false ],
          "alignment": 'right',
  },

{END cellblock_grid_c}
																			{BEGIN cellblock_grid_c6}
{
	cellId: 'c6',
	col:0,
	row:0,
			style: 'cell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				
			{"hidden":"{$item_hide_edit_field3}","text":{$total_cost_pdfvalue}},
				
		  ],
  "border": [ false, false, false, false ],
          "alignment": 'left',
  },

{END cellblock_grid_c6}
																			{BEGIN cellblock_grid_c9}
{
	cellId: 'c9',
	col:0,
	row:0,
			style: 'cell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				
			{"hidden":"{$item_hide_edit_field_tooltip}","text":{$total_cost_pdfvalue}},
				
		  ],
  "border": [ false, false, false, false ],
          "alignment": 'left',
  },

{END cellblock_grid_c9}
											],
				{END row_grid_9}
								{BEGIN row_grid_10}
				[
												{BEGIN cellblock_grid_c12}
{
	cellId: 'c12',
	col:0,
	row:0,
			style: 'cell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				
			{"hidden":"{$item_hide_edit_field_label4}","text":"{$jslabel bookings profit }","bold":true},
				
		  ],
  "border": [ false, false, false, false ],
          "alignment": 'right',
  },

{END cellblock_grid_c12}
																			{BEGIN cellblock_grid_c15}
{
	cellId: 'c15',
	col:0,
	row:0,
			style: 'cell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				
			{"hidden":"{$item_hide_edit_field4}","text":{$profit_pdfvalue}},
				
		  ],
  "border": [ false, false, false, false ],
          "alignment": 'left',
  },

{END cellblock_grid_c15}
																			{BEGIN cellblock_grid_c18}
{
	cellId: 'c18',
	col:0,
	row:0,
			style: 'cell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				
			{"hidden":"{$item_hide_edit_field_tooltip1}","text":{$profit_pdfvalue}},
				
		  ],
  "border": [ false, false, false, false ],
          "alignment": 'left',
  },

{END cellblock_grid_c18}
											],
				{END row_grid_10}
					]
	}
}
,
		
								
{
	table: {
	
				
		location: 'below-grid',
		
		
		widths: [
								"*", 
											"*", 
					 ],	
		
	
		body: [
				
					[
												{
	cellId: 'c1',
	col:0,
	row:0,
			style: 'cell',
		
		
	//	static colspan/rowspan
		
			
	
	
			"text": [
		
				
			{"text":"","hidden":"{$item_hide_edit_save}"},
				
				
			{"text":"","hidden":"{$item_hide_edit_back_list}"},
				
				
			{"text":"","hidden":"{$item_hide_edit_close}"},
				
		  ],
  "border": [ false, false, false, false ],
          "alignment": 'left',
  },

																			{
	cellId: 'c2',
	col:0,
	row:0,
			style: 'cell',
		
		
	//	static colspan/rowspan
		
			
	
	
			"text": [
		
				
			{"text":""},
				
		  ],
  "border": [ false, false, false, false ],
          "alignment": 'right',
  },

											],
					]
	}
}
,
			]
}
  