<?php
			$optionsArray = array(
	'fields' => array(
		'gridFields' => array( 
			'id',
			'sales_uuid',
			'company_id',
			'branch_id',
			'branch_scope_id',
			'accounting_period_id',
			'transaction_type',
			'original_sales_id',
			'document_no',
			'registered_document_series_id',
			'draft_reference',
			'transaction_date',
			'due_date',
			'customer_id',
			'customer_name_snapshot',
			'customer_tin_snapshot',
			'customer_branch_code_snapshot',
			'payment_terms_days',
			'billing_address',
			'shipping_address',
			'currency_code',
			'base_currency_code',
			'exchange_rate',
			'sales_agent_id',
			'campaign_id',
			'department_id',
			'cost_center_id',
			'project_id',
			'project_task_id',
			'vatable_amount',
			'vat_exempt_amount',
			'zero_rated_amount',
			'base_grand_total_amount',
			'benefit_type',
			'beneficiary_name',
			'beneficiary_id_no',
			'beneficiary_id_type',
			'approval_status',
			'document_status',
			'posting_status',
			'eis_status',
			'electronic_invoice_issued_at',
			'remarks',
			'created_by_platform_user_id',
			'approved_by_platform_user_id',
			'posted_by_platform_user_id',
			'created_at',
			'updated_at',
			'approved_at',
			'posted_at',
			'cancelled_at' 
		),
		'searchRequiredFields' => array( 
			 
		),
		'searchPanelFields' => array( 
			 
		),
		'fieldItems' => array(
			'id' => array( 
				'import_field' 
			),
			'sales_uuid' => array( 
				'import_field1' 
			),
			'company_id' => array( 
				'import_field2' 
			),
			'branch_id' => array( 
				'import_field3' 
			),
			'branch_scope_id' => array( 
				'import_field4' 
			),
			'accounting_period_id' => array( 
				'import_field5' 
			),
			'transaction_type' => array( 
				'import_field6' 
			),
			'original_sales_id' => array( 
				'import_field7' 
			),
			'document_no' => array( 
				'import_field8' 
			),
			'registered_document_series_id' => array( 
				'import_field9' 
			),
			'draft_reference' => array( 
				'import_field10' 
			),
			'transaction_date' => array( 
				'import_field11' 
			),
			'due_date' => array( 
				'import_field12' 
			),
			'customer_id' => array( 
				'import_field13' 
			),
			'customer_name_snapshot' => array( 
				'import_field14' 
			),
			'customer_tin_snapshot' => array( 
				'import_field15' 
			),
			'customer_branch_code_snapshot' => array( 
				'import_field16' 
			),
			'payment_terms_days' => array( 
				'import_field17' 
			),
			'billing_address' => array( 
				'import_field18' 
			),
			'shipping_address' => array( 
				'import_field19' 
			),
			'currency_code' => array( 
				'import_field20' 
			),
			'base_currency_code' => array( 
				'import_field21' 
			),
			'exchange_rate' => array( 
				'import_field22' 
			),
			'sales_agent_id' => array( 
				'import_field23' 
			),
			'campaign_id' => array( 
				'import_field24' 
			),
			'department_id' => array( 
				'import_field25' 
			),
			'cost_center_id' => array( 
				'import_field26' 
			),
			'project_id' => array( 
				'import_field27' 
			),
			'project_task_id' => array( 
				'import_field28' 
			),
			'vatable_amount' => array( 
				'import_field32' 
			),
			'vat_exempt_amount' => array( 
				'import_field33' 
			),
			'zero_rated_amount' => array( 
				'import_field34' 
			),
			'base_grand_total_amount' => array( 
				'import_field38' 
			),
			'benefit_type' => array( 
				'import_field39' 
			),
			'beneficiary_name' => array( 
				'import_field40' 
			),
			'beneficiary_id_no' => array( 
				'import_field41' 
			),
			'beneficiary_id_type' => array( 
				'import_field42' 
			),
			'approval_status' => array( 
				'import_field43' 
			),
			'document_status' => array( 
				'import_field44' 
			),
			'posting_status' => array( 
				'import_field45' 
			),
			'eis_status' => array( 
				'import_field46' 
			),
			'electronic_invoice_issued_at' => array( 
				'import_field47' 
			),
			'remarks' => array( 
				'import_field48' 
			),
			'created_by_platform_user_id' => array( 
				'import_field49' 
			),
			'approved_by_platform_user_id' => array( 
				'import_field50' 
			),
			'posted_by_platform_user_id' => array( 
				'import_field51' 
			),
			'created_at' => array( 
				'import_field52' 
			),
			'updated_at' => array( 
				'import_field53' 
			),
			'approved_at' => array( 
				'import_field54' 
			),
			'posted_at' => array( 
				'import_field55' 
			),
			'cancelled_at' => array( 
				'import_field56' 
			) 
		) 
	),
	'pageLinks' => array(
		'edit' => false,
		'add' => false,
		'view' => false,
		'print' => false 
	),
	'layoutHelper' => array(
		'formItems' => array(
			'formItems' => array(
				'supertop' => array( 
					 
				),
				'top' => array( 
					'import_header' 
				),
				'grid' => array( 
					'import_field',
					'import_field1',
					'import_field2',
					'import_field3',
					'import_field4',
					'import_field5',
					'import_field6',
					'import_field7',
					'import_field8',
					'import_field9',
					'import_field10',
					'import_field11',
					'import_field12',
					'import_field13',
					'import_field14',
					'import_field15',
					'import_field16',
					'import_field17',
					'import_field18',
					'import_field19',
					'import_field20',
					'import_field21',
					'import_field22',
					'import_field23',
					'import_field24',
					'import_field25',
					'import_field26',
					'import_field27',
					'import_field28',
					'import_field32',
					'import_field33',
					'import_field34',
					'import_field38',
					'import_field39',
					'import_field40',
					'import_field41',
					'import_field42',
					'import_field43',
					'import_field44',
					'import_field45',
					'import_field46',
					'import_field47',
					'import_field48',
					'import_field49',
					'import_field50',
					'import_field51',
					'import_field52',
					'import_field53',
					'import_field54',
					'import_field55',
					'import_field56' 
				) 
			),
			'formXtTags' => array(
				'supertop' => array( 
					 
				) 
			),
			'itemForms' => array(
				'import_header' => 'top',
				'import_field' => 'grid',
				'import_field1' => 'grid',
				'import_field2' => 'grid',
				'import_field3' => 'grid',
				'import_field4' => 'grid',
				'import_field5' => 'grid',
				'import_field6' => 'grid',
				'import_field7' => 'grid',
				'import_field8' => 'grid',
				'import_field9' => 'grid',
				'import_field10' => 'grid',
				'import_field11' => 'grid',
				'import_field12' => 'grid',
				'import_field13' => 'grid',
				'import_field14' => 'grid',
				'import_field15' => 'grid',
				'import_field16' => 'grid',
				'import_field17' => 'grid',
				'import_field18' => 'grid',
				'import_field19' => 'grid',
				'import_field20' => 'grid',
				'import_field21' => 'grid',
				'import_field22' => 'grid',
				'import_field23' => 'grid',
				'import_field24' => 'grid',
				'import_field25' => 'grid',
				'import_field26' => 'grid',
				'import_field27' => 'grid',
				'import_field28' => 'grid',
				'import_field32' => 'grid',
				'import_field33' => 'grid',
				'import_field34' => 'grid',
				'import_field38' => 'grid',
				'import_field39' => 'grid',
				'import_field40' => 'grid',
				'import_field41' => 'grid',
				'import_field42' => 'grid',
				'import_field43' => 'grid',
				'import_field44' => 'grid',
				'import_field45' => 'grid',
				'import_field46' => 'grid',
				'import_field47' => 'grid',
				'import_field48' => 'grid',
				'import_field49' => 'grid',
				'import_field50' => 'grid',
				'import_field51' => 'grid',
				'import_field52' => 'grid',
				'import_field53' => 'grid',
				'import_field54' => 'grid',
				'import_field55' => 'grid',
				'import_field56' => 'grid' 
			),
			'itemLocations' => array(
				 
			),
			'itemVisiblity' => array(
				 
			) 
		),
		'itemsByType' => array(
			'import_header' => array( 
				'import_header' 
			),
			'import_field' => array( 
				'import_field',
				'import_field1',
				'import_field2',
				'import_field3',
				'import_field4',
				'import_field5',
				'import_field6',
				'import_field7',
				'import_field8',
				'import_field9',
				'import_field10',
				'import_field11',
				'import_field12',
				'import_field13',
				'import_field14',
				'import_field15',
				'import_field16',
				'import_field17',
				'import_field18',
				'import_field19',
				'import_field20',
				'import_field21',
				'import_field22',
				'import_field23',
				'import_field24',
				'import_field25',
				'import_field26',
				'import_field27',
				'import_field28',
				'import_field32',
				'import_field33',
				'import_field34',
				'import_field38',
				'import_field39',
				'import_field40',
				'import_field41',
				'import_field42',
				'import_field43',
				'import_field44',
				'import_field45',
				'import_field46',
				'import_field47',
				'import_field48',
				'import_field49',
				'import_field50',
				'import_field51',
				'import_field52',
				'import_field53',
				'import_field54',
				'import_field55',
				'import_field56' 
			) 
		),
		'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( 
			 
		) 
	) 
);
			$pageArray = array(
	'id' => 'import',
	'type' => 'import',
	'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' => 'import-header',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c1' 
						) 
					),
					'section' => '' 
				) 
			),
			'cells' => array(
				'c1' => array(
					'model' => 'c1',
					'items' => array( 
						'import_header' 
					) 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'recsPerRow' => 1 
		),
		'grid' => array(
			'modelId' => 'import-grid',
			'grid' => array( 
				array(
					'cells' => array( 
						array(
							'cell' => 'c1' 
						) 
					),
					'section' => '' 
				) 
			),
			'cells' => array(
				'c1' => array(
					'model' => 'c1',
					'items' => array( 
						'import_field',
						'import_field1',
						'import_field2',
						'import_field3',
						'import_field4',
						'import_field5',
						'import_field6',
						'import_field7',
						'import_field8',
						'import_field9',
						'import_field10',
						'import_field11',
						'import_field12',
						'import_field13',
						'import_field14',
						'import_field15',
						'import_field16',
						'import_field17',
						'import_field18',
						'import_field19',
						'import_field20',
						'import_field21',
						'import_field22',
						'import_field23',
						'import_field24',
						'import_field25',
						'import_field26',
						'import_field27',
						'import_field28',
						'import_field32',
						'import_field33',
						'import_field34',
						'import_field38',
						'import_field39',
						'import_field40',
						'import_field41',
						'import_field42',
						'import_field43',
						'import_field44',
						'import_field45',
						'import_field46',
						'import_field47',
						'import_field48',
						'import_field49',
						'import_field50',
						'import_field51',
						'import_field52',
						'import_field53',
						'import_field54',
						'import_field55',
						'import_field56' 
					) 
				) 
			),
			'deferredItems' => array( 
				 
			),
			'recsPerRow' => 1 
		) 
	),
	'items' => array(
		'import_header' => array(
			'type' => 'import_header' 
		),
		'import_field' => array(
			'field' => 'id',
			'type' => 'import_field' 
		),
		'import_field1' => array(
			'field' => 'sales_uuid',
			'type' => 'import_field' 
		),
		'import_field2' => array(
			'field' => 'company_id',
			'type' => 'import_field' 
		),
		'import_field3' => array(
			'field' => 'branch_id',
			'type' => 'import_field' 
		),
		'import_field4' => array(
			'field' => 'branch_scope_id',
			'type' => 'import_field' 
		),
		'import_field5' => array(
			'field' => 'accounting_period_id',
			'type' => 'import_field' 
		),
		'import_field6' => array(
			'field' => 'transaction_type',
			'type' => 'import_field' 
		),
		'import_field7' => array(
			'field' => 'original_sales_id',
			'type' => 'import_field' 
		),
		'import_field8' => array(
			'field' => 'document_no',
			'type' => 'import_field' 
		),
		'import_field9' => array(
			'field' => 'registered_document_series_id',
			'type' => 'import_field' 
		),
		'import_field10' => array(
			'field' => 'draft_reference',
			'type' => 'import_field' 
		),
		'import_field11' => array(
			'field' => 'transaction_date',
			'type' => 'import_field' 
		),
		'import_field12' => array(
			'field' => 'due_date',
			'type' => 'import_field' 
		),
		'import_field13' => array(
			'field' => 'customer_id',
			'type' => 'import_field' 
		),
		'import_field14' => array(
			'field' => 'customer_name_snapshot',
			'type' => 'import_field' 
		),
		'import_field15' => array(
			'field' => 'customer_tin_snapshot',
			'type' => 'import_field' 
		),
		'import_field16' => array(
			'field' => 'customer_branch_code_snapshot',
			'type' => 'import_field' 
		),
		'import_field17' => array(
			'field' => 'payment_terms_days',
			'type' => 'import_field' 
		),
		'import_field18' => array(
			'field' => 'billing_address',
			'type' => 'import_field' 
		),
		'import_field19' => array(
			'field' => 'shipping_address',
			'type' => 'import_field' 
		),
		'import_field20' => array(
			'field' => 'currency_code',
			'type' => 'import_field' 
		),
		'import_field21' => array(
			'field' => 'base_currency_code',
			'type' => 'import_field' 
		),
		'import_field22' => array(
			'field' => 'exchange_rate',
			'type' => 'import_field' 
		),
		'import_field23' => array(
			'field' => 'sales_agent_id',
			'type' => 'import_field' 
		),
		'import_field24' => array(
			'field' => 'campaign_id',
			'type' => 'import_field' 
		),
		'import_field25' => array(
			'field' => 'department_id',
			'type' => 'import_field' 
		),
		'import_field26' => array(
			'field' => 'cost_center_id',
			'type' => 'import_field' 
		),
		'import_field27' => array(
			'field' => 'project_id',
			'type' => 'import_field' 
		),
		'import_field28' => array(
			'field' => 'project_task_id',
			'type' => 'import_field' 
		),
		'import_field32' => array(
			'field' => 'vatable_amount',
			'type' => 'import_field' 
		),
		'import_field33' => array(
			'field' => 'vat_exempt_amount',
			'type' => 'import_field' 
		),
		'import_field34' => array(
			'field' => 'zero_rated_amount',
			'type' => 'import_field' 
		),
		'import_field38' => array(
			'field' => 'base_grand_total_amount',
			'type' => 'import_field' 
		),
		'import_field39' => array(
			'field' => 'benefit_type',
			'type' => 'import_field' 
		),
		'import_field40' => array(
			'field' => 'beneficiary_name',
			'type' => 'import_field' 
		),
		'import_field41' => array(
			'field' => 'beneficiary_id_no',
			'type' => 'import_field' 
		),
		'import_field42' => array(
			'field' => 'beneficiary_id_type',
			'type' => 'import_field' 
		),
		'import_field43' => array(
			'field' => 'approval_status',
			'type' => 'import_field' 
		),
		'import_field44' => array(
			'field' => 'document_status',
			'type' => 'import_field' 
		),
		'import_field45' => array(
			'field' => 'posting_status',
			'type' => 'import_field' 
		),
		'import_field46' => array(
			'field' => 'eis_status',
			'type' => 'import_field' 
		),
		'import_field47' => array(
			'field' => 'electronic_invoice_issued_at',
			'type' => 'import_field' 
		),
		'import_field48' => array(
			'field' => 'remarks',
			'type' => 'import_field' 
		),
		'import_field49' => array(
			'field' => 'created_by_platform_user_id',
			'type' => 'import_field' 
		),
		'import_field50' => array(
			'field' => 'approved_by_platform_user_id',
			'type' => 'import_field' 
		),
		'import_field51' => array(
			'field' => 'posted_by_platform_user_id',
			'type' => 'import_field' 
		),
		'import_field52' => array(
			'field' => 'created_at',
			'type' => 'import_field' 
		),
		'import_field53' => array(
			'field' => 'updated_at',
			'type' => 'import_field' 
		),
		'import_field54' => array(
			'field' => 'approved_at',
			'type' => 'import_field' 
		),
		'import_field55' => array(
			'field' => 'posted_at',
			'type' => 'import_field' 
		),
		'import_field56' => array(
			'field' => 'cancelled_at',
			'type' => 'import_field' 
		) 
	),
	'version' => 13,
	'imageItem' => array(
		'type' => 'page_image' 
	),
	'imageBgColor' => '#f2f2f2',
	'controlsBgColor' => 'transparent',
	'imagePosition' => 'right',
	'listTotals' => 1,
	'title' => array(
		 
	),
	'cardStyle' => array(
		 
	) 
);
		?>