
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}
		{
			text: '{$jscaption users_accounts}',
		},
		{END embedded_grid}
		{ 
			{BEGIN standalone_page}
			pageBreak: 'before',
			{END standalone_page}
			{BEGIN embedded_grid}
			embeddedPage: true,
			{END embedded_grid}
			layout: {
				hLineWidth: function(i, node) { return 0.1; },
				vLineWidth: function(i, node) { 
					if( node.table.embeddedPage ) {
						return (i === 0 || i === node.table.widths.length) ? 0.1 : 0;
					} else  {
						return 0.1; 
					}
				},
				hLineColor: function(i, node) { return 'gray'; },
				vLineColor: function(i, node) { return 'gray'; },
			},
			table: {
				{BEGIN embedded_grid}
				embeddedPage: true,
				{END embedded_grid}
				
				tableForm: true,
				headerRows: 1 + 1 {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}
					"%",
					{END col_grid_2}
										{BEGIN col_grid_3}
					"%",
					{END col_grid_3}
										{BEGIN col_grid_4}
					"%",
					{END col_grid_4}
										{BEGIN col_grid_5}
					"%",
					{END col_grid_5}
										{BEGIN col_grid_6}
					"%",
					{END col_grid_6}
										{BEGIN col_grid_7}
					"%",
					{END col_grid_7}
										{BEGIN col_grid_8}
					"%",
					{END col_grid_8}
										{BEGIN col_grid_9}
					"%",
					{END col_grid_9}
										{BEGIN col_grid_10}
					"%",
					{END col_grid_10}
															],
											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,
			style: 'cell',
		
		
	//	static colspan/rowspan
		
			
	
	
			"text": [
		
				
			{"text":"","hidden":"{$item_hide_breadcrumb}"},
				
		  ],
  "border": [ false, false, false, false ],
          "alignment": 'left',
  },

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

																			{
	cellId: 'c2',
	col:0,
	row:0,
			style: 'cell',
		
		
	//	static colspan/rowspan
		
			
	
	
			"text": [
		
				
			{"text":"Displaying %first% - %last% of %total%","hidden":"{$item_hide_details_found}","isHtml":true,"page_indicator":true},
				
				
			{"text":"","hidden":"{$item_hide_page_size}"},
				
				
			{"text":"","hidden":"{$item_hide_print_panel}"},
				
		  ],
  "border": [ false, false, false, false ],
          "alignment": 'right',
  },

											],
								[
												{
	cellId: 'c3',
	col:0,
	row:0,
			style: 'cell',
		
		
	//	static colspan/rowspan
					colSpan: 2,
		
			
	
	
			"text": [
		
				
			{"text":"STATMENT OF ACCOUNT","hidden":"{$item_hide_text}","fontSize":20,"bold":true,"isHtml":true},
				
		  ],
  "border": [ false, false, false, false ],
          "alignment": 'center',
  },

																		{ 
				cellId: 'c3',
				row:  0,
				col:  1,
				text: ''
			},
							],
					]
	}
}
,
															]
						},
					],
				{END standalone_page}

																	

				
					{BEGIN row_grid_0}
				[
												{BEGIN cellblock_grid_headcell_icons}
{
	cellId: 'headcell_icons',
	col:0,
	row:0,
			style: 'headcell',
		
		
	//	dynamic colspan/rowspan

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

{END cellblock_grid_headcell_icons}
																			{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 ],
          "alignment": 'center',
  },

{END cellblock_grid_headcell_checkbox}
																			{BEGIN cellblock_grid_headcell_field7}
{
	cellId: 'headcell_field7',
	col:0,
	row:0,
			style: 'headcell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				
			{"hidden":"{$item_hide_grid_field_label4}","text":"{$jslabel users_accounts id }","bold":true},
				
		  ],
  "border": [ true, true, true, true ],
          "alignment": '{$id_align}',
  },

{END cellblock_grid_headcell_field7}
																			{BEGIN cellblock_grid_headcell_field1}
{
	cellId: 'headcell_field1',
	col:0,
	row:0,
			style: 'headcell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				
			{"hidden":"{$item_hide_simple_grid_field9}","text":"{$jslabel users_accounts user_id }","bold":true},
				
		  ],
  "border": [ true, true, true, true ],
          "alignment": 'center',
  },

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

		
						
	
	
	
			"text": [
		
				
			{"hidden":"{$item_hide_simple_grid_field15}","text":"{$jslabel users_accounts transaction_date }","bold":true},
				
		  ],
  "border": [ true, true, true, true ],
          "alignment": 'center',
  },

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

		
						
	
	
	
			"text": [
		
				
			{"hidden":"{$item_hide_grid_field_label}","text":"{$jslabel users_accounts reference }","bold":true},
				
		  ],
  "border": [ true, true, true, true ],
          "alignment": 'center',
  },

{END cellblock_grid_headcell_field6}
																			{BEGIN cellblock_grid_headcell_field9}
{
	cellId: 'headcell_field9',
	col:0,
	row:0,
			style: 'headcell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				
			{"hidden":"{$item_hide_simple_grid_field12}","text":"{$jslabel users_accounts description }","bold":true},
				
		  ],
  "border": [ true, true, true, true ],
          "alignment": 'center',
  },

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

		
						
	
	
	
			"text": [
		
				
			{"hidden":"{$item_hide_grid_field_label2}","text":"{$jslabel users_accounts credit }","bold":true},
				
		  ],
  "border": [ true, true, true, true ],
          "alignment": 'center',
  },

