<?php
global $runnerTableSettings;
$runnerTableSettings['raw_material_request_for_approval'] = array(
	'name' => 'raw_material_request_for_approval',
	'type' => 1,
	'shortName' => 'raw_material_request1',
	'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' => 'raw_material_request_for_approval',
	'afterAddDetail' => 'raw_material_request_for_approval',
	'detailsBadgeColor' => '3cb371',
	'sql' => 'SELECT
	id,
	"" AS `print`,
	risp_no,
	risp_date,
	production_work_order_id,
	production_plan_id,
	requesting_unit,
	receiving_warehouse_id,
	production_area,
	method_of_transfer,
	requested_by,
	approved_by,
	issued_by,
	received_by,
	status,
	remarks,
	created_at,
	updated_at
FROM
	raw_material_request
',
	'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' => 'raw_material_request' 
		),
		'risp_no' => array(
			'name' => 'risp_no',
			'goodName' => 'risp_no',
			'strField' => 'risp_no',
			'index' => 3,
			'sqlExpression' => 'risp_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'raw_material_request' 
		),
		'risp_date' => array(
			'name' => 'risp_date',
			'goodName' => 'risp_date',
			'strField' => 'risp_date',
			'index' => 4,
			'type' => 7,
			'sqlExpression' => 'risp_date',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'defaultValue' => 'Now()',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'raw_material_request' 
		),
		'production_work_order_id' => array(
			'name' => 'production_work_order_id',
			'goodName' => 'production_work_order_id',
			'strField' => 'production_work_order_id',
			'index' => 5,
			'type' => 3,
			'sqlExpression' => 'production_work_order_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'production_work_order',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'work_order_no',
					'lookupOrderBy' => 'work_order_no' 
				) 
			),
			'tableName' => 'raw_material_request',
			'viewLinkTable' => 'production_work_order',
			'viewLinkLookup' => true 
		),
		'production_plan_id' => array(
			'name' => 'production_plan_id',
			'goodName' => 'production_plan_id',
			'strField' => 'production_plan_id',
			'index' => 6,
			'type' => 3,
			'sqlExpression' => 'production_plan_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'raw_material_request' 
		),
		'requesting_unit' => array(
			'name' => 'requesting_unit',
			'goodName' => 'requesting_unit',
			'strField' => 'requesting_unit',
			'index' => 7,
			'sqlExpression' => 'requesting_unit',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'warehouse',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'reference_number' 
				) 
			),
			'tableName' => 'raw_material_request',
			'viewLinkTable' => 'warehouse',
			'viewLinkLookup' => true 
		),
		'receiving_warehouse_id' => array(
			'name' => 'receiving_warehouse_id',
			'goodName' => 'receiving_warehouse_id',
			'strField' => 'receiving_warehouse_id',
			'index' => 8,
			'type' => 3,
			'sqlExpression' => 'receiving_warehouse_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'warehouse',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'reference_number' 
				) 
			),
			'tableName' => 'raw_material_request',
			'viewLinkTable' => 'warehouse',
			'viewLinkLookup' => true 
		),
		'production_area' => array(
			'name' => 'production_area',
			'goodName' => 'production_area',
			'strField' => 'production_area',
			'index' => 9,
			'sqlExpression' => 'production_area',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'raw_material_request' 
		),
		'method_of_transfer' => array(
			'name' => 'method_of_transfer',
			'goodName' => 'method_of_transfer',
			'strField' => 'method_of_transfer',
			'index' => 10,
			'sqlExpression' => 'method_of_transfer',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'raw_material_request' 
		),
		'requested_by' => array(
			'name' => 'requested_by',
			'goodName' => 'requested_by',
			'strField' => 'requested_by',
			'index' => 11,
			'type' => 3,
			'sqlExpression' => 'requested_by',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'raw_material_request' 
		),
		'approved_by' => array(
			'name' => 'approved_by',
			'goodName' => 'approved_by',
			'strField' => 'approved_by',
			'index' => 12,
			'type' => 3,
			'sqlExpression' => 'approved_by',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'raw_material_request' 
		),
		'issued_by' => array(
			'name' => 'issued_by',
			'goodName' => 'issued_by',
			'strField' => 'issued_by',
			'index' => 13,
			'type' => 3,
			'sqlExpression' => 'issued_by',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'raw_material_request' 
		),
		'received_by' => array(
			'name' => 'received_by',
			'goodName' => 'received_by',
			'strField' => 'received_by',
			'index' => 14,
			'type' => 3,
			'sqlExpression' => 'received_by',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'raw_material_request' 
		),
		'status' => array(
			'name' => 'status',
			'goodName' => 'status',
			'strField' => 'status',
			'index' => 15,
			'sqlExpression' => 'status',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 0,
					'lookupValues' => array( 
						'Pending',
						'Approved' 
					) 
				) 
			),
			'tableName' => 'raw_material_request' 
		),
		'remarks' => array(
			'name' => 'remarks',
			'goodName' => 'remarks',
			'strField' => 'remarks',
			'index' => 16,
			'type' => 201,
			'sqlExpression' => 'remarks',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Text area' 
				) 
			),
			'tableName' => 'raw_material_request' 
		),
		'created_at' => array(
			'name' => 'created_at',
			'goodName' => 'created_at',
			'strField' => 'created_at',
			'index' => 17,
			'type' => 135,
			'sqlExpression' => 'created_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'raw_material_request' 
		),
		'updated_at' => array(
			'name' => 'updated_at',
			'goodName' => 'updated_at',
			'strField' => 'updated_at',
			'index' => 18,
			'type' => 135,
			'sqlExpression' => 'updated_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'raw_material_request' 
		),
		'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=PurchaseOrder_DSWD.rptdesign&txnid=".$data[\'id\']."&ea=".$_SESSION["ea"]."&&__dpi=96&__format=pdf&__pageoverflow=2&__overwrite=false\'>Print</a>";

}

