<?php
			$optionsArray = array(
	'totals' => array(
		'sales_uuid' => array(
			'totalsType' => '' 
		),
		'company_id' => array(
			'totalsType' => '' 
		),
		'branch_id' => array(
			'totalsType' => '' 
		),
		'document_no' => array(
			'totalsType' => '' 
		),
		'transaction_date' => array(
			'totalsType' => '' 
		),
		'due_date' => array(
			'totalsType' => '' 
		),
		'customer_id' => array(
			'totalsType' => '' 
		),
		'currency_code' => array(
			'totalsType' => '' 
		),
		'ar_aging_id' => array(
			'totalsType' => '' 
		),
		'accounting_period_id' => array(
			'totalsType' => '' 
		),
		'sales_id' => array(
			'totalsType' => '' 
		),
		'customer_name' => array(
			'totalsType' => '' 
		),
		'customer_tin_snapshot' => array(
			'totalsType' => '' 
		),
		'exchange_rate' => array(
			'totalsType' => '' 
		),
		'invoice_amount' => array(
			'totalsType' => '' 
		),
		'applied_amount' => array(
			'totalsType' => '' 
		),
		'outstanding_amount' => array(
			'totalsType' => '' 
		),
		'days_overdue' => array(
			'totalsType' => '' 
		),
		'current_amount' => array(
			'totalsType' => '' 
		),
		'days_1_30' => array(
			'totalsType' => '' 
		),
		'days_31_60' => array(
			'totalsType' => '' 
		),
		'days_61_90' => array(
			'totalsType' => '' 
		),
		'over_90' => array(
			'totalsType' => '' 
		),
		'document_status' => array(
			'totalsType' => '' 
		),
		'posting_status' => array(
			'totalsType' => '' 
		) 
	),
	'fields' => array(
		'gridFields' => array( 
			'sales_uuid',
			'company_id',
			'branch_id',
			'document_no',
			'transaction_date',
			'due_date',
			'customer_id',
			'currency_code',
			'ar_aging_id',
			'accounting_period_id',
			'sales_id',
			'customer_name',
			'customer_tin_snapshot',
			'exchange_rate',
			'invoice_amount',
			'applied_amount',
			'outstanding_amount',
			'days_overdue',
			'current_amount',
			'days_1_30',
			'days_31_60',
			'days_61_90',
			'over_90',
			'document_status',
			'posting_status' 
		),
		'exportFields' => array( 
			'sales_uuid',
			'company_id',
			'branch_id',
			'document_no',
			'transaction_date',
			'due_date',
			'customer_id',
			'currency_code',
			'ar_aging_id',
			'accounting_period_id',
			'sales_id',
			'customer_name',
			'customer_tin_snapshot',
			'exchange_rate',
			'invoice_amount',
			'applied_amount',
			'outstanding_amount',
			'days_overdue',
			'current_amount',
			'days_1_30',
			'days_31_60',
			'days_61_90',
			'over_90',
			'document_status',
			'posting_status' 
		),
		'searchRequiredFields' => array( 
			 
		),
		'searchPanelFields' => array( 
			 
		),
		'fieldItems' => array(
			'sales_uuid' => array( 
				'export_field1' 
			),
			'company_id' => array( 
				'export_field2' 
			),
			'branch_id' => array( 
				'export_field3' 
			),
			'document_no' => array( 
				'export_field4' 
			),
			'transaction_date' => array( 
				'export_field5' 
			),
			'due_date' => array( 
				'export_field6' 
			),
			'customer_id' => array( 
				'export_field7' 
			),
			'currency_code' => array( 
				'export_field9' 
			),
			'ar_aging_id' => array( 
				'export_field' 
			),
			'accounting_period_id' => array( 
				'export_field8' 
			),
			'sales_id' => array( 
				'export_field10' 
			),
			'customer_name' => array( 
				'export_field11' 
			),
			'customer_tin_snapshot' => array( 
				'export_field12' 
			),
			'exchange_rate' => array( 
				'export_field13' 
			),
			'invoice_amount' => array( 
				'export_field14' 
			),
			'applied_amount' => array( 
				'export_field15' 
			),
			'outstanding_amount' => array( 
				'export_field16' 
			),
			'days_overdue' => array( 
				'export_field17' 
			),
			'current_amount' => array( 
				'export_field18' 
			),
			'days_1_30' => array( 
				'export_field19' 
			),
			'days_31_60' => array( 
				'export_field20' 
			),
			'days_61_90' => array( 
				'export_field21' 
			),
			'over_90' => array( 
				'export_field22' 
			),
			'document_status' => array( 
				'export_field23' 
			),
			'posting_status' => array( 
				'export_field24' 
			) 
		) 
	),
	'pageLinks' => array(
		'edit' => false,
		'add' => false,
		'view' => false,
		'print' => false 
	),
	'layoutHelper' => array(
		'formItems' => array(
			'formItems' => array(
				'supertop' => array( 
					 
				),
				'top' => array( 
					'export_header' 
				),
				'grid' => array( 
					'export_field1',
					'export_field2',
					'export_field3',
					'export_field4',
					'export_field5',
					'export_field6',
					'export_field7',
					'export_field9',
					'export_field',
					'export_field8',
					'export_field10',
					'export_field11',
					'export_field12',
					'export_field13',
					'export_field14',
					'export_field15',
					'export_field16',
					'export_field17',
					'export_field18',
					'export_field19',
					'export_field20',
					'export_field21',
					'export_field22',
					'export_field23',
					'export_field24' 
				),
				'footer' => array( 
					'export_export',
					'export_cancel' 
				) 
			),
			'formXtTags' => array(
				'supertop' => array( 
					 
				) 
			),
			'itemForms' => array(
				'export_header' => 'top',
				'export_field1' => 'grid',
				'export_field2' => 'grid',
				'export_field3' => 'grid',
				'export_field4' => 'grid',
				'export_field5' => 'grid',
				'export_field6' => 'grid',
				'export_field7' => 'grid',
				'export_field9' => 'grid',
				'export_field' => 'grid',
				'export_field8' => 'grid',
				'export_field10' => 'grid',
				'export_field11' => 'grid',
				'export_field12' => 'grid',
				'export_field13' => 'grid',
				'export_field14' => 'grid',
				'export_field15' => 'grid',
				'export_field16' => 'grid',
				'export_field17' => 'grid',
				'export_field18' => 'grid',
				'export_field19' => 'grid',
				'export_field20' => 'grid',
				'export_field21' => 'grid',
				'export_field22' => 'grid',
				'export_field23' => 'grid',
				'export_field24' => 'grid',
				'export_export' => 'footer',
				'export_cancel' => 'footer' 
			),
			'itemLocations' => array(
				 
			),
			'itemVisiblity' => array(
				 
			) 
		),
		'itemsByType' => array(
			'export_header' => array( 
				'export_header' 
			),
			'export_export' => array( 
				'export_export' 
			),
			'export_cancel' => array( 
				'export_cancel' 
			),
			'export_field' => array( 
				'export_field1',
				'export_field2',
				'export_field3',
				'export_field4',
				'export_field5',
				'export_field6',
				'export_field7',
				'export_field9',
				'export_field',
				'export_field8',
				'export_field10',
				'export_field11',
				'export_field12',
				'export_field13',
				'export_field14',
				'export_field15',
				'export_field16',
				'export_field17',
				'export_field18',
				'export_field19',
				'export_field20',
				'export_field21',
				'export_field22',
				'export_field23',
				'export_field24' 
			) 
		),
		'cellMaps' => array(
			 
		) 
	),
	'loginForm' => array(
		'loginForm' => 3 
	),
	'page' => array(
		'verticalBar' => false,
		'labeledButtons' => array(
			'update_records' => array(
				 
			),
			'print_pages' => array(
				 
			),
			'register_activate_message' => array(
				 
			),
			'details_found' => array(
				 
			) 
		),
		'hasCustomButtons' => false,
		'customButtons' => array( 
			 
		),
		'codeSnippets' => array( 
			 
		),
		'clickHandlerSnippets' => array( 
			 
		),
		'hasNotifications' => false,
		'menus' => array( 
			 
		),
		'calcTotalsFor' => 1,
		'hasCharts' => false 
	),
	'events' => array(
		'maps' => array( 
			 
		),
		'mapsData' => array(
			 
		),
		'buttons' => array( 
			 
		) 
	),
	'export' => array(
		'format' => 2,
		'selectFields' => false,
		'delimiter' => ',',
		'selectDelimiter' => false,
		'exportFileTypes' => array(
			'excel' => true,
			'word' => true,
			'csv' => true,
			'xml' => false 
		) 
	) 
);
			$pageArray = array(
	'id' => 'export',
	'type' => 'export',
	'layoutId' => 'first',
	'disabled' => false,
	'default' => 0,
	'forms' => array(
		'supertop' => array(
			'modelId' => 'panel-top',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c1' 
						) 
					),
					'section' => '' 
				) 
			),
			'cells' => array(
				'c1' => array(
					'model' => 'c1',
					'items' => array( 
						 
					) 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'recsPerRow' => 1 
		),
		'top' => array(
			'modelId' => 'export-header',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c1' 
						) 
					),
					'section' => '' 
				) 
			),
			'cells' => array(
				'c1' => array(
					'model' => 'c1',
					'items' => array( 
						'export_header' 
					) 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'recsPerRow' => 1 
		),
		'grid' => array(
			'modelId' => 'export-grid',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c1' 
						) 
					),
					'section' => '' 
				) 
			),
			'cells' => array(
				'c1' => array(
					'model' => 'c1',
					'items' => array( 
						'export_field1',
						'export_field2',
						'export_field3',
						'export_field4',
						'export_field5',
						'export_field6',
						'export_field7',
						'export_field9',
						'export_field',
						'export_field8',
						'export_field10',
						'export_field11',
						'export_field12',
						'export_field13',
						'export_field14',
						'export_field15',
						'export_field16',
						'export_field17',
						'export_field18',
						'export_field19',
						'export_field20',
						'export_field21',
						'export_field22',
						'export_field23',
						'export_field24' 
					) 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'recsPerRow' => 1 
		),
		'footer' => array(
			'modelId' => 'export-footer',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c1' 
						),
						array(
							'cell' => 'c2' 
						) 
					),
					'section' => '' 
				) 
			),
			'cells' => array(
				'c1' => array(
					'model' => 'c1',
					'items' => array( 
						 
					) 
				),
				'c2' => array(
					'model' => 'c2',
					'items' => array( 
						'export_export',
						'export_cancel' 
					) 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'recsPerRow' => 1 
		) 
	),
	'items' => array(
		'export_header' => array(
			'type' => 'export_header' 
		),
		'export_export' => array(
			'type' => 'export_export' 
		),
		'export_cancel' => array(
			'type' => 'export_cancel' 
		),
		'export_field1' => array(
			'field' => 'sales_uuid',
			'type' => 'export_field' 
		),
		'export_field2' => array(
			'field' => 'company_id',
			'type' => 'export_field' 
		),
		'export_field3' => array(
			'field' => 'branch_id',
			'type' => 'export_field' 
		),
		'export_field4' => array(
			'field' => 'document_no',
			'type' => 'export_field' 
		),
		'export_field5' => array(
			'field' => 'transaction_date',
			'type' => 'export_field' 
		),
		'export_field6' => array(
			'field' => 'due_date',
			'type' => 'export_field' 
		),
		'export_field7' => array(
			'field' => 'customer_id',
			'type' => 'export_field' 
		),
		'export_field9' => array(
			'field' => 'currency_code',
			'type' => 'export_field' 
		),
		'export_field' => array(
			'field' => 'ar_aging_id',
			'type' => 'export_field' 
		),
		'export_field8' => array(
			'field' => 'accounting_period_id',
			'type' => 'export_field' 
		),
		'export_field10' => array(
			'field' => 'sales_id',
			'type' => 'export_field' 
		),
		'export_field11' => array(
			'field' => 'customer_name',
			'type' => 'export_field' 
		),
		'export_field12' => array(
			'field' => 'customer_tin_snapshot',
			'type' => 'export_field' 
		),
		'export_field13' => array(
			'field' => 'exchange_rate',
			'type' => 'export_field' 
		),
		'export_field14' => array(
			'field' => 'invoice_amount',
			'type' => 'export_field' 
		),
		'export_field15' => array(
			'field' => 'applied_amount',
			'type' => 'export_field' 
		),
		'export_field16' => array(
			'field' => 'outstanding_amount',
			'type' => 'export_field' 
		),
		'export_field17' => array(
			'field' => 'days_overdue',
			'type' => 'export_field' 
		),
		'export_field18' => array(
			'field' => 'current_amount',
			'type' => 'export_field' 
		),
		'export_field19' => array(
			'field' => 'days_1_30',
			'type' => 'export_field' 
		),
		'export_field20' => array(
			'field' => 'days_31_60',
			'type' => 'export_field' 
		),
		'export_field21' => array(
			'field' => 'days_61_90',
			'type' => 'export_field' 
		),
		'export_field22' => array(
			'field' => 'over_90',
			'type' => 'export_field' 
		),
		'export_field23' => array(
			'field' => 'document_status',
			'type' => 'export_field' 
		),
		'export_field24' => array(
			'field' => 'posting_status',
			'type' => 'export_field' 
		) 
	),
	'version' => 13,
	'imageItem' => array(
		'type' => 'page_image' 
	),
	'imageBgColor' => '#f2f2f2',
	'controlsBgColor' => 'transparent',
	'imagePosition' => 'right',
	'listTotals' => 1,
	'title' => array(
		 
	),
	'cardStyle' => array(
		 
	),
	'exportFormat' => 2,
	'exportDelimiter' => ',',
	'exportSelectDelimiter' => false,
	'exportSelectFields' => false 
);
		?>