{END cellblock_grid_headcell_field2}
																			{BEGIN cellblock_grid_headcell_field3}
{
	cellId: 'headcell_field3',
	col:0,
	row:0,
			style: 'headcell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				
			{"hidden":"{$item_hide_grid_field_label3}","text":"{$jslabel users_accounts debit }","bold":true},
				
		  ],
  "border": [ true, true, true, true ],
          "alignment": 'center',
  },

{END cellblock_grid_headcell_field3}
																			{BEGIN cellblock_grid_headcell_field5}
{
	cellId: 'headcell_field5',
	col:0,
	row:0,
			style: 'headcell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				
			{"hidden":"{$item_hide_grid_field_label1}","text":"{$jslabel users_accounts balance }","bold":true},
				
		  ],
  "border": [ true, true, true, true ],
          "alignment": 'center',
  },

{END cellblock_grid_headcell_field5}
																			{BEGIN cellblock_grid_headcell_field}
{
	cellId: 'headcell_field',
	col:0,
	row:0,
			style: 'headcell',
		
		
	//	dynamic colspan/rowspan

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

{END cellblock_grid_headcell_field}
											],
				{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_edit}"},
				
		  ],
  "border": [ true, true, true, true ],
          "alignment": 'center',
  },

{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_headcell_field8}
{
	cellId: 'headcell_field8',
	col:0,
	row:0,
			style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				
			{"hidden":"{$item_hide_grid_field4}","text":{$id_pdfvalue}},
				
		  ],
  "border": [ true, true, true, true ],
          "alignment": '{$id_align}',
  },

{END cellblock_grid_headcell_field8}
																			{BEGIN cellblock_grid_cell_field1}
{
	cellId: 'cell_field1',
	col:0,
	row:0,
			style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				
			{"hidden":"{$item_hide_simple_grid_field1}","text":{$user_id_pdfvalue}},
				
		  ],
  "border": [ true, true, true, true ],
          "alignment": 'center',
  },

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

		
						
	
	
	
			"text": [
		
				
			{"hidden":"{$item_hide_simple_grid_field5}","text":{$transaction_date_pdfvalue}},
				
		  ],
  "border": [ true, true, true, true ],
          "alignment": 'center',
  },

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

		
						
	
	
	
			"text": [
		
				
			{"hidden":"{$item_hide_grid_field}","text":{$reference_pdfvalue}},
				
		  ],
  "border": [ true, true, true, true ],
          "alignment": 'center',
  },

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

		
						
	
	
	
			"text": [
		
				
			{"hidden":"{$item_hide_simple_grid_field4}","text":{$description_pdfvalue}},
				
		  ],
  "border": [ true, true, true, true ],
          "alignment": 'center',
  },

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

		
						
	
	
	
			"text": [
		
				
			{"hidden":"{$item_hide_grid_field2}","text":{$credit_pdfvalue}},
				
		  ],
  "border": [ true, true, true, true ],
          "alignment": 'center',
  },

{END cellblock_grid_cell_field2}
																			{BEGIN cellblock_grid_cell_field3}
{
	cellId: 'cell_field3',
	col:0,
	row:0,
			style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				
			{"hidden":"{$item_hide_grid_field3}","text":{$debit_pdfvalue}},
				
		  ],
  "border": [ true, true, true, true ],
          "alignment": 'center',
  },

{END cellblock_grid_cell_field3}
																			{BEGIN cellblock_grid_cell_field5}
{
	cellId: 'cell_field5',
	col:0,
	row:0,
			style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				
			{"color":"#da5454","hidden":"{$item_hide_grid_field1}","fontSize":18,"bold":true,"text":{$balance_pdfvalue}},
				
		  ],
  "border": [ true, true, true, true ],
          "alignment": 'center',
  },

{END cellblock_grid_cell_field5}
																			{BEGIN cellblock_grid_cell_field}
{
	cellId: 'cell_field',
	col:0,
	row:0,
			style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

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

{END cellblock_grid_cell_field}
											],
				{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 ],
          "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 ],
          "alignment": 'left',
  },

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

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

{END cellblock_grid_headcell_field10}
																			{BEGIN cellblock_grid_footcell_field1}
{
	cellId: 'footcell_field1',
	col:0,
	row:0,
			style: 'footcell',
		
		
	//	dynamic colspan/rowspan

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

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

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

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

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

{END cellblock_grid_footcell_field6}
																			{BEGIN cellblock_grid_footcell_field9}
{
	cellId: 'footcell_field9',
	col:0,
	row:0,
			style: 'footcell',
		
		
	//	dynamic colspan/rowspan

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

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

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

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

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

{END cellblock_grid_footcell_field3}
																			{BEGIN cellblock_grid_footcell_field5}
{
	cellId: 'footcell_field5',
	col:0,
	row:0,
			style: 'footcell',
		
		
	//	dynamic colspan/rowspan

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

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

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

{END cellblock_grid_footcell_field}
											],
				{END row_grid_2}
							
									]
			
			}
		},
		{END body}
	]
}