else
{
$value ="";
}' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => '' 
		) 
	),
	'query' => array(
		'sql' => 'SELECT
	id,
	"" AS `print`,
	risp_no,
	risp_date,
	production_work_order_id,
	production_plan_id,
	requesting_unit,
	receiving_warehouse_id,
	production_area,
	method_of_transfer,
	requested_by,
	approved_by,
	issued_by,
	received_by,
	status,
	remarks,
	created_at,
	updated_at
FROM
	raw_material_request
',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'raw_material_request',
					'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' => 'risp_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'raw_material_request',
					'name' => 'risp_no' 
				),
				'encrypted' => false,
				'columnName' => 'risp_no' 
			),
			array(
				'sql' => 'risp_date',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'raw_material_request',
					'name' => 'risp_date' 
				),
				'encrypted' => false,
				'columnName' => 'risp_date' 
			),
			array(
				'sql' => 'production_work_order_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'raw_material_request',
					'name' => 'production_work_order_id' 
				),
				'encrypted' => false,
				'columnName' => 'production_work_order_id' 
			),
			array(
				'sql' => 'production_plan_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'raw_material_request',
					'name' => 'production_plan_id' 
				),
				'encrypted' => false,
				'columnName' => 'production_plan_id' 
			),
			array(
				'sql' => 'requesting_unit',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'raw_material_request',
					'name' => 'requesting_unit' 
				),
				'encrypted' => false,
				'columnName' => 'requesting_unit' 
			),
			array(
				'sql' => 'receiving_warehouse_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'raw_material_request',
					'name' => 'receiving_warehouse_id' 
				),
				'encrypted' => false,
				'columnName' => 'receiving_warehouse_id' 
			),
			array(
				'sql' => 'production_area',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'raw_material_request',
					'name' => 'production_area' 
				),
				'encrypted' => false,
				'columnName' => 'production_area' 
			),
			array(
				'sql' => 'method_of_transfer',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'raw_material_request',
					'name' => 'method_of_transfer' 
				),
				'encrypted' => false,
				'columnName' => 'method_of_transfer' 
			),
			array(
				'sql' => 'requested_by',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'raw_material_request',
					'name' => 'requested_by' 
				),
				'encrypted' => false,
				'columnName' => 'requested_by' 
			),
			array(
				'sql' => 'approved_by',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'raw_material_request',
					'name' => 'approved_by' 
				),
				'encrypted' => false,
				'columnName' => 'approved_by' 
			),
			array(
				'sql' => 'issued_by',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'raw_material_request',
					'name' => 'issued_by' 
				),
				'encrypted' => false,
				'columnName' => 'issued_by' 
			),
			array(
				'sql' => 'received_by',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'raw_material_request',
					'name' => 'received_by' 
				),
				'encrypted' => false,
				'columnName' => 'received_by' 
			),
			array(
				'sql' => 'status',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'raw_material_request',
					'name' => 'status' 
				),
				'encrypted' => false,
				'columnName' => 'status' 
			),
			array(
				'sql' => 'remarks',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'raw_material_request',
					'name' => 'remarks' 
				),
				'encrypted' => false,
				'columnName' => 'remarks' 
			),
			array(
				'sql' => 'created_at',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'raw_material_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' => 'raw_material_request',
					'name' => 'updated_at' 
				),
				'encrypted' => false,
				'columnName' => 'updated_at' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'raw_material_request',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'raw_material_request',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'id',
						'risp_no',
						'risp_date',
						'production_work_order_id',
						'production_plan_id',
						'source_type',
						'source_id',
						'source_no',
						'requesting_unit',
						'receiving_warehouse_id',
						'production_area',
						'method_of_transfer',
						'requested_by',
						'approved_by',
						'issued_by',
						'received_by',
						'status',
						'remarks',
						'created_at',
						'updated_at' 
					),
					'name' => 'raw_material_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' => '',
			'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 
			),
			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 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'id,
	"" AS `print`,
	risp_no,
	risp_date,
	production_work_order_id,
	production_plan_id,
	requesting_unit,
	receiving_warehouse_id,
	production_area,
	method_of_transfer,
	requested_by,
	approved_by,
	issued_by,
	received_by,
	status,
	remarks,
	created_at,
	updated_at',
		'fromListSql' => 'FROM
	raw_material_request',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'hasEvents' => true,
	'hasJsEvents' => true,
	'originalTable' => 'raw_material_request',
	'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',
			'risp_no',
			'risp_date',
			'production_work_order_id',
			'production_plan_id',
			'requesting_unit',
			'receiving_warehouse_id',
			'production_area',
			'method_of_transfer',
			'requested_by',
			'approved_by',
			'issued_by',
			'received_by',
			'status',
			'remarks',
			'created_at',
			'updated_at',
			'print' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'id',
			'risp_no',
			'risp_date',
			'production_work_order_id',
			'production_plan_id',
			'requesting_unit',
			'receiving_warehouse_id',
			'production_area',
			'method_of_transfer',
			'requested_by',
			'approved_by',
			'issued_by',
			'received_by',
			'status',
			'remarks',
			'created_at',
			'updated_at',
			'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['raw_material_request_for_approval'] = array(
	'tableCaption' => 'Raw Material Request For Approval',
	'fieldLabels' => array(
		'id' => 'ID',
		'risp_no' => 'RISP No.',
		'risp_date' => 'RISP Date',
		'production_work_order_id' => 'Production Work Order ID',
		'production_plan_id' => 'Production Plan ID',
		'requesting_unit' => 'Requesting Unit',
		'receiving_warehouse_id' => 'Receiving Warehouse ID',
		'production_area' => 'Production Area',
		'method_of_transfer' => 'Method of Transfer',
		'requested_by' => 'Requested by',
		'approved_by' => 'Approved by',
		'issued_by' => 'Issued by',
		'received_by' => 'Received by',
		'status' => 'Status',
		'remarks' => 'Remarks',
		'created_at' => 'Created At',
		'updated_at' => 'Updated At',
		'print' => 'Print' 
	),
	'fieldTooltips' => array(
		'id' => '',
		'risp_no' => '',
		'risp_date' => '',
		'production_work_order_id' => '',
		'production_plan_id' => '',
		'requesting_unit' => '',
		'receiving_warehouse_id' => '',
		'production_area' => '',
		'method_of_transfer' => '',
		'requested_by' => '',
		'approved_by' => '',
		'issued_by' => '',
		'received_by' => '',
		'status' => '',
		'remarks' => '',
		'created_at' => '',
		'updated_at' => '',
		'print' => '' 
	),
	'fieldPlaceholders' => array(
		'id' => '',
		'risp_no' => '',
		'risp_date' => '',
		'production_work_order_id' => '',
		'production_plan_id' => '',
		'requesting_unit' => '',
		'receiving_warehouse_id' => '',
		'production_area' => '',
		'method_of_transfer' => '',
		'requested_by' => '',
		'approved_by' => '',
		'issued_by' => '',
		'received_by' => '',
		'status' => '',
		'remarks' => '',
		'created_at' => '',
		'updated_at' => '',
		'print' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>