<?php
global $runnerTableSettings;
$runnerTableSettings['augmentation_reports'] = array(
	'name' => 'augmentation_reports',
	'type' => 1,
	'shortName' => 'report_center4',
	'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' 
	),
	'afterEditDetails' => 'augmentation_reports',
	'afterAddDetail' => 'augmentation_reports',
	'detailsBadgeColor' => '3cb371',
	'sql' => 'SELECT
	id,
	report_name,
	filename,
	"" print
FROM
	report_center
WHERE 
    `grouping` = \'Augmentation\'',
	'keyFields' => array( 
		'id' 
	),
	'deviceHideFields' => array(
		'1' => array( 
			 
		),
		'5' => array( 
			 
		) 
	),
	'fields' => array(
		'id' => array(
			'name' => 'id',
			'goodName' => 'id',
			'strField' => 'id',
			'index' => 1,
			'type' => 3,
			'autoinc' => true,
			'sqlExpression' => 'id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'report_center' 
		),
		'report_name' => array(
			'name' => 'report_name',
			'goodName' => 'report_name',
			'strField' => 'report_name',
			'index' => 2,
			'sqlExpression' => 'report_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'report_center' 
		),
		'filename' => array(
			'name' => 'filename',
			'goodName' => 'filename',
			'strField' => 'filename',
			'index' => 3,
			'sqlExpression' => 'filename',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'report_center' 
		),
		'print' => array(
			'name' => 'print',
			'goodName' => 'print',
			'strField' => 'print',
			'index' => 4,
			'sqlExpression' => '""',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Custom',
					'customExpression' => '$value =
    "<a target=\'_blank\' href=\'" .
    $_SESSION["path"] .
    "frameset?__report=" . rawurlencode($data["filename"]) .
    "&ea=" . rawurlencode($_SESSION["ea"]) .
    "&__dpi=96" .
    "&__format=pdf" .
    "&__pageoverflow=2" .
    "&__overwrite=false\'>" .
    "Open Report" .
    "</a>";' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => '' 
		) 
	),
	'query' => array(
		'sql' => 'SELECT
	id,
	report_name,
	filename,
	"" print
FROM
	report_center
WHERE 
    `grouping` = \'Augmentation\'',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'report_center',
					'name' => 'id' 
				),
				'encrypted' => false,
				'columnName' => 'id' 
			),
			array(
				'sql' => 'report_name',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'report_center',
					'name' => 'report_name' 
				),
				'encrypted' => false,
				'columnName' => 'report_name' 
			),
			array(
				'sql' => 'filename',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'report_center',
					'name' => 'filename' 
				),
				'encrypted' => false,
				'columnName' => 'filename' 
			),
			array(
				'sql' => '""',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => 'print',
				'expression' => array(
					'sql' => '""',
					'parsed' => true,
					'type' => 'NonParsedEntity' 
				),
				'encrypted' => false,
				'columnName' => 'print' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'report_center',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'report_center',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'id',
						'report_name',
						'filename',
						'grouping' 
					),
					'name' => 'report_center' 
				),
				'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' => '`grouping` = \'Augmentation\'',
			'parsed' => true,
			'type' => 'LogicalExpression',
			'contained' => array( 
				 
			),
			'unionType' => 0,
			'column' => array(
				'sql' => '',
				'parsed' => true,
				'type' => 'SQLField',
				'table' => 'report_center',
				'name' => 'grouping' 
			),
			'case' => '= \'Augmentation\'',
			'useAlias' => false 
		),
		'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' => -1,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => 0,
				'havingIndex' => -1 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'id,
	report_name,
	filename,
	"" print',
		'fromListSql' => 'FROM
	report_center',
		'whereSql' => '`grouping` = \'Augmentation\'',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'originalTable' => 'report_center',
	'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( 
			'id',
			'report_name',
			'filename',
			'print' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'id',
			'report_name',
			'filename',
			'print' 
		) 
	),
	'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['augmentation_reports'] = array(
	'tableCaption' => 'Augmentation Reports',
	'fieldLabels' => array(
		'id' => 'ID',
		'report_name' => 'Report Name',
		'filename' => 'File Name',
		'print' => 'Print' 
	),
	'fieldTooltips' => array(
		'id' => '',
		'report_name' => '',
		'filename' => '',
		'print' => '' 
	),
	'fieldPlaceholders' => array(
		'id' => '',
		'report_name' => '',
		'filename' => '',
		'print' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>