<?php
global $runnerTableSettings;
$runnerTableSettings['donation_receiving_detail'] = array(
	'name' => 'donation_receiving_detail',
	'shortName' => 'donation_receiving_detail',
	'pagesByType' => array(
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'view' => array( 
			'view' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'pageTypes' => array(
		'export' => 'export',
		'import' => 'import',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'defaultPages' => array(
		'export' => 'export',
		'import' => 'import',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'afterEditDetails' => 'donation_receiving_detail',
	'afterAddDetail' => 'donation_receiving_detail',
	'detailsBadgeColor' => '6493ea',
	'sql' => 'SELECT
	id,
	donation_receiving_id,
	item_id,
	article,
	item_description,
	unit,
	quantity,
	unit_value,
	total_value,
	warranty_date,
	expiry_date,
	batch_no,
	serial_no,
	remarks,
	line_no,
	delivery_receipt_no,
	delivery_date,
	created_at,
	updated_at
FROM
	donation_receiving_detail',
	'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' => 'donation_receiving_detail' 
		),
		'donation_receiving_id' => array(
			'name' => 'donation_receiving_id',
			'goodName' => 'donation_receiving_id',
			'strField' => 'donation_receiving_id',
			'index' => 2,
			'type' => 3,
			'sqlExpression' => 'donation_receiving_id',
			'viewFormats' => array(
				'view' => array(
					'viewLink' => true 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'donation_receiving',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'donation_receiving_no' 
				) 
			),
			'tableName' => 'donation_receiving_detail',
			'viewLinkTable' => 'donation_receiving',
			'viewLinkLookup' => true 
		),
		'item_id' => array(
			'name' => 'item_id',
			'goodName' => 'item_id',
			'strField' => 'item_id',
			'index' => 3,
			'type' => 3,
			'sqlExpression' => 'item_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'required' => true,
					'lookupType' => 2,
					'lookupTable' => 'item',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'sku',
					'lookupAllowAdd' => true,
					'lookupControlType' => 1,
					'lookupAutofillEdit' => true,
					'lookupAutofillFields' => array( 
						array(
							'masterField' => 'item_description',
							'lookupField' => 'description' 
						),
						array(
							'masterField' => 'unit',
							'lookupField' => 'unit_id' 
						) 
					) 
				) 
			),
			'tableName' => 'donation_receiving_detail',
			'viewLinkTable' => 'item',
			'viewLinkLookup' => true 
		),
		'article' => array(
			'name' => 'article',
			'goodName' => 'article',
			'strField' => 'article',
			'index' => 4,
			'sqlExpression' => 'article',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'donation_receiving_detail' 
		),
		'item_description' => array(
			'name' => 'item_description',
			'goodName' => 'item_description',
			'strField' => 'item_description',
			'index' => 5,
			'sqlExpression' => 'item_description',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'item',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'description',
					'lookupDisplayField' => 'description',
					'lookupControlType' => 1,
					'lookupAutofillEdit' => true,
					'lookupAutofillFields' => array( 
						array(
							'masterField' => 'item_id',
							'lookupField' => 'id' 
						) 
					) 
				) 
			),
			'tableName' => 'donation_receiving_detail',
			'viewLinkTable' => 'item',
			'viewLinkLookup' => true 
		),
		'unit' => array(
			'name' => 'unit',
			'goodName' => 'unit',
			'strField' => 'unit',
			'index' => 6,
			'sqlExpression' => 'unit',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'itemunit',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'name' 
				) 
			),
			'tableName' => 'donation_receiving_detail',
			'viewLinkTable' => 'itemunit',
			'viewLinkLookup' => true 
		),
		'quantity' => array(
			'name' => 'quantity',
			'goodName' => 'quantity',
			'strField' => 'quantity',
			'index' => 7,
			'type' => 14,
			'sqlExpression' => 'quantity',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'required' => true 
				) 
			),
			'tableName' => 'donation_receiving_detail' 
		),
		'unit_value' => array(
			'name' => 'unit_value',
			'goodName' => 'unit_value',
			'strField' => 'unit_value',
			'index' => 8,
			'type' => 14,
			'sqlExpression' => 'unit_value',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'required' => true 
				) 
			),
			'tableName' => 'donation_receiving_detail' 
		),
		'total_value' => array(
			'name' => 'total_value',
			'goodName' => 'total_value',
			'strField' => 'total_value',
			'index' => 9,
			'type' => 14,
			'sqlExpression' => 'total_value',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'donation_receiving_detail' 
		),
		'warranty_date' => array(
			'name' => 'warranty_date',
			'goodName' => 'warranty_date',
			'strField' => 'warranty_date',
			'index' => 10,
			'type' => 7,
			'sqlExpression' => 'warranty_date',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'defaultValue' => 'Now()',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'donation_receiving_detail' 
		),
		'expiry_date' => array(
			'name' => 'expiry_date',
			'goodName' => 'expiry_date',
			'strField' => 'expiry_date',
			'index' => 11,
			'type' => 7,
			'sqlExpression' => 'expiry_date',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'defaultValue' => 'Now()',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'donation_receiving_detail' 
		),
		'batch_no' => array(
			'name' => 'batch_no',
			'goodName' => 'batch_no',
			'strField' => 'batch_no',
			'index' => 12,
			'sqlExpression' => 'batch_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'donation_receiving_detail' 
		),
		'serial_no' => array(
			'name' => 'serial_no',
			'goodName' => 'serial_no',
			'strField' => 'serial_no',
			'index' => 13,
			'sqlExpression' => 'serial_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'donation_receiving_detail' 
		),
		'remarks' => array(
			'name' => 'remarks',
			'goodName' => 'remarks',
			'strField' => 'remarks',
			'index' => 14,
			'sqlExpression' => 'remarks',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'donation_receiving_detail' 
		),
		'line_no' => array(
			'name' => 'line_no',
			'goodName' => 'line_no',
			'strField' => 'line_no',
			'index' => 15,
			'type' => 3,
			'sqlExpression' => 'line_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'donation_receiving_detail' 
		),
		'created_at' => array(
			'name' => 'created_at',
			'goodName' => 'created_at',
			'strField' => 'created_at',
			'index' => 18,
			'type' => 135,
			'sqlExpression' => 'created_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'donation_receiving_detail' 
		),
		'updated_at' => array(
			'name' => 'updated_at',
			'goodName' => 'updated_at',
			'strField' => 'updated_at',
			'index' => 19,
			'type' => 135,
			'sqlExpression' => 'updated_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'donation_receiving_detail' 
		),
		'delivery_receipt_no' => array(
			'name' => 'delivery_receipt_no',
			'goodName' => 'delivery_receipt_no',
			'strField' => 'delivery_receipt_no',
			'index' => 16,
			'sqlExpression' => 'delivery_receipt_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'donation_receiving_detail' 
		),
		'delivery_date' => array(
			'name' => 'delivery_date',
			'goodName' => 'delivery_date',
			'strField' => 'delivery_date',
			'index' => 17,
			'type' => 7,
			'sqlExpression' => 'delivery_date',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'donation_receiving_detail' 
		) 
	),
	'masterTables' => array( 
		array(
			'table' => 'donation_receiving',
			'detailsKeys' => array( 
				'donation_receiving_id' 
			),
			'masterKeys' => array( 
				'id' 
			) 
		) 
	),
	'query' => array(
		'sql' => 'SELECT
	id,
	donation_receiving_id,
	item_id,
	article,
	item_description,
	unit,
	quantity,
	unit_value,
	total_value,
	warranty_date,
	expiry_date,
	batch_no,
	serial_no,
	remarks,
	line_no,
	delivery_receipt_no,
	delivery_date,
	created_at,
	updated_at
FROM
	donation_receiving_detail',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'donation_receiving_detail',
					'name' => 'id' 
				),
				'encrypted' => false,
				'columnName' => 'id' 
			),
			array(
				'sql' => 'donation_receiving_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'donation_receiving_detail',
					'name' => 'donation_receiving_id' 
				),
				'encrypted' => false,
				'columnName' => 'donation_receiving_id' 
			),
			array(
				'sql' => 'item_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'donation_receiving_detail',
					'name' => 'item_id' 
				),
				'encrypted' => false,
				'columnName' => 'item_id' 
			),
			array(
				'sql' => 'article',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'donation_receiving_detail',
					'name' => 'article' 
				),
				'encrypted' => false,
				'columnName' => 'article' 
			),
			array(
				'sql' => 'item_description',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'donation_receiving_detail',
					'name' => 'item_description' 
				),
				'encrypted' => false,
				'columnName' => 'item_description' 
			),
			array(
				'sql' => 'unit',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'donation_receiving_detail',
					'name' => 'unit' 
				),
				'encrypted' => false,
				'columnName' => 'unit' 
			),
			array(
				'sql' => 'quantity',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'donation_receiving_detail',
					'name' => 'quantity' 
				),
				'encrypted' => false,
				'columnName' => 'quantity' 
			),
			array(
				'sql' => 'unit_value',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'donation_receiving_detail',
					'name' => 'unit_value' 
				),
				'encrypted' => false,
				'columnName' => 'unit_value' 
			),
			array(
				'sql' => 'total_value',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'donation_receiving_detail',
					'name' => 'total_value' 
				),
				'encrypted' => false,
				'columnName' => 'total_value' 
			),
			array(
				'sql' => 'warranty_date',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'donation_receiving_detail',
					'name' => 'warranty_date' 
				),
				'encrypted' => false,
				'columnName' => 'warranty_date' 
			),
			array(
				'sql' => 'expiry_date',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'donation_receiving_detail',
					'name' => 'expiry_date' 
				),
				'encrypted' => false,
				'columnName' => 'expiry_date' 
			),
			array(
				'sql' => 'batch_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'donation_receiving_detail',
					'name' => 'batch_no' 
				),
				'encrypted' => false,
				'columnName' => 'batch_no' 
			),
			array(
				'sql' => 'serial_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'donation_receiving_detail',
					'name' => 'serial_no' 
				),
				'encrypted' => false,
				'columnName' => 'serial_no' 
			),
			array(
				'sql' => 'remarks',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'donation_receiving_detail',
					'name' => 'remarks' 
				),
				'encrypted' => false,
				'columnName' => 'remarks' 
			),
			array(
				'sql' => 'line_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'donation_receiving_detail',
					'name' => 'line_no' 
				),
				'encrypted' => false,
				'columnName' => 'line_no' 
			),
			array(
				'sql' => 'delivery_receipt_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'donation_receiving_detail',
					'name' => 'delivery_receipt_no' 
				),
				'encrypted' => false,
				'columnName' => 'delivery_receipt_no' 
			),
			array(
				'sql' => 'delivery_date',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'donation_receiving_detail',
					'name' => 'delivery_date' 
				),
				'encrypted' => false,
				'columnName' => 'delivery_date' 
			),
			array(
				'sql' => 'created_at',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'donation_receiving_detail',
					'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' => 'donation_receiving_detail',
					'name' => 'updated_at' 
				),
				'encrypted' => false,
				'columnName' => 'updated_at' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'donation_receiving_detail',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'donation_receiving_detail',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'id',
						'donation_receiving_id',
						'item_id',
						'article',
						'item_description',
						'unit',
						'quantity',
						'unit_value',
						'total_value',
						'warranty_date',
						'expiry_date',
						'batch_no',
						'serial_no',
						'remarks',
						'line_no',
						'delivery_receipt_no',
						'delivery_date',
						'created_at',
						'updated_at' 
					),
					'name' => 'donation_receiving_detail' 
				),
				'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 
			),
			array(
				'fieldIndex' => 18,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'id,
	donation_receiving_id,
	item_id,
	article,
	item_description,
	unit,
	quantity,
	unit_value,
	total_value,
	warranty_date,
	expiry_date,
	batch_no,
	serial_no,
	remarks,
	line_no,
	delivery_receipt_no,
	delivery_date,
	created_at,
	updated_at',
		'fromListSql' => 'FROM
	donation_receiving_detail',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'hasJsEvents' => true,
	'originalTable' => 'donation_receiving_detail',
	'originalPagesByType' => array(
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'view' => array( 
			'view' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'originalPageTypes' => array(
		'export' => 'export',
		'import' => 'import',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'originalDefaultPages' => array(
		'export' => 'export',
		'import' => 'import',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'searchSettings' => array(
		'caseSensitiveSearch' => false,
		'searchableFields' => array( 
			'id',
			'donation_receiving_id',
			'item_id',
			'article',
			'item_description',
			'unit',
			'quantity',
			'unit_value',
			'total_value',
			'warranty_date',
			'expiry_date',
			'batch_no',
			'serial_no',
			'remarks',
			'line_no',
			'created_at',
			'updated_at',
			'delivery_receipt_no',
			'delivery_date' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'id',
			'donation_receiving_id',
			'item_id',
			'article',
			'item_description',
			'unit',
			'quantity',
			'unit_value',
			'total_value',
			'warranty_date',
			'expiry_date',
			'batch_no',
			'serial_no',
			'remarks',
			'line_no',
			'created_at',
			'updated_at',
			'delivery_receipt_no',
			'delivery_date' 
		) 
	),
	'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['donation_receiving_detail'] = array(
	'tableCaption' => 'Donation Receiving Detail',
	'fieldLabels' => array(
		'id' => 'ID',
		'donation_receiving_id' => 'Donation Receiving ID',
		'item_id' => 'Stock Keeping Unit (SKU)',
		'article' => 'Article(s)',
		'item_description' => 'Item Description',
		'unit' => 'Unit',
		'quantity' => 'Quantity',
		'unit_value' => 'Unit Value',
		'total_value' => 'Total Value',
		'warranty_date' => 'Warranty Date',
		'expiry_date' => 'Expiry Date',
		'batch_no' => 'Batch No.',
		'serial_no' => 'Serial No.',
		'remarks' => 'Remarks',
		'line_no' => 'Line No.',
		'created_at' => 'Created At',
		'updated_at' => 'Updated At',
		'delivery_receipt_no' => 'Delivery Receipt No',
		'delivery_date' => 'Delivery Date' 
	),
	'fieldTooltips' => array(
		'id' => '',
		'donation_receiving_id' => '',
		'item_id' => '',
		'article' => '',
		'item_description' => '',
		'unit' => '',
		'quantity' => '',
		'unit_value' => '',
		'total_value' => '',
		'warranty_date' => '',
		'expiry_date' => '',
		'batch_no' => '',
		'serial_no' => '',
		'remarks' => '',
		'line_no' => '',
		'created_at' => '',
		'updated_at' => '',
		'delivery_receipt_no' => '',
		'delivery_date' => '' 
	),
	'fieldPlaceholders' => array(
		'id' => '',
		'donation_receiving_id' => '',
		'item_id' => '',
		'article' => '',
		'item_description' => '',
		'unit' => '',
		'quantity' => '',
		'unit_value' => '',
		'total_value' => '',
		'warranty_date' => '',
		'expiry_date' => '',
		'batch_no' => '',
		'serial_no' => '',
		'remarks' => '',
		'line_no' => '',
		'created_at' => '',
		'updated_at' => '',
		'delivery_receipt_no' => '',
		'delivery_date' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>