<?php
			$optionsArray = array(
	'totals' => array(
		'company_id' => array(
			'totalsType' => '' 
		),
		'branch_id' => array(
			'totalsType' => '' 
		),
		'sales_id' => array(
			'totalsType' => '' 
		),
		'sales_uuid' => array(
			'totalsType' => '' 
		),
		'document_no' => array(
			'totalsType' => '' 
		),
		'transaction_type' => array(
			'totalsType' => '' 
		),
		'transaction_date' => array(
			'totalsType' => '' 
		),
		'customer_id' => array(
			'totalsType' => '' 
		),
		'customer_name_snapshot' => array(
			'totalsType' => '' 
		),
		'customer_tin_snapshot' => array(
			'totalsType' => '' 
		),
		'customer_branch_code_snapshot' => array(
			'totalsType' => '' 
		),
		'sales_detail_id' => array(
			'totalsType' => '' 
		),
		'sales_detail_uuid' => array(
			'totalsType' => '' 
		),
		'line_no' => array(
			'totalsType' => '' 
		),
		'item_id' => array(
			'totalsType' => '' 
		),
		'description' => array(
			'totalsType' => '' 
		),
		'quantity' => array(
			'totalsType' => '' 
		),
		'unit_price' => array(
			'totalsType' => '' 
		),
		'gross_amount' => array(
			'totalsType' => '' 
		),
		'commercial_discount_amount' => array(
			'totalsType' => '' 
		),
		'statutory_discount_amount' => array(
			'totalsType' => '' 
		),
		'net_before_tax_amount' => array(
			'totalsType' => '' 
		),
		'vatable_amount' => array(
			'totalsType' => '' 
		),
		'vat_exempt_amount' => array(
			'totalsType' => '' 
		),
		'zero_rated_amount' => array(
			'totalsType' => '' 
		),
		'vat_amount' => array(
			'totalsType' => '' 
		),
		'withholding_amount' => array(
			'totalsType' => '' 
		),
		'line_total_amount' => array(
			'totalsType' => '' 
		),
		'tax_code' => array(
			'totalsType' => '' 
		),
		'tax_type' => array(
			'totalsType' => '' 
		),
		'atc_code' => array(
			'totalsType' => '' 
		),
		'bir_form_code' => array(
			'totalsType' => '' 
		),
		'bir_schedule_code' => array(
			'totalsType' => '' 
		),
		'report_classification_code' => array(
			'totalsType' => '' 
		),
		'relief_transaction_code' => array(
			'totalsType' => '' 
		) 
	),
	'fields' => array(
		'gridFields' => array( 
			'company_id',
			'branch_id',
			'sales_id',
			'sales_uuid',
			'document_no',
			'transaction_type',
			'transaction_date',
			'customer_id',
			'customer_name_snapshot',
			'customer_tin_snapshot',
			'customer_branch_code_snapshot',
			'sales_detail_id',
			'sales_detail_uuid',
			'line_no',
			'item_id',
			'description',
			'quantity',
			'unit_price',
			'gross_amount',
			'commercial_discount_amount',
			'statutory_discount_amount',
			'net_before_tax_amount',
			'vatable_amount',
			'vat_exempt_amount',
			'zero_rated_amount',
			'vat_amount',
			'withholding_amount',
			'line_total_amount',
			'tax_code',
			'tax_type',
			'atc_code',
			'bir_form_code',
			'bir_schedule_code',
			'report_classification_code',
			'relief_transaction_code' 
		),
		'exportFields' => array( 
			'company_id',
			'branch_id',
			'sales_id',
			'sales_uuid',
			'document_no',
			'transaction_type',
			'transaction_date',
			'customer_id',
			'customer_name_snapshot',
			'customer_tin_snapshot',
			'customer_branch_code_snapshot',
			'sales_detail_id',
			'sales_detail_uuid',
			'line_no',
			'item_id',
			'description',
			'quantity',
			'unit_price',
			'gross_amount',
			'commercial_discount_amount',
			'statutory_discount_amount',
			'net_before_tax_amount',
			'vatable_amount',
			'vat_exempt_amount',
			'zero_rated_amount',
			'vat_amount',
			'withholding_amount',
			'line_total_amount',
			'tax_code',
			'tax_type',
			'atc_code',
			'bir_form_code',
			'bir_schedule_code',
			'report_classification_code',
			'relief_transaction_code' 
		),
		'searchRequiredFields' => array( 
			 
		),
		'searchPanelFields' => array( 
			 
		),
		'fieldItems' => array(
			'company_id' => array( 
				'export_field' 
			),
			'branch_id' => array( 
				'export_field1' 
			),
			'sales_id' => array( 
				'export_field2' 
			),
			'sales_uuid' => array( 
				'export_field3' 
			),
			'document_no' => array( 
				'export_field4' 
			),
			'transaction_type' => array( 
				'export_field5' 
			),
			'transaction_date' => array( 
				'export_field6' 
			),
			'customer_id' => array( 
				'export_field7' 
			),
			'customer_name_snapshot' => array( 
				'export_field8' 
			),
			'customer_tin_snapshot' => array( 
				'export_field9' 
			),
			'customer_branch_code_snapshot' => array( 
				'export_field10' 
			),
			'sales_detail_id' => array( 
				'export_field11' 
			),
			'sales_detail_uuid' => array( 
				'export_field12' 
			),
			'line_no' => array( 
				'export_field13' 
			),
			'item_id' => array( 
				'export_field14' 
			),
			'description' => array( 
				'export_field15' 
			),
			'quantity' => array( 
				'export_field16' 
			),
			'unit_price' => array( 
				'export_field17' 
			),
			'gross_amount' => array( 
				'export_field18' 
			),
			'commercial_discount_amount' => array( 
				'export_field19' 
			),
			'statutory_discount_amount' => array( 
				'export_field20' 
			),
			'net_before_tax_amount' => array( 
				'export_field21' 
			),
			'vatable_amount' => array( 
				'export_field22' 
			),
			'vat_exempt_amount' => array( 
				'export_field23' 
			),
			'zero_rated_amount' => array( 
				'export_field24' 
			),
			'vat_amount' => array( 
				'export_field25' 
			),
			'withholding_amount' => array( 
				'export_field26' 
			),
			'line_total_amount' => array( 
				'export_field27' 
			),
			'tax_code' => array( 
				'export_field28' 
			),
			'tax_type' => array( 
				'export_field29' 
			),
			'atc_code' => array( 
				'export_field30' 
			),
			'bir_form_code' => array( 
				'export_field31' 
			),
			'bir_schedule_code' => array( 
				'export_field32' 
			),
			'report_classification_code' => array( 
				'export_field33' 
			),
			'relief_transaction_code' => array( 
				'export_field34' 
			) 
		) 
	),
	'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_field',
					'export_field1',
					'export_field2',
					'export_field3',
					'export_field4',
					'export_field5',
					'export_field6',
					'export_field7',
					'export_field8',
					'export_field9',
					'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',
					'export_field25',
					'export_field26',
					'export_field27',
					'export_field28',
					'export_field29',
					'export_field30',
					'export_field31',
					'export_field32',
					'export_field33',
					'export_field34' 
				),
				'footer' => array( 
					'export_export',
					'export_cancel' 
				) 
			),
			'formXtTags' => array(
				'supertop' => array( 
					 
				) 
			),
			'itemForms' => array(
				'export_header' => 'top',
				'export_field' => 'grid',
				'export_field1' => 'grid',
				'export_field2' => 'grid',
				'export_field3' => 'grid',
				'export_field4' => 'grid',
				'export_field5' => 'grid',
				'export_field6' => 'grid',
				'export_field7' => 'grid',
				'export_field8' => 'grid',
				'export_field9' => '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_field25' => 'grid',
				'export_field26' => 'grid',
				'export_field27' => 'grid',
				'export_field28' => 'grid',
				'export_field29' => 'grid',
				'export_field30' => 'grid',
				'export_field31' => 'grid',
				'export_field32' => 'grid',
				'export_field33' => 'grid',
				'export_field34' => '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_field',
				'export_field1',
				'export_field2',
				'export_field3',
				'export_field4',
				'export_field5',
				'export_field6',
				'export_field7',
				'export_field8',
				'export_field9',
				'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',
				'export_field25',
				'export_field26',
				'export_field27',
				'export_field28',
				'export_field29',
				'export_field30',
				'export_field31',
				'export_field32',
				'export_field33',
				'export_field34' 
			) 
		),
		'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_field',
						'export_field1',
						'export_field2',
						'export_field3',
						'export_field4',
						'export_field5',
						'export_field6',
						'export_field7',
						'export_field8',
						'export_field9',
						'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',
						'export_field25',
						'export_field26',
						'export_field27',
						'export_field28',
						'export_field29',
						'export_field30',
						'export_field31',
						'export_field32',
						'export_field33',
						'export_field34' 
					) 
				) 
			),
			'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_field' => array(
			'field' => 'company_id',
			'type' => 'export_field' 
		),
		'export_field1' => array(
			'field' => 'branch_id',
			'type' => 'export_field' 
		),
		'export_field2' => array(
			'field' => 'sales_id',
			'type' => 'export_field' 
		),
		'export_field3' => array(
			'field' => 'sales_uuid',
			'type' => 'export_field' 
		),
		'export_field4' => array(
			'field' => 'document_no',
			'type' => 'export_field' 
		),
		'export_field5' => array(
			'field' => 'transaction_type',
			'type' => 'export_field' 
		),
		'export_field6' => array(
			'field' => 'transaction_date',
			'type' => 'export_field' 
		),
		'export_field7' => array(
			'field' => 'customer_id',
			'type' => 'export_field' 
		),
		'export_field8' => array(
			'field' => 'customer_name_snapshot',
			'type' => 'export_field' 
		),
		'export_field9' => array(
			'field' => 'customer_tin_snapshot',
			'type' => 'export_field' 
		),
		'export_field10' => array(
			'field' => 'customer_branch_code_snapshot',
			'type' => 'export_field' 
		),
		'export_field11' => array(
			'field' => 'sales_detail_id',
			'type' => 'export_field' 
		),
		'export_field12' => array(
			'field' => 'sales_detail_uuid',
			'type' => 'export_field' 
		),
		'export_field13' => array(
			'field' => 'line_no',
			'type' => 'export_field' 
		),
		'export_field14' => array(
			'field' => 'item_id',
			'type' => 'export_field' 
		),
		'export_field15' => array(
			'field' => 'description',
			'type' => 'export_field' 
		),
		'export_field16' => array(
			'field' => 'quantity',
			'type' => 'export_field' 
		),
		'export_field17' => array(
			'field' => 'unit_price',
			'type' => 'export_field' 
		),
		'export_field18' => array(
			'field' => 'gross_amount',
			'type' => 'export_field' 
		),
		'export_field19' => array(
			'field' => 'commercial_discount_amount',
			'type' => 'export_field' 
		),
		'export_field20' => array(
			'field' => 'statutory_discount_amount',
			'type' => 'export_field' 
		),
		'export_field21' => array(
			'field' => 'net_before_tax_amount',
			'type' => 'export_field' 
		),
		'export_field22' => array(
			'field' => 'vatable_amount',
			'type' => 'export_field' 
		),
		'export_field23' => array(
			'field' => 'vat_exempt_amount',
			'type' => 'export_field' 
		),
		'export_field24' => array(
			'field' => 'zero_rated_amount',
			'type' => 'export_field' 
		),
		'export_field25' => array(
			'field' => 'vat_amount',
			'type' => 'export_field' 
		),
		'export_field26' => array(
			'field' => 'withholding_amount',
			'type' => 'export_field' 
		),
		'export_field27' => array(
			'field' => 'line_total_amount',
			'type' => 'export_field' 
		),
		'export_field28' => array(
			'field' => 'tax_code',
			'type' => 'export_field' 
		),
		'export_field29' => array(
			'field' => 'tax_type',
			'type' => 'export_field' 
		),
		'export_field30' => array(
			'field' => 'atc_code',
			'type' => 'export_field' 
		),
		'export_field31' => array(
			'field' => 'bir_form_code',
			'type' => 'export_field' 
		),
		'export_field32' => array(
			'field' => 'bir_schedule_code',
			'type' => 'export_field' 
		),
		'export_field33' => array(
			'field' => 'report_classification_code',
			'type' => 'export_field' 
		),
		'export_field34' => array(
			'field' => 'relief_transaction_code',
			'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 
);
		?>