<?php
global $runnerTableSettings;
$runnerTableSettings['external_workforce_requisition'] = array(
	'name' => 'external_workforce_requisition',
	'shortName' => 'external_workforce_requisition',
	'pagesByType' => array(
		'add' => array( 
			'add' 
		),
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'edit' => array( 
			'edit' 
		),
		'view' => array( 
			'view' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'masterlist' => array( 
			'masterlist' 
		),
		'masterprint' => array( 
			'masterprint' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'pageTypes' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'search' => 'search' 
	),
	'defaultPages' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'search' => 'search' 
	),
	'afterEditDetails' => 'external_workforce_requisition',
	'afterAddDetail' => 'external_workforce_requisition',
	'detailsBadgeColor' => 'dc143c',
	'strOrderBy' => 'ORDER BY
	id DESC',
	'orderInfo' => array( 
		array(
			'index' => 1,
			'dir' => 'DESC',
			'field' => 'id' 
		) 
	),
	'sql' => 'SELECT
	id,
	"" AS `print`,
	requisition_no,
	request_date,
	date_accomplished,
	requested_by_employee_id,
	requested_by_name,
	section_unit,
	requested_by_signature,
	requested_by_date_signed,
	approved_by_employee_id,
	approved_by_name,
	approved_by_signature,
	approved_by_date_signed,
	received_by_employee_id,
	received_by_name,
	received_by_signature,
	received_by_date_signed,
	notes,
	status,
	createdAt,
	updatedAt
FROM
	external_workforce_requisition
ORDER BY
	id DESC
',
	'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' => 'external_workforce_requisition' 
		),
		'requisition_no' => array(
			'name' => 'requisition_no',
			'goodName' => 'requisition_no',
			'strField' => 'requisition_no',
			'index' => 3,
			'sqlExpression' => 'requisition_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'external_workforce_requisition' 
		),
		'request_date' => array(
			'name' => 'request_date',
			'goodName' => 'request_date',
			'strField' => 'request_date',
			'index' => 4,
			'type' => 7,
			'sqlExpression' => 'request_date',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'defaultValue' => 'Now()',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'external_workforce_requisition' 
		),
		'date_accomplished' => array(
			'name' => 'date_accomplished',
			'goodName' => 'date_accomplished',
			'strField' => 'date_accomplished',
			'index' => 5,
			'type' => 7,
			'sqlExpression' => 'date_accomplished',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'defaultValue' => 'Now()',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'external_workforce_requisition' 
		),
		'requested_by_employee_id' => array(
			'name' => 'requested_by_employee_id',
			'goodName' => 'requested_by_employee_id',
			'strField' => 'requested_by_employee_id',
			'index' => 6,
			'type' => 3,
			'sqlExpression' => 'requested_by_employee_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'external_workforce_requisition' 
		),
		'requested_by_name' => array(
			'name' => 'requested_by_name',
			'goodName' => 'requested_by_name',
			'strField' => 'requested_by_name',
			'index' => 7,
			'sqlExpression' => 'requested_by_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'external_workforce_requisition' 
		),
		'section_unit' => array(
			'name' => 'section_unit',
			'goodName' => 'section_unit',
			'strField' => 'section_unit',
			'index' => 8,
			'sqlExpression' => 'section_unit',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'section_lookup',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'name',
					'lookupAllowAdd' => true 
				) 
			),
			'tableName' => 'external_workforce_requisition' 
		),
		'requested_by_signature' => array(
			'name' => 'requested_by_signature',
			'goodName' => 'requested_by_signature',
			'strField' => 'requested_by_signature',
			'index' => 9,
			'sqlExpression' => 'requested_by_signature',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'external_workforce_requisition' 
		),
		'requested_by_date_signed' => array(
			'name' => 'requested_by_date_signed',
			'goodName' => 'requested_by_date_signed',
			'strField' => 'requested_by_date_signed',
			'index' => 10,
			'type' => 7,
			'sqlExpression' => 'requested_by_date_signed',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'defaultValue' => 'Now()',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'external_workforce_requisition' 
		),
		'approved_by_employee_id' => array(
			'name' => 'approved_by_employee_id',
			'goodName' => 'approved_by_employee_id',
			'strField' => 'approved_by_employee_id',
			'index' => 11,
			'type' => 3,
			'sqlExpression' => 'approved_by_employee_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'external_workforce_requisition' 
		),
		'approved_by_name' => array(
			'name' => 'approved_by_name',
			'goodName' => 'approved_by_name',
			'strField' => 'approved_by_name',
			'index' => 12,
			'sqlExpression' => 'approved_by_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'external_workforce_requisition' 
		),
		'approved_by_signature' => array(
			'name' => 'approved_by_signature',
			'goodName' => 'approved_by_signature',
			'strField' => 'approved_by_signature',
			'index' => 13,
			'sqlExpression' => 'approved_by_signature',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'external_workforce_requisition' 
		),
		'approved_by_date_signed' => array(
			'name' => 'approved_by_date_signed',
			'goodName' => 'approved_by_date_signed',
			'strField' => 'approved_by_date_signed',
			'index' => 14,
			'type' => 7,
			'sqlExpression' => 'approved_by_date_signed',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'defaultValue' => 'Now()',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'external_workforce_requisition' 
		),
		'received_by_employee_id' => array(
			'name' => 'received_by_employee_id',
			'goodName' => 'received_by_employee_id',
			'strField' => 'received_by_employee_id',
			'index' => 15,
			'type' => 3,
			'sqlExpression' => 'received_by_employee_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'external_workforce_requisition' 
		),
		'received_by_name' => array(
			'name' => 'received_by_name',
			'goodName' => 'received_by_name',
			'strField' => 'received_by_name',
			'index' => 16,
			'sqlExpression' => 'received_by_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'external_workforce_requisition' 
		),
		'received_by_signature' => array(
			'name' => 'received_by_signature',
			'goodName' => 'received_by_signature',
			'strField' => 'received_by_signature',
			'index' => 17,
			'sqlExpression' => 'received_by_signature',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'external_workforce_requisition' 
		),
		'received_by_date_signed' => array(
			'name' => 'received_by_date_signed',
			'goodName' => 'received_by_date_signed',
			'strField' => 'received_by_date_signed',
			'index' => 18,
			'type' => 7,
			'sqlExpression' => 'received_by_date_signed',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'defaultValue' => 'Now()',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'external_workforce_requisition' 
		),
		'notes' => array(
			'name' => 'notes',
			'goodName' => 'notes',
			'strField' => 'notes',
			'index' => 19,
			'type' => 201,
			'sqlExpression' => 'notes',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Text area' 
				) 
			),
			'tableName' => 'external_workforce_requisition' 
		),
		'status' => array(
			'name' => 'status',
			'goodName' => 'status',
			'strField' => 'status',
			'index' => 20,
			'type' => 129,
			'sqlExpression' => 'status',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 0,
					'lookupValues' => array( 
						'DRAFT',
						'FOR_APPROVAL',
						'APPROVED',
						'RECEIVED',
						'CANCELLED' 
					) 
				) 
			),
			'tableName' => 'external_workforce_requisition' 
		),
		'createdAt' => array(
			'name' => 'createdAt',
			'goodName' => 'createdAt',
			'strField' => 'createdAt',
			'index' => 21,
			'type' => 135,
			'sqlExpression' => 'createdAt',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'external_workforce_requisition' 
		),
		'updatedAt' => array(
			'name' => 'updatedAt',
			'goodName' => 'updatedAt',
			'strField' => 'updatedAt',
			'index' => 22,
			'type' => 135,
			'sqlExpression' => 'updatedAt',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'external_workforce_requisition' 
		),
		'print' => array(
			'name' => 'print',
			'goodName' => 'print',
			'strField' => 'print',
			'index' => 2,
			'sqlExpression' => '""',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Custom',
					'customExpression' => 'if($data[\'status\'] =="Approved"){

$value = "<a href=\'" . $_SESSION["path"] . "frameset?__report=EWRF_DSWD.rptdesig &txnid=".$data[\'id\']."&ea=".$_SESSION["ea"]."&&__dpi=96&__format=pdf&__pageoverflow=2&__overwrite=false\'>Print</a>";

}

else
{
$value ="";
}' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => '' 
		) 
	),
	'detailsTables' => array( 
		'external_workforce_requisition_detail' 
	),
	'query' => array(
		'sql' => 'SELECT
	id,
	"" AS `print`,
	requisition_no,
	request_date,
	date_accomplished,
	requested_by_employee_id,
	requested_by_name,
	section_unit,
	requested_by_signature,
	requested_by_date_signed,
	approved_by_employee_id,
	approved_by_name,
	approved_by_signature,
	approved_by_date_signed,
	received_by_employee_id,
	received_by_name,
	received_by_signature,
	received_by_date_signed,
	notes,
	status,
	createdAt,
	updatedAt
FROM
	external_workforce_requisition
ORDER BY
	id DESC
',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'external_workforce_requisition',
					'name' => 'id' 
				),
				'encrypted' => false,
				'columnName' => 'id' 
			),
			array(
				'sql' => '""',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => 'print',
				'expression' => array(
					'sql' => '""',
					'parsed' => true,
					'type' => 'NonParsedEntity' 
				),
				'encrypted' => false,
				'columnName' => 'print' 
			),
			array(
				'sql' => 'requisition_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'external_workforce_requisition',
					'name' => 'requisition_no' 
				),
				'encrypted' => false,
				'columnName' => 'requisition_no' 
			),
			array(
				'sql' => 'request_date',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'external_workforce_requisition',
					'name' => 'request_date' 
				),
				'encrypted' => false,
				'columnName' => 'request_date' 
			),
			array(
				'sql' => 'date_accomplished',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'external_workforce_requisition',
					'name' => 'date_accomplished' 
				),
				'encrypted' => false,
				'columnName' => 'date_accomplished' 
			),
			array(
				'sql' => 'requested_by_employee_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'external_workforce_requisition',
					'name' => 'requested_by_employee_id' 
				),
				'encrypted' => false,
				'columnName' => 'requested_by_employee_id' 
			),
			array(
				'sql' => 'requested_by_name',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'external_workforce_requisition',
					'name' => 'requested_by_name' 
				),
				'encrypted' => false,
				'columnName' => 'requested_by_name' 
			),
			array(
				'sql' => 'section_unit',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'external_workforce_requisition',
					'name' => 'section_unit' 
				),
				'encrypted' => false,
				'columnName' => 'section_unit' 
			),
			array(
				'sql' => 'requested_by_signature',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'external_workforce_requisition',
					'name' => 'requested_by_signature' 
				),
				'encrypted' => false,
				'columnName' => 'requested_by_signature' 
			),
			array(
				'sql' => 'requested_by_date_signed',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'external_workforce_requisition',
					'name' => 'requested_by_date_signed' 
				),
				'encrypted' => false,
				'columnName' => 'requested_by_date_signed' 
			),
			array(
				'sql' => 'approved_by_employee_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'external_workforce_requisition',
					'name' => 'approved_by_employee_id' 
				),
				'encrypted' => false,
				'columnName' => 'approved_by_employee_id' 
			),
			array(
				'sql' => 'approved_by_name',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'external_workforce_requisition',
					'name' => 'approved_by_name' 
				),
				'encrypted' => false,
				'columnName' => 'approved_by_name' 
			),
			array(
				'sql' => 'approved_by_signature',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'external_workforce_requisition',
					'name' => 'approved_by_signature' 
				),
				'encrypted' => false,
				'columnName' => 'approved_by_signature' 
			),
			array(
				'sql' => 'approved_by_date_signed',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'external_workforce_requisition',
					'name' => 'approved_by_date_signed' 
				),
				'encrypted' => false,
				'columnName' => 'approved_by_date_signed' 
			),
			array(
				'sql' => 'received_by_employee_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'external_workforce_requisition',
					'name' => 'received_by_employee_id' 
				),
				'encrypted' => false,
				'columnName' => 'received_by_employee_id' 
			),
			array(
				'sql' => 'received_by_name',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'external_workforce_requisition',
					'name' => 'received_by_name' 
				),
				'encrypted' => false,
				'columnName' => 'received_by_name' 
			),
			array(
				'sql' => 'received_by_signature',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'external_workforce_requisition',
					'name' => 'received_by_signature' 
				),
				'encrypted' => false,
				'columnName' => 'received_by_signature' 
			),
			array(
				'sql' => 'received_by_date_signed',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'external_workforce_requisition',
					'name' => 'received_by_date_signed' 
				),
				'encrypted' => false,
				'columnName' => 'received_by_date_signed' 
			),
			array(
				'sql' => 'notes',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'external_workforce_requisition',
					'name' => 'notes' 
				),
				'encrypted' => false,
				'columnName' => 'notes' 
			),
			array(
				'sql' => 'status',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'external_workforce_requisition',
					'name' => 'status' 
				),
				'encrypted' => false,
				'columnName' => 'status' 
			),
			array(
				'sql' => 'createdAt',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'external_workforce_requisition',
					'name' => 'createdAt' 
				),
				'encrypted' => false,
				'columnName' => 'createdAt' 
			),
			array(
				'sql' => 'updatedAt',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'external_workforce_requisition',
					'name' => 'updatedAt' 
				),
				'encrypted' => false,
				'columnName' => 'updatedAt' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'external_workforce_requisition',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'external_workforce_requisition',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'id',
						'requisition_no',
						'request_date',
						'date_accomplished',
						'requested_by_employee_id',
						'requested_by_name',
						'section_unit',
						'requested_by_signature',
						'requested_by_date_signed',
						'approved_by_employee_id',
						'approved_by_name',
						'approved_by_signature',
						'approved_by_date_signed',
						'received_by_employee_id',
						'received_by_name',
						'received_by_signature',
						'received_by_date_signed',
						'notes',
						'status',
						'createdAt',
						'updatedAt' 
					),
					'name' => 'external_workforce_requisition' 
				),
				'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( 
			array(
				'sql' => 'id DESC',
				'parsed' => true,
				'type' => 'OrderByListItem',
				'column' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'external_workforce_requisition',
					'name' => 'id' 
				),
				'asc' => false,
				'columnNumber' => 1 
			) 
		),
		'colsIndex' => array( 
			array(
				'fieldIndex' => 0,
				'orderByIndex' => 0,
				'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 
			),
			array(
				'fieldIndex' => 7,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 8,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 9,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 10,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 11,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 12,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 13,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 14,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 15,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 16,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 17,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 18,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 19,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 20,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 21,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'id,
	"" AS `print`,
	requisition_no,
	request_date,
	date_accomplished,
	requested_by_employee_id,
	requested_by_name,
	section_unit,
	requested_by_signature,
	requested_by_date_signed,
	approved_by_employee_id,
	approved_by_name,
	approved_by_signature,
	approved_by_date_signed,
	received_by_employee_id,
	received_by_name,
	received_by_signature,
	received_by_date_signed,
	notes,
	status,
	createdAt,
	updatedAt',
		'fromListSql' => 'FROM
	external_workforce_requisition',
		'orderBySql' => 'ORDER BY
	id DESC',
		'tailSql' => '' 
	),
	'hasEvents' => true,
	'hasJsEvents' => true,
	'originalTable' => 'external_workforce_requisition',
	'originalPagesByType' => array(
		'add' => array( 
			'add' 
		),
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'edit' => array( 
			'edit' 
		),
		'view' => array( 
			'view' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'masterlist' => array( 
			'masterlist' 
		),
		'masterprint' => array( 
			'masterprint' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'originalPageTypes' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'search' => 'search' 
	),
	'originalDefaultPages' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'search' => 'search' 
	),
	'searchSettings' => array(
		'caseSensitiveSearch' => false,
		'searchableFields' => array( 
			'id',
			'requisition_no',
			'request_date',
			'date_accomplished',
			'requested_by_employee_id',
			'requested_by_name',
			'section_unit',
			'requested_by_signature',
			'requested_by_date_signed',
			'approved_by_employee_id',
			'approved_by_name',
			'approved_by_signature',
			'approved_by_date_signed',
			'received_by_employee_id',
			'received_by_name',
			'received_by_signature',
			'received_by_date_signed',
			'notes',
			'status',
			'createdAt',
			'updatedAt',
			'print' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'id',
			'requisition_no',
			'request_date',
			'date_accomplished',
			'requested_by_employee_id',
			'requested_by_name',
			'section_unit',
			'requested_by_signature',
			'requested_by_date_signed',
			'approved_by_employee_id',
			'approved_by_name',
			'approved_by_signature',
			'approved_by_date_signed',
			'received_by_employee_id',
			'received_by_name',
			'received_by_signature',
			'received_by_date_signed',
			'notes',
			'status',
			'createdAt',
			'updatedAt',
			'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['external_workforce_requisition'] = array(
	'tableCaption' => 'External Workforce Requisition',
	'fieldLabels' => array(
		'id' => 'ID',
		'requisition_no' => 'Requisition No.',
		'request_date' => 'Request Date',
		'date_accomplished' => 'Date ',
		'requested_by_employee_id' => 'Requested By Employee ID',
		'requested_by_name' => 'Requested By Name',
		'section_unit' => 'Section Unit',
		'requested_by_signature' => 'Requested by Signature',
		'requested_by_date_signed' => 'Requested by Date Signed',
		'approved_by_employee_id' => 'Approved by Employee ID',
		'approved_by_name' => 'Approved by Name',
		'approved_by_signature' => 'Approved by Signature',
		'approved_by_date_signed' => 'Approved by Date Signed',
		'received_by_employee_id' => 'Received by Employee ID',
		'received_by_name' => 'Received by Name',
		'received_by_signature' => 'Received by Signature',
		'received_by_date_signed' => 'Received by Date Signed',
		'notes' => 'Notes',
		'status' => 'Status',
		'createdAt' => 'Created At',
		'updatedAt' => 'Updated At',
		'print' => 'Print' 
	),
	'fieldTooltips' => array(
		'id' => '',
		'requisition_no' => '',
		'request_date' => '',
		'date_accomplished' => '',
		'requested_by_employee_id' => '',
		'requested_by_name' => '',
		'section_unit' => '',
		'requested_by_signature' => '',
		'requested_by_date_signed' => '',
		'approved_by_employee_id' => '',
		'approved_by_name' => '',
		'approved_by_signature' => '',
		'approved_by_date_signed' => '',
		'received_by_employee_id' => '',
		'received_by_name' => '',
		'received_by_signature' => '',
		'received_by_date_signed' => '',
		'notes' => '',
		'status' => '',
		'createdAt' => '',
		'updatedAt' => '',
		'print' => '' 
	),
	'fieldPlaceholders' => array(
		'id' => '',
		'requisition_no' => '',
		'request_date' => '',
		'date_accomplished' => '',
		'requested_by_employee_id' => '',
		'requested_by_name' => '',
		'section_unit' => '',
		'requested_by_signature' => '',
		'requested_by_date_signed' => '',
		'approved_by_employee_id' => '',
		'approved_by_name' => '',
		'approved_by_signature' => '',
		'approved_by_date_signed' => '',
		'received_by_employee_id' => '',
		'received_by_name' => '',
		'received_by_signature' => '',
		'received_by_date_signed' => '',
		'notes' => 'To be filled-up by the Capacity Development Section Volunteer Management Unit',
		'status' => '',
		'createdAt' => '',
		'updatedAt' => '',
		'print' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>