<?php
global $runnerTableSettings;
$runnerTableSettings['vw_active_branch'] = array(
	'name' => 'vw_active_branch',
	'shortName' => 'vw_active_branch',
	'pagesByType' => array(
		'add' => array( 
			'add' 
		),
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'pageTypes' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'defaultPages' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'afterEditDetails' => 'vw_active_branch',
	'afterAddDetail' => 'vw_active_branch',
	'detailsBadgeColor' => '2f4f4f',
	'sql' => 'SELECT
	id,
	company_id,
	branch_uuid,
	branch_code,
	branch_name,
	bir_branch_code,
	is_head_office
FROM
	vw_active_branch',
	'deviceHideFields' => array(
		'1' => array( 
			 
		),
		'5' => array( 
			 
		) 
	),
	'fields' => array(
		'id' => array(
			'name' => 'id',
			'goodName' => 'id',
			'strField' => 'id',
			'index' => 1,
			'type' => 3,
			'sqlExpression' => 'id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_active_branch' 
		),
		'company_id' => array(
			'name' => 'company_id',
			'goodName' => 'company_id',
			'strField' => 'company_id',
			'index' => 2,
			'type' => 3,
			'sqlExpression' => 'company_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_active_branch' 
		),
		'branch_uuid' => array(
			'name' => 'branch_uuid',
			'goodName' => 'branch_uuid',
			'strField' => 'branch_uuid',
			'index' => 3,
			'sqlExpression' => 'branch_uuid',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_active_branch' 
		),
		'branch_code' => array(
			'name' => 'branch_code',
			'goodName' => 'branch_code',
			'strField' => 'branch_code',
			'index' => 4,
			'sqlExpression' => 'branch_code',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_active_branch' 
		),
		'branch_name' => array(
			'name' => 'branch_name',
			'goodName' => 'branch_name',
			'strField' => 'branch_name',
			'index' => 5,
			'sqlExpression' => 'branch_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_active_branch' 
		),
		'bir_branch_code' => array(
			'name' => 'bir_branch_code',
			'goodName' => 'bir_branch_code',
			'strField' => 'bir_branch_code',
			'index' => 6,
			'sqlExpression' => 'bir_branch_code',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_active_branch' 
		),
		'is_head_office' => array(
			'name' => 'is_head_office',
			'goodName' => 'is_head_office',
			'strField' => 'is_head_office',
			'index' => 7,
			'type' => 2,
			'sqlExpression' => 'is_head_office',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_active_branch' 
		) 
	),
	'query' => array(
		'sql' => 'SELECT
	id,
	company_id,
	branch_uuid,
	branch_code,
	branch_name,
	bir_branch_code,
	is_head_office
FROM
	vw_active_branch',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_active_branch',
					'name' => 'id' 
				),
				'encrypted' => false,
				'columnName' => 'id' 
			),
			array(
				'sql' => 'company_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_active_branch',
					'name' => 'company_id' 
				),
				'encrypted' => false,
				'columnName' => 'company_id' 
			),
			array(
				'sql' => 'branch_uuid',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_active_branch',
					'name' => 'branch_uuid' 
				),
				'encrypted' => false,
				'columnName' => 'branch_uuid' 
			),
			array(
				'sql' => 'branch_code',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_active_branch',
					'name' => 'branch_code' 
				),
				'encrypted' => false,
				'columnName' => 'branch_code' 
			),
			array(
				'sql' => 'branch_name',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_active_branch',
					'name' => 'branch_name' 
				),
				'encrypted' => false,
				'columnName' => 'branch_name' 
			),
			array(
				'sql' => 'bir_branch_code',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_active_branch',
					'name' => 'bir_branch_code' 
				),
				'encrypted' => false,
				'columnName' => 'bir_branch_code' 
			),
			array(
				'sql' => 'is_head_office',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_active_branch',
					'name' => 'is_head_office' 
				),
				'encrypted' => false,
				'columnName' => 'is_head_office' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'vw_active_branch',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'vw_active_branch',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'id',
						'company_id',
						'branch_uuid',
						'branch_code',
						'branch_name',
						'bir_branch_code',
						'is_head_office' 
					),
					'name' => 'vw_active_branch' 
				),
				'joinOn' => array(
					'sql' => '',
					'parsed' => false,
					'type' => 'LogicalExpression',
					'contained' => array( 
						 
					),
					'unionType' => 0,
					'column' => null 
				),
				'joinList' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'JoinOn',
					'field1' => array( 
						 
					),
					'field2' => array( 
						 
					) 
				),
				'link' => 0 
			) 
		),
		'where' => array(
			'sql' => '',
			'parsed' => false,
			'type' => 'LogicalExpression',
			'contained' => array( 
				 
			),
			'unionType' => 0,
			'column' => null 
		),
		'groupBy' => array( 
			 
		),
		'having' => array(
			'sql' => '',
			'parsed' => false,
			'type' => 'LogicalExpression',
			'contained' => array( 
				 
			),
			'unionType' => 0,
			'column' => null 
		),
		'orderBy' => array( 
			 
		),
		'colsIndex' => array( 
			array(
				'fieldIndex' => 0,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 1,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 2,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 3,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 4,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 5,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 6,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'id,
	company_id,
	branch_uuid,
	branch_code,
	branch_name,
	bir_branch_code,
	is_head_office',
		'fromListSql' => 'FROM
	vw_active_branch',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'originalTable' => 'vw_active_branch',
	'originalPagesByType' => array(
		'add' => array( 
			'add' 
		),
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'originalPageTypes' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'originalDefaultPages' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'searchSettings' => array(
		'caseSensitiveSearch' => false,
		'searchableFields' => array( 
			'id',
			'company_id',
			'branch_uuid',
			'branch_code',
			'branch_name',
			'bir_branch_code',
			'is_head_office' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'id',
			'company_id',
			'branch_uuid',
			'branch_code',
			'branch_name',
			'bir_branch_code',
			'is_head_office' 
		) 
	),
	'connId' => 'conn1',
	'clickActions' => array(
		'row' => array(
			'action' => 'noaction' 
		),
		'fields' => array(
			 
		) 
	),
	'geoCoding' => array(
		'enabled' => false,
		'latField' => '',
		'lonField' => '',
		'addressFields' => array( 
			 
		) 
	),
	'whereTabs' => array( 
		 
	),
	'labels' => array(
		 
	),
	'chartSettings' => array(
		 
	),
	'dataSourceOperations' => array(
		 
	),
	'calendarSettings' => array(
		'categoryColors' => array( 
			 
		) 
	),
	'ganttSettings' => array(
		'categoryColors' => array( 
			 
		) 
	) 
);

global $runnerTableLabels;
if( mlang_getcurrentlang() === 'English' ) {
	$runnerTableLabels['vw_active_branch'] = array(
	'tableCaption' => 'Vw Active Branch',
	'fieldLabels' => array(
		'id' => 'Id',
		'company_id' => 'Company Id',
		'branch_uuid' => 'Branch Uuid',
		'branch_code' => 'Branch Code',
		'branch_name' => 'Branch Name',
		'bir_branch_code' => 'Bir Branch Code',
		'is_head_office' => 'Is Head Office' 
	),
	'fieldTooltips' => array(
		'id' => '',
		'company_id' => '',
		'branch_uuid' => '',
		'branch_code' => '',
		'branch_name' => '',
		'bir_branch_code' => '',
		'is_head_office' => '' 
	),
	'fieldPlaceholders' => array(
		'id' => '',
		'company_id' => '',
		'branch_uuid' => '',
		'branch_code' => '',
		'branch_name' => '',
		'bir_branch_code' => '',
		'is_head_office' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>