<?php
global $runnerTableSettings;
$runnerTableSettings['tb_clientes'] = array(
	'name' => 'tb_clientes',
	'shortName' => 'tb_clientes',
	'pagesByType' => array(
		'add' => array( 
			'add' 
		),
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'edit' => array( 
			'edit' 
		),
		'view' => array( 
			'view' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'pageTypes' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'defaultPages' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'afterEditAction' => 0,
	'afterEditDetails' => 'tb_clientes',
	'afterAddAction' => 0,
	'afterAddDetail' => 'tb_clientes',
	'detailsBadgeColor' => 'edca00',
	'sql' => 'SELECT
	clienteID,
	cliente,
	empresa,
	data_cadastro,
	whats,
	email,
	ativar
FROM
	tb_clientes',
	'keyFields' => array( 
		'clienteID' 
	),
	'deviceHideFields' => array(
		'1' => array( 
			 
		),
		'5' => array( 
			 
		) 
	),
	'fields' => array(
		'clienteID' => array(
			'name' => 'clienteID',
			'goodName' => 'clienteID',
			'strField' => 'clienteID',
			'index' => 1,
			'type' => 3,
			'autoinc' => true,
			'sqlExpression' => 'clienteID',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'tb_clientes' 
		),
		'cliente' => array(
			'name' => 'cliente',
			'goodName' => 'cliente',
			'strField' => 'cliente',
			'index' => 2,
			'sqlExpression' => 'cliente',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'tb_clientes' 
		),
		'empresa' => array(
			'name' => 'empresa',
			'goodName' => 'empresa',
			'strField' => 'empresa',
			'index' => 3,
			'sqlExpression' => 'empresa',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'tb_clientes' 
		),
		'data_cadastro' => array(
			'name' => 'data_cadastro',
			'goodName' => 'data_cadastro',
			'strField' => 'data_cadastro',
			'index' => 4,
			'type' => 7,
			'sqlExpression' => 'data_cadastro',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'tb_clientes' 
		),
		'whats' => array(
			'name' => 'whats',
			'goodName' => 'whats',
			'strField' => 'whats',
			'index' => 5,
			'sqlExpression' => 'whats',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'tb_clientes' 
		),
		'email' => array(
			'name' => 'email',
			'goodName' => 'email',
			'strField' => 'email',
			'index' => 6,
			'sqlExpression' => 'email',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'tb_clientes' 
		),
		'ativar' => array(
			'name' => 'ativar',
			'goodName' => 'ativar',
			'strField' => 'ativar',
			'index' => 7,
			'type' => 3,
			'sqlExpression' => 'ativar',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Checkbox',
					'defaultValue' => '0' 
				) 
			),
			'tableName' => 'tb_clientes' 
		) 
	),
	'query' => array(
		'sql' => 'SELECT
	clienteID,
	cliente,
	empresa,
	data_cadastro,
	whats,
	email,
	ativar
FROM
	tb_clientes',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'clienteID',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'tb_clientes',
					'name' => 'clienteID' 
				),
				'encrypted' => false,
				'columnName' => 'clienteID' 
			),
			array(
				'sql' => 'cliente',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'tb_clientes',
					'name' => 'cliente' 
				),
				'encrypted' => false,
				'columnName' => 'cliente' 
			),
			array(
				'sql' => 'empresa',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'tb_clientes',
					'name' => 'empresa' 
				),
				'encrypted' => false,
				'columnName' => 'empresa' 
			),
			array(
				'sql' => 'data_cadastro',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'tb_clientes',
					'name' => 'data_cadastro' 
				),
				'encrypted' => false,
				'columnName' => 'data_cadastro' 
			),
			array(
				'sql' => 'whats',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'tb_clientes',
					'name' => 'whats' 
				),
				'encrypted' => false,
				'columnName' => 'whats' 
			),
			array(
				'sql' => 'email',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'tb_clientes',
					'name' => 'email' 
				),
				'encrypted' => false,
				'columnName' => 'email' 
			),
			array(
				'sql' => 'ativar',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'tb_clientes',
					'name' => 'ativar' 
				),
				'encrypted' => false,
				'columnName' => 'ativar' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'tb_clientes',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'tb_clientes',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'clienteID',
						'cliente',
						'empresa',
						'data_cadastro',
						'whats',
						'email',
						'ativar' 
					),
					'name' => 'tb_clientes' 
				),
				'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' => 'clienteID,
	cliente,
	empresa,
	data_cadastro,
	whats,
	email,
	ativar',
		'fromListSql' => 'FROM
	tb_clientes',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'originalTable' => 'tb_clientes',
	'originalPagesByType' => array(
		'add' => array( 
			'add' 
		),
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'edit' => array( 
			'edit' 
		),
		'view' => array( 
			'view' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'originalPageTypes' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'originalDefaultPages' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'searchSettings' => array(
		'caseSensitiveSearch' => false,
		'searchableFields' => array( 
			'clienteID',
			'cliente',
			'empresa',
			'data_cadastro',
			'whats',
			'email',
			'ativar' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'clienteID',
			'cliente',
			'empresa',
			'data_cadastro',
			'whats',
			'email',
			'ativar' 
		) 
	),
	'connId' => 'conn',
	'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['tb_clientes'] = array(
	'tableCaption' => 'Tb Clientes',
	'fieldLabels' => array(
		'clienteID' => 'Cli ID',
		'cliente' => 'Cliente',
		'empresa' => 'Empresa',
		'data_cadastro' => 'Data Cadastro',
		'whats' => 'Whats',
		'email' => 'Email',
		'ativar' => 'Ativar' 
	),
	'fieldTooltips' => array(
		'clienteID' => '',
		'cliente' => '',
		'empresa' => '',
		'data_cadastro' => '',
		'whats' => '',
		'email' => '',
		'ativar' => '' 
	),
	'fieldPlaceholders' => array(
		'clienteID' => '',
		'cliente' => '',
		'empresa' => '',
		'data_cadastro' => '',
		'whats' => '',
		'email' => '',
		'ativar' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>