<?php
global $runnerTableSettings;
$runnerTableSettings['augmentation_portal_request_approval'] = array(
	'name' => 'augmentation_portal_request_approval',
	'type' => 1,
	'shortName' => 'augmentation_portal_request1',
	'pagesByType' => array(
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'list' => array( 
			'list' 
		),
		'masterlist' => array( 
			'masterlist' 
		),
		'masterprint' => array( 
			'masterprint' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'pageTypes' => array(
		'export' => 'export',
		'import' => 'import',
		'list' => 'list',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'search' => 'search' 
	),
	'defaultPages' => array(
		'export' => 'export',
		'import' => 'import',
		'list' => 'list',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'search' => 'search' 
	),
	'afterEditDetails' => 'augmentation_portal_request_approval',
	'afterAddDetail' => 'augmentation_portal_request_approval',
	'detailsBadgeColor' => 'b22222',
	'strOrderBy' => 'ORDER BY
	portal_request_id DESC',
	'orderInfo' => array( 
		array(
			'index' => 1,
			'dir' => 'DESC',
			'field' => 'portal_request_id' 
		) 
	),
	'sql' => 'SELECT
	portal_request_id,
	portal_request_no,
	portal_user_id,
	request_date,
	region,
	province,
	requesting_office_lgu,
	disaster_type_id,
	disaster_type_other,
	purpose,
	delivery_address,
	contact_person,
	contact_number,
	status,
	verified_by,
	verified_at,
	approved_by,
	approved_at,
	disapproved_by,
	disapproved_at,
	disapproval_reason,
	imported_augmentation_request_id,
	imported_at,
	imported_by,
	remarks,
	created_at,
	updated_at,
	city_municipality,
	barangay,
	office_lgu_name
FROM
	augmentation_portal_request
	
	where 
	status =\'FOR_APPROVAL\'
ORDER BY
	portal_request_id DESC
',
	'keyFields' => array( 
		'portal_request_id' 
	),
	'deviceHideFields' => array(
		'1' => array( 
			 
		),
		'5' => array( 
			 
		) 
	),
	'fields' => array(
		'portal_request_id' => array(
			'name' => 'portal_request_id',
			'goodName' => 'portal_request_id',
			'strField' => 'portal_request_id',
			'index' => 1,
			'type' => 3,
			'autoinc' => true,
			'sqlExpression' => 'portal_request_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'augmentation_portal_request' 
		),
		'portal_request_no' => array(
			'name' => 'portal_request_no',
			'goodName' => 'portal_request_no',
			'strField' => 'portal_request_no',
			'index' => 2,
			'sqlExpression' => 'portal_request_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'augmentation_portal_request' 
		),
		'portal_user_id' => array(
			'name' => 'portal_user_id',
			'goodName' => 'portal_user_id',
			'strField' => 'portal_user_id',
			'index' => 3,
			'type' => 3,
			'sqlExpression' => 'portal_user_id',
			'viewFormats' => array(
				'view' => array(
					'viewLink' => true 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'augmentation_portal_user',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'portal_user_id',
					'lookupDisplayField' => 'full_name' 
				) 
			),
			'tableName' => 'augmentation_portal_request',
			'viewLinkTable' => 'augmentation_portal_user',
			'viewLinkLookup' => true 
		),
		'request_date' => array(
			'name' => 'request_date',
			'goodName' => 'request_date',
			'strField' => 'request_date',
			'index' => 4,
			'type' => 135,
			'sqlExpression' => 'request_date',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'augmentation_portal_request' 
		),
		'region' => array(
			'name' => 'region',
			'goodName' => 'region',
			'strField' => 'region',
			'index' => 5,
			'sqlExpression' => 'region',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'augmentation_portal_request' 
		),
		'province' => array(
			'name' => 'province',
			'goodName' => 'province',
			'strField' => 'province',
			'index' => 6,
			'sqlExpression' => 'province',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'augmentation_portal_request' 
		),
		'requesting_office_lgu' => array(
			'name' => 'requesting_office_lgu',
			'goodName' => 'requesting_office_lgu',
			'strField' => 'requesting_office_lgu',
			'index' => 7,
			'sqlExpression' => 'requesting_office_lgu',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'augmentation_portal_request' 
		),
		'disaster_type_id' => array(
			'name' => 'disaster_type_id',
			'goodName' => 'disaster_type_id',
			'strField' => 'disaster_type_id',
			'index' => 8,
			'type' => 3,
			'sqlExpression' => 'disaster_type_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupTable' => 'augmentation_disaster_type',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'disaster_type_id',
					'lookupDisplayField' => 'disaster_code' 
				) 
			),
			'tableName' => 'augmentation_portal_request' 
		),
		'disaster_type_other' => array(
			'name' => 'disaster_type_other',
			'goodName' => 'disaster_type_other',
			'strField' => 'disaster_type_other',
			'index' => 9,
			'sqlExpression' => 'disaster_type_other',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'augmentation_portal_request' 
		),
		'purpose' => array(
			'name' => 'purpose',
			'goodName' => 'purpose',
			'strField' => 'purpose',
			'index' => 10,
			'type' => 201,
			'sqlExpression' => 'purpose',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Text area' 
				) 
			),
			'tableName' => 'augmentation_portal_request' 
		),
		'delivery_address' => array(
			'name' => 'delivery_address',
			'goodName' => 'delivery_address',
			'strField' => 'delivery_address',
			'index' => 11,
			'type' => 201,
			'sqlExpression' => 'delivery_address',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Text area' 
				) 
			),
			'tableName' => 'augmentation_portal_request' 
		),
		'contact_person' => array(
			'name' => 'contact_person',
			'goodName' => 'contact_person',
			'strField' => 'contact_person',
			'index' => 12,
			'sqlExpression' => 'contact_person',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'augmentation_portal_request' 
		),
		'contact_number' => array(
			'name' => 'contact_number',
			'goodName' => 'contact_number',
			'strField' => 'contact_number',
			'index' => 13,
			'sqlExpression' => 'contact_number',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'augmentation_portal_request' 
		),
		'status' => array(
			'name' => 'status',
			'goodName' => 'status',
			'strField' => 'status',
			'index' => 14,
			'type' => 129,
			'sqlExpression' => 'status',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 0,
					'lookupValues' => array( 
						'DRAFT',
						'SUBMITTED',
						'FOR_VERIFICATION',
						'VERIFIED',
						'FOR_APPROVAL',
						'APPROVED',
						'DISAPPROVED',
						'RETURNED',
						'IMPORTED',
						'CANCELLED' 
					) 
				) 
			),
			'tableName' => 'augmentation_portal_request' 
		),
		'verified_by' => array(
			'name' => 'verified_by',
			'goodName' => 'verified_by',
			'strField' => 'verified_by',
			'index' => 15,
			'type' => 3,
			'sqlExpression' => 'verified_by',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'augmentation_portal_request' 
		),
		'verified_at' => array(
			'name' => 'verified_at',
			'goodName' => 'verified_at',
			'strField' => 'verified_at',
			'index' => 16,
			'type' => 135,
			'sqlExpression' => 'verified_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'augmentation_portal_request' 
		),
		'approved_by' => array(
			'name' => 'approved_by',
			'goodName' => 'approved_by',
			'strField' => 'approved_by',
			'index' => 17,
			'type' => 3,
			'sqlExpression' => 'approved_by',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'augmentation_portal_request' 
		),
		'approved_at' => array(
			'name' => 'approved_at',
			'goodName' => 'approved_at',
			'strField' => 'approved_at',
			'index' => 18,
			'type' => 135,
			'sqlExpression' => 'approved_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'augmentation_portal_request' 
		),
		'disapproved_by' => array(
			'name' => 'disapproved_by',
			'goodName' => 'disapproved_by',
			'strField' => 'disapproved_by',
			'index' => 19,
			'type' => 3,
			'sqlExpression' => 'disapproved_by',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'augmentation_portal_request' 
		),
		'disapproved_at' => array(
			'name' => 'disapproved_at',
			'goodName' => 'disapproved_at',
			'strField' => 'disapproved_at',
			'index' => 20,
			'type' => 135,
			'sqlExpression' => 'disapproved_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'augmentation_portal_request' 
		),
		'disapproval_reason' => array(
			'name' => 'disapproval_reason',
			'goodName' => 'disapproval_reason',
			'strField' => 'disapproval_reason',
			'index' => 21,
			'type' => 201,
			'sqlExpression' => 'disapproval_reason',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Text area' 
				) 
			),
			'tableName' => 'augmentation_portal_request' 
		),
		'imported_augmentation_request_id' => array(
			'name' => 'imported_augmentation_request_id',
			'goodName' => 'imported_augmentation_request_id',
			'strField' => 'imported_augmentation_request_id',
			'index' => 22,
			'type' => 3,
			'sqlExpression' => 'imported_augmentation_request_id',
			'viewFormats' => array(
				'view' => array(
					'viewLink' => true 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'augmentation_request',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'augmentation_request_id',
					'lookupDisplayField' => 'request_no' 
				) 
			),
			'tableName' => 'augmentation_portal_request',
			'viewLinkTable' => 'augmentation_request',
			'viewLinkLookup' => true 
		),
		'imported_at' => array(
			'name' => 'imported_at',
			'goodName' => 'imported_at',
			'strField' => 'imported_at',
			'index' => 23,
			'type' => 135,
			'sqlExpression' => 'imported_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'augmentation_portal_request' 
		),
		'imported_by' => array(
			'name' => 'imported_by',
			'goodName' => 'imported_by',
			'strField' => 'imported_by',
			'index' => 24,
			'type' => 3,
			'sqlExpression' => 'imported_by',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'augmentation_portal_request' 
		),
		'remarks' => array(
			'name' => 'remarks',
			'goodName' => 'remarks',
			'strField' => 'remarks',
			'index' => 25,
			'type' => 201,
			'sqlExpression' => 'remarks',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Text area' 
				) 
			),
			'tableName' => 'augmentation_portal_request' 
		),
		'created_at' => array(
			'name' => 'created_at',
			'goodName' => 'created_at',
			'strField' => 'created_at',
			'index' => 26,
			'type' => 135,
			'sqlExpression' => 'created_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'augmentation_portal_request' 
		),
		'updated_at' => array(
			'name' => 'updated_at',
			'goodName' => 'updated_at',
			'strField' => 'updated_at',
			'index' => 27,
			'type' => 135,
			'sqlExpression' => 'updated_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'augmentation_portal_request' 
		),
		'city_municipality' => array(
			'name' => 'city_municipality',
			'goodName' => 'city_municipality',
			'strField' => 'city_municipality',
			'index' => 28,
			'sqlExpression' => 'city_municipality',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'augmentation_portal_request' 
		),
		'barangay' => array(
			'name' => 'barangay',
			'goodName' => 'barangay',
			'strField' => 'barangay',
			'index' => 29,
			'sqlExpression' => 'barangay',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'augmentation_portal_request' 
		),
		'office_lgu_name' => array(
			'name' => 'office_lgu_name',
			'goodName' => 'office_lgu_name',
			'strField' => 'office_lgu_name',
			'index' => 30,
			'sqlExpression' => 'office_lgu_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'augmentation_portal_request' 
		) 
	),
	'detailsTables' => array( 
		'augmentation_portal_request_approval_detail',
		'augmentation_portal_request_allocation' 
	),
	'query' => array(
		'sql' => 'SELECT
	portal_request_id,
	portal_request_no,
	portal_user_id,
	request_date,
	region,
	province,
	requesting_office_lgu,
	disaster_type_id,
	disaster_type_other,
	purpose,
	delivery_address,
	contact_person,
	contact_number,
	status,
	verified_by,
	verified_at,
	approved_by,
	approved_at,
	disapproved_by,
	disapproved_at,
	disapproval_reason,
	imported_augmentation_request_id,
	imported_at,
	imported_by,
	remarks,
	created_at,
	updated_at,
	city_municipality,
	barangay,
	office_lgu_name
FROM
	augmentation_portal_request
	
	where 
	status =\'FOR_APPROVAL\'
ORDER BY
	portal_request_id DESC
',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'portal_request_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'augmentation_portal_request',
					'name' => 'portal_request_id' 
				),
				'encrypted' => false,
				'columnName' => 'portal_request_id' 
			),
			array(
				'sql' => 'portal_request_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'augmentation_portal_request',
					'name' => 'portal_request_no' 
				),
				'encrypted' => false,
				'columnName' => 'portal_request_no' 
			),
			array(
				'sql' => 'portal_user_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'augmentation_portal_request',
					'name' => 'portal_user_id' 
				),
				'encrypted' => false,
				'columnName' => 'portal_user_id' 
			),
			array(
				'sql' => 'request_date',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'augmentation_portal_request',
					'name' => 'request_date' 
				),
				'encrypted' => false,
				'columnName' => 'request_date' 
			),
			array(
				'sql' => 'region',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'augmentation_portal_request',
					'name' => 'region' 
				),
				'encrypted' => false,
				'columnName' => 'region' 
			),
			array(
				'sql' => 'province',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'augmentation_portal_request',
					'name' => 'province' 
				),
				'encrypted' => false,
				'columnName' => 'province' 
			),
			array(
				'sql' => 'requesting_office_lgu',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'augmentation_portal_request',
					'name' => 'requesting_office_lgu' 
				),
				'encrypted' => false,
				'columnName' => 'requesting_office_lgu' 
			),
			array(
				'sql' => 'disaster_type_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'augmentation_portal_request',
					'name' => 'disaster_type_id' 
				),
				'encrypted' => false,
				'columnName' => 'disaster_type_id' 
			),
			array(
				'sql' => 'disaster_type_other',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'augmentation_portal_request',
					'name' => 'disaster_type_other' 
				),
				'encrypted' => false,
				'columnName' => 'disaster_type_other' 
			),
			array(
				'sql' => 'purpose',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'augmentation_portal_request',
					'name' => 'purpose' 
				),
				'encrypted' => false,
				'columnName' => 'purpose' 
			),
			array(
				'sql' => 'delivery_address',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'augmentation_portal_request',
					'name' => 'delivery_address' 
				),
				'encrypted' => false,
				'columnName' => 'delivery_address' 
			),
			array(
				'sql' => 'contact_person',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'augmentation_portal_request',
					'name' => 'contact_person' 
				),
				'encrypted' => false,
				'columnName' => 'contact_person' 
			),
			array(
				'sql' => 'contact_number',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'augmentation_portal_request',
					'name' => 'contact_number' 
				),
				'encrypted' => false,
				'columnName' => 'contact_number' 
			),
			array(
				'sql' => 'status',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'augmentation_portal_request',
					'name' => 'status' 
				),
				'encrypted' => false,
				'columnName' => 'status' 
			),
			array(
				'sql' => 'verified_by',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'augmentation_portal_request',
					'name' => 'verified_by' 
				),
				'encrypted' => false,
				'columnName' => 'verified_by' 
			),
			array(
				'sql' => 'verified_at',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'augmentation_portal_request',
					'name' => 'verified_at' 
				),
				'encrypted' => false,
				'columnName' => 'verified_at' 
			),
			array(
				'sql' => 'approved_by',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'augmentation_portal_request',
					'name' => 'approved_by' 
				),
				'encrypted' => false,
				'columnName' => 'approved_by' 
			),
			array(
				'sql' => 'approved_at',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'augmentation_portal_request',
					'name' => 'approved_at' 
				),
				'encrypted' => false,
				'columnName' => 'approved_at' 
			),
			array(
				'sql' => 'disapproved_by',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'augmentation_portal_request',
					'name' => 'disapproved_by' 
				),
				'encrypted' => false,
				'columnName' => 'disapproved_by' 
			),
			array(
				'sql' => 'disapproved_at',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'augmentation_portal_request',
					'name' => 'disapproved_at' 
				),
				'encrypted' => false,
				'columnName' => 'disapproved_at' 
			),
			array(
				'sql' => 'disapproval_reason',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'augmentation_portal_request',
					'name' => 'disapproval_reason' 
				),
				'encrypted' => false,
				'columnName' => 'disapproval_reason' 
			),
			array(
				'sql' => 'imported_augmentation_request_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'augmentation_portal_request',
					'name' => 'imported_augmentation_request_id' 
				),
				'encrypted' => false,
				'columnName' => 'imported_augmentation_request_id' 
			),
			array(
				'sql' => 'imported_at',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'augmentation_portal_request',
					'name' => 'imported_at' 
				),
				'encrypted' => false,
				'columnName' => 'imported_at' 
			),
			array(
				'sql' => 'imported_by',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'augmentation_portal_request',
					'name' => 'imported_by' 
				),
				'encrypted' => false,
				'columnName' => 'imported_by' 
			),
			array(
				'sql' => 'remarks',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'augmentation_portal_request',
					'name' => 'remarks' 
				),
				'encrypted' => false,
				'columnName' => 'remarks' 
			),
			array(
				'sql' => 'created_at',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'augmentation_portal_request',
					'name' => 'created_at' 
				),
				'encrypted' => false,
				'columnName' => 'created_at' 
			),
			array(
				'sql' => 'updated_at',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'augmentation_portal_request',
					'name' => 'updated_at' 
				),
				'encrypted' => false,
				'columnName' => 'updated_at' 
			),
			array(
				'sql' => 'city_municipality',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'augmentation_portal_request',
					'name' => 'city_municipality' 
				),
				'encrypted' => false,
				'columnName' => 'city_municipality' 
			),
			array(
				'sql' => 'barangay',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'augmentation_portal_request',
					'name' => 'barangay' 
				),
				'encrypted' => false,
				'columnName' => 'barangay' 
			),
			array(
				'sql' => 'office_lgu_name',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'augmentation_portal_request',
					'name' => 'office_lgu_name' 
				),
				'encrypted' => false,
				'columnName' => 'office_lgu_name' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'augmentation_portal_request',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'augmentation_portal_request',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'portal_request_id',
						'portal_request_no',
						'portal_user_id',
						'request_date',
						'region_code',
						'region',
						'province_code',
						'province',
						'city_municipality',
						'city_municipality_code',
						'barangay',
						'barangay_code',
						'office_lgu_name',
						'requesting_office_lgu',
						'disaster_type_id',
						'disaster_type_other',
						'purpose',
						'delivery_address',
						'contact_person',
						'contact_number',
						'status',
						'verified_by',
						'verified_at',
						'approved_by',
						'approved_at',
						'disapproved_by',
						'disapproved_at',
						'disapproval_reason',
						'imported_augmentation_request_id',
						'imported_at',
						'imported_by',
						'remarks',
						'created_at',
						'updated_at' 
					),
					'name' => 'augmentation_portal_request' 
				),
				'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' => 'status =\'FOR_APPROVAL\'',
			'parsed' => true,
			'type' => 'LogicalExpression',
			'contained' => array( 
				 
			),
			'unionType' => 0,
			'column' => array(
				'sql' => '',
				'parsed' => true,
				'type' => 'SQLField',
				'table' => 'augmentation_portal_request',
				'name' => 'status' 
			),
			'case' => '=\'FOR_APPROVAL\'',
			'useAlias' => false 
		),
		'groupBy' => array( 
			 
		),
		'having' => array(
			'sql' => '',
			'parsed' => false,
			'type' => 'LogicalExpression',
			'contained' => array( 
				 
			),
			'unionType' => 0,
			'column' => null 
		),
		'orderBy' => array( 
			array(
				'sql' => 'portal_request_id DESC',
				'parsed' => true,
				'type' => 'OrderByListItem',
				'column' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'augmentation_portal_request',
					'name' => 'portal_request_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' => 0,
				'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 
			),
			array(
				'fieldIndex' => 22,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 23,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 24,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 25,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 26,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 27,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 28,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 29,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'portal_request_id,
	portal_request_no,
	portal_user_id,
	request_date,
	region,
	province,
	requesting_office_lgu,
	disaster_type_id,
	disaster_type_other,
	purpose,
	delivery_address,
	contact_person,
	contact_number,
	status,
	verified_by,
	verified_at,
	approved_by,
	approved_at,
	disapproved_by,
	disapproved_at,
	disapproval_reason,
	imported_augmentation_request_id,
	imported_at,
	imported_by,
	remarks,
	created_at,
	updated_at,
	city_municipality,
	barangay,
	office_lgu_name',
		'fromListSql' => 'FROM
	augmentation_portal_request',
		'whereSql' => 'status =\'FOR_APPROVAL\'',
		'orderBySql' => 'ORDER BY
	portal_request_id DESC',
		'tailSql' => '' 
	),
	'originalTable' => 'augmentation_portal_request',
	'originalPagesByType' => array(
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'list' => array( 
			'list' 
		),
		'masterlist' => array( 
			'masterlist' 
		),
		'masterprint' => array( 
			'masterprint' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'originalPageTypes' => array(
		'export' => 'export',
		'import' => 'import',
		'list' => 'list',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'search' => 'search' 
	),
	'originalDefaultPages' => array(
		'export' => 'export',
		'import' => 'import',
		'list' => 'list',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'search' => 'search' 
	),
	'searchSettings' => array(
		'caseSensitiveSearch' => false,
		'searchableFields' => array( 
			'portal_request_id',
			'portal_request_no',
			'portal_user_id',
			'request_date',
			'region',
			'province',
			'requesting_office_lgu',
			'disaster_type_id',
			'disaster_type_other',
			'purpose',
			'delivery_address',
			'contact_person',
			'contact_number',
			'status',
			'verified_by',
			'verified_at',
			'approved_by',
			'approved_at',
			'disapproved_by',
			'disapproved_at',
			'disapproval_reason',
			'imported_augmentation_request_id',
			'imported_at',
			'imported_by',
			'remarks',
			'created_at',
			'updated_at',
			'city_municipality',
			'barangay',
			'office_lgu_name' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'portal_request_id',
			'portal_request_no',
			'portal_user_id',
			'request_date',
			'region',
			'province',
			'requesting_office_lgu',
			'disaster_type_id',
			'disaster_type_other',
			'purpose',
			'delivery_address',
			'contact_person',
			'contact_number',
			'status',
			'verified_by',
			'verified_at',
			'approved_by',
			'approved_at',
			'disapproved_by',
			'disapproved_at',
			'disapproval_reason',
			'imported_augmentation_request_id',
			'imported_at',
			'imported_by',
			'remarks',
			'created_at',
			'updated_at',
			'city_municipality',
			'barangay',
			'office_lgu_name' 
		) 
	),
	'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_portal_request_approval'] = array(
	'tableCaption' => 'Augmentation Portal Request Approval',
	'fieldLabels' => array(
		'portal_request_id' => 'Portal Request Id',
		'portal_request_no' => 'Portal Request No',
		'portal_user_id' => 'Portal User Id',
		'request_date' => 'Request Date',
		'region' => 'Region',
		'province' => 'Province',
		'requesting_office_lgu' => 'Requesting Office Lgu',
		'disaster_type_id' => 'Disaster Type Id',
		'disaster_type_other' => 'Disaster Type Other',
		'purpose' => 'Purpose',
		'delivery_address' => 'Delivery Address',
		'contact_person' => 'Contact Person',
		'contact_number' => 'Contact Number',
		'status' => 'Status',
		'verified_by' => 'Verified By',
		'verified_at' => 'Verified At',
		'approved_by' => 'Approved By',
		'approved_at' => 'Approved At',
		'disapproved_by' => 'Disapproved By',
		'disapproved_at' => 'Disapproved At',
		'disapproval_reason' => 'status Remarks',
		'imported_augmentation_request_id' => 'Imported Augmentation Request Id',
		'imported_at' => 'Imported At',
		'imported_by' => 'Imported By',
		'remarks' => 'Remarks',
		'created_at' => 'Created At',
		'updated_at' => 'Updated At',
		'city_municipality' => 'City Municipality',
		'barangay' => 'Barangay',
		'office_lgu_name' => 'Office Lgu Name' 
	),
	'fieldTooltips' => array(
		'portal_request_id' => '',
		'portal_request_no' => '',
		'portal_user_id' => '',
		'request_date' => '',
		'region' => '',
		'province' => '',
		'requesting_office_lgu' => '',
		'disaster_type_id' => '',
		'disaster_type_other' => '',
		'purpose' => '',
		'delivery_address' => '',
		'contact_person' => '',
		'contact_number' => '',
		'status' => '',
		'verified_by' => '',
		'verified_at' => '',
		'approved_by' => '',
		'approved_at' => '',
		'disapproved_by' => '',
		'disapproved_at' => '',
		'disapproval_reason' => '',
		'imported_augmentation_request_id' => '',
		'imported_at' => '',
		'imported_by' => '',
		'remarks' => '',
		'created_at' => '',
		'updated_at' => '',
		'city_municipality' => '',
		'barangay' => '',
		'office_lgu_name' => '' 
	),
	'fieldPlaceholders' => array(
		'portal_request_id' => '',
		'portal_request_no' => '',
		'portal_user_id' => '',
		'request_date' => '',
		'region' => '',
		'province' => '',
		'requesting_office_lgu' => '',
		'disaster_type_id' => '',
		'disaster_type_other' => '',
		'purpose' => '',
		'delivery_address' => '',
		'contact_person' => '',
		'contact_number' => '',
		'status' => '',
		'verified_by' => '',
		'verified_at' => '',
		'approved_by' => '',
		'approved_at' => '',
		'disapproved_by' => '',
		'disapproved_at' => '',
		'disapproval_reason' => '',
		'imported_augmentation_request_id' => '',
		'imported_at' => '',
		'imported_by' => '',
		'remarks' => '',
		'created_at' => '',
		'updated_at' => '',
		'city_municipality' => '',
		'barangay' => '',
		'office_lgu_name' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>