<?php
global $runnerTableSettings;
$runnerTableSettings['customer_payment'] = array(
	'name' => 'customer_payment',
	'shortName' => 'customer_payment',
	'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' => 'customer_payment',
	'afterAddDetail' => 'customer_payment',
	'detailsBadgeColor' => '1e90ff',
	'sql' => 'SELECT
	id,
	customer_payment_uuid,
	company_id,
	branch_id,
	accounting_period_id,
	receipt_no,
	payment_date,
	customer_id,
	currency_code,
	exchange_rate,
	payment_method_id,
	bank_account_id,
	reference_no,
	gross_amount,
	withholding_amount,
	bank_charge_amount,
	net_received_amount,
	applied_amount,
	unapplied_amount,
	approval_status,
	document_status,
	posting_status,
	remarks,
	created_by_platform_user_id,
	approved_by_platform_user_id,
	posted_by_platform_user_id,
	created_at,
	approved_at,
	posted_at
FROM
	customer_payment',
	'keyFields' => array( 
		'id' 
	),
	'deviceHideFields' => array(
		'1' => array( 
			 
		),
		'5' => array( 
			 
		) 
	),
	'fields' => array(
		'id' => array(
			'name' => 'id',
			'goodName' => 'id',
			'strField' => 'id',
			'index' => 1,
			'type' => 20,
			'autoinc' => true,
			'sqlExpression' => 'id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'customer_payment' 
		),
		'customer_payment_uuid' => array(
			'name' => 'customer_payment_uuid',
			'goodName' => 'customer_payment_uuid',
			'strField' => 'customer_payment_uuid',
			'index' => 2,
			'sqlExpression' => 'customer_payment_uuid',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'customer_payment' 
		),
		'company_id' => array(
			'name' => 'company_id',
			'goodName' => 'company_id',
			'strField' => 'company_id',
			'index' => 3,
			'type' => 20,
			'sqlExpression' => 'company_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'customer_payment' 
		),
		'branch_id' => array(
			'name' => 'branch_id',
			'goodName' => 'branch_id',
			'strField' => 'branch_id',
			'index' => 4,
			'type' => 20,
			'sqlExpression' => 'branch_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'branch',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'branch_name',
					'lookupOrderBy' => 'branch_name',
					'lookupAutofillEdit' => true 
				) 
			),
			'tableName' => 'customer_payment',
			'viewLinkTable' => 'branch',
			'viewLinkLookup' => true 
		),
		'accounting_period_id' => array(
			'name' => 'accounting_period_id',
			'goodName' => 'accounting_period_id',
			'strField' => 'accounting_period_id',
			'index' => 5,
			'type' => 20,
			'sqlExpression' => 'accounting_period_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'customer_payment' 
		),
		'receipt_no' => array(
			'name' => 'receipt_no',
			'goodName' => 'receipt_no',
			'strField' => 'receipt_no',
			'index' => 6,
			'sqlExpression' => 'receipt_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'customer_payment' 
		),
		'payment_date' => array(
			'name' => 'payment_date',
			'goodName' => 'payment_date',
			'strField' => 'payment_date',
			'index' => 7,
			'type' => 7,
			'sqlExpression' => 'payment_date',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'customer_payment' 
		),
		'customer_id' => array(
			'name' => 'customer_id',
			'goodName' => 'customer_id',
			'strField' => 'customer_id',
			'index' => 8,
			'type' => 20,
			'sqlExpression' => 'customer_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'customer',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'registered_name',
					'lookupOrderBy' => 'registered_name',
					'lookupAutofillEdit' => true,
					'lookupAutofillFields' => array( 
						array(
							'masterField' => 'currency_code',
							'lookupField' => 'default_currency_code' 
						) 
					) 
				) 
			),
			'tableName' => 'customer_payment',
			'viewLinkTable' => 'customer',
			'viewLinkLookup' => true 
		),
		'currency_code' => array(
			'name' => 'currency_code',
			'goodName' => 'currency_code',
			'strField' => 'currency_code',
			'index' => 9,
			'sqlExpression' => 'currency_code',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupTable' => 'currency',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'currency_code',
					'lookupDisplayField' => 'currency_code',
					'lookupOrderBy' => 'currency_code' 
				) 
			),
			'tableName' => 'customer_payment' 
		),
		'exchange_rate' => array(
			'name' => 'exchange_rate',
			'goodName' => 'exchange_rate',
			'strField' => 'exchange_rate',
			'index' => 10,
			'type' => 14,
			'sqlExpression' => 'exchange_rate',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'customer_payment' 
		),
		'payment_method_id' => array(
			'name' => 'payment_method_id',
			'goodName' => 'payment_method_id',
			'strField' => 'payment_method_id',
			'index' => 11,
			'type' => 20,
			'sqlExpression' => 'payment_method_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'payment_method',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'method_name',
					'lookupOrderBy' => 'method_name',
					'lookupWhere' => 'status = \'ACTIVE\'' 
				) 
			),
			'tableName' => 'customer_payment',
			'viewLinkTable' => 'payment_method',
			'viewLinkLookup' => true 
		),
		'bank_account_id' => array(
			'name' => 'bank_account_id',
			'goodName' => 'bank_account_id',
			'strField' => 'bank_account_id',
			'index' => 12,
			'type' => 20,
			'sqlExpression' => 'bank_account_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'bank_account',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'account_name',
					'lookupOrderBy' => 'account_name',
					'lookupWhere' => 'status = \'ACTIVE\'' 
				) 
			),
			'tableName' => 'customer_payment',
			'viewLinkTable' => 'bank_account',
			'viewLinkLookup' => true 
		),
		'reference_no' => array(
			'name' => 'reference_no',
			'goodName' => 'reference_no',
			'strField' => 'reference_no',
			'index' => 13,
			'sqlExpression' => 'reference_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'customer_payment' 
		),
		'gross_amount' => array(
			'name' => 'gross_amount',
			'goodName' => 'gross_amount',
			'strField' => 'gross_amount',
			'index' => 14,
			'type' => 14,
			'sqlExpression' => 'gross_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'customer_payment' 
		),
		'withholding_amount' => array(
			'name' => 'withholding_amount',
			'goodName' => 'withholding_amount',
			'strField' => 'withholding_amount',
			'index' => 15,
			'type' => 14,
			'sqlExpression' => 'withholding_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Readonly',
					'defaultValue' => '0' 
				) 
			),
			'tableName' => 'customer_payment' 
		),
		'bank_charge_amount' => array(
			'name' => 'bank_charge_amount',
			'goodName' => 'bank_charge_amount',
			'strField' => 'bank_charge_amount',
			'index' => 16,
			'type' => 14,
			'sqlExpression' => 'bank_charge_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'defaultValue' => '0' 
				) 
			),
			'tableName' => 'customer_payment' 
		),
		'net_received_amount' => array(
			'name' => 'net_received_amount',
			'goodName' => 'net_received_amount',
			'strField' => 'net_received_amount',
			'index' => 17,
			'type' => 14,
			'sqlExpression' => 'net_received_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Readonly',
					'defaultValue' => '0' 
				) 
			),
			'tableName' => 'customer_payment' 
		),
		'applied_amount' => array(
			'name' => 'applied_amount',
			'goodName' => 'applied_amount',
			'strField' => 'applied_amount',
			'index' => 18,
			'type' => 14,
			'sqlExpression' => 'applied_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Readonly',
					'defaultValue' => '0' 
				) 
			),
			'tableName' => 'customer_payment' 
		),
		'unapplied_amount' => array(
			'name' => 'unapplied_amount',
			'goodName' => 'unapplied_amount',
			'strField' => 'unapplied_amount',
			'index' => 19,
			'type' => 14,
			'sqlExpression' => 'unapplied_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Readonly',
					'defaultValue' => '0' 
				) 
			),
			'tableName' => 'customer_payment' 
		),
		'approval_status' => array(
			'name' => 'approval_status',
			'goodName' => 'approval_status',
			'strField' => 'approval_status',
			'index' => 20,
			'sqlExpression' => 'approval_status',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'customer_payment' 
		),
		'document_status' => array(
			'name' => 'document_status',
			'goodName' => 'document_status',
			'strField' => 'document_status',
			'index' => 21,
			'sqlExpression' => 'document_status',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'customer_payment' 
		),
		'posting_status' => array(
			'name' => 'posting_status',
			'goodName' => 'posting_status',
			'strField' => 'posting_status',
			'index' => 22,
			'sqlExpression' => 'posting_status',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'customer_payment' 
		),
		'remarks' => array(
			'name' => 'remarks',
			'goodName' => 'remarks',
			'strField' => 'remarks',
			'index' => 23,
			'type' => 201,
			'sqlExpression' => 'remarks',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Text area' 
				) 
			),
			'tableName' => 'customer_payment' 
		),
		'created_by_platform_user_id' => array(
			'name' => 'created_by_platform_user_id',
			'goodName' => 'created_by_platform_user_id',
			'strField' => 'created_by_platform_user_id',
			'index' => 24,
			'type' => 20,
			'sqlExpression' => 'created_by_platform_user_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'customer_payment' 
		),
		'approved_by_platform_user_id' => array(
			'name' => 'approved_by_platform_user_id',
			'goodName' => 'approved_by_platform_user_id',
			'strField' => 'approved_by_platform_user_id',
			'index' => 25,
			'type' => 20,
			'sqlExpression' => 'approved_by_platform_user_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'customer_payment' 
		),
		'posted_by_platform_user_id' => array(
			'name' => 'posted_by_platform_user_id',
			'goodName' => 'posted_by_platform_user_id',
			'strField' => 'posted_by_platform_user_id',
			'index' => 26,
			'type' => 20,
			'sqlExpression' => 'posted_by_platform_user_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'customer_payment' 
		),
		'created_at' => array(
			'name' => 'created_at',
			'goodName' => 'created_at',
			'strField' => 'created_at',
			'index' => 27,
			'type' => 135,
			'sqlExpression' => 'created_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'customer_payment' 
		),
		'approved_at' => array(
			'name' => 'approved_at',
			'goodName' => 'approved_at',
			'strField' => 'approved_at',
			'index' => 28,
			'type' => 135,
			'sqlExpression' => 'approved_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'customer_payment' 
		),
		'posted_at' => array(
			'name' => 'posted_at',
			'goodName' => 'posted_at',
			'strField' => 'posted_at',
			'index' => 29,
			'type' => 135,
			'sqlExpression' => 'posted_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'customer_payment' 
		) 
	),
	'detailsTables' => array( 
		'customer_payment_application' 
	),
	'query' => array(
		'sql' => 'SELECT
	id,
	customer_payment_uuid,
	company_id,
	branch_id,
	accounting_period_id,
	receipt_no,
	payment_date,
	customer_id,
	currency_code,
	exchange_rate,
	payment_method_id,
	bank_account_id,
	reference_no,
	gross_amount,
	withholding_amount,
	bank_charge_amount,
	net_received_amount,
	applied_amount,
	unapplied_amount,
	approval_status,
	document_status,
	posting_status,
	remarks,
	created_by_platform_user_id,
	approved_by_platform_user_id,
	posted_by_platform_user_id,
	created_at,
	approved_at,
	posted_at
FROM
	customer_payment',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'customer_payment',
					'name' => 'id' 
				),
				'encrypted' => false,
				'columnName' => 'id' 
			),
			array(
				'sql' => 'customer_payment_uuid',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'customer_payment',
					'name' => 'customer_payment_uuid' 
				),
				'encrypted' => false,
				'columnName' => 'customer_payment_uuid' 
			),
			array(
				'sql' => 'company_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'customer_payment',
					'name' => 'company_id' 
				),
				'encrypted' => false,
				'columnName' => 'company_id' 
			),
			array(
				'sql' => 'branch_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'customer_payment',
					'name' => 'branch_id' 
				),
				'encrypted' => false,
				'columnName' => 'branch_id' 
			),
			array(
				'sql' => 'accounting_period_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'customer_payment',
					'name' => 'accounting_period_id' 
				),
				'encrypted' => false,
				'columnName' => 'accounting_period_id' 
			),
			array(
				'sql' => 'receipt_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'customer_payment',
					'name' => 'receipt_no' 
				),
				'encrypted' => false,
				'columnName' => 'receipt_no' 
			),
			array(
				'sql' => 'payment_date',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'customer_payment',
					'name' => 'payment_date' 
				),
				'encrypted' => false,
				'columnName' => 'payment_date' 
			),
			array(
				'sql' => 'customer_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'customer_payment',
					'name' => 'customer_id' 
				),
				'encrypted' => false,
				'columnName' => 'customer_id' 
			),
			array(
				'sql' => 'currency_code',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'customer_payment',
					'name' => 'currency_code' 
				),
				'encrypted' => false,
				'columnName' => 'currency_code' 
			),
			array(
				'sql' => 'exchange_rate',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'customer_payment',
					'name' => 'exchange_rate' 
				),
				'encrypted' => false,
				'columnName' => 'exchange_rate' 
			),
			array(
				'sql' => 'payment_method_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'customer_payment',
					'name' => 'payment_method_id' 
				),
				'encrypted' => false,
				'columnName' => 'payment_method_id' 
			),
			array(
				'sql' => 'bank_account_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'customer_payment',
					'name' => 'bank_account_id' 
				),
				'encrypted' => false,
				'columnName' => 'bank_account_id' 
			),
			array(
				'sql' => 'reference_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'customer_payment',
					'name' => 'reference_no' 
				),
				'encrypted' => false,
				'columnName' => 'reference_no' 
			),
			array(
				'sql' => 'gross_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'customer_payment',
					'name' => 'gross_amount' 
				),
				'encrypted' => false,
				'columnName' => 'gross_amount' 
			),
			array(
				'sql' => 'withholding_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'customer_payment',
					'name' => 'withholding_amount' 
				),
				'encrypted' => false,
				'columnName' => 'withholding_amount' 
			),
			array(
				'sql' => 'bank_charge_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'customer_payment',
					'name' => 'bank_charge_amount' 
				),
				'encrypted' => false,
				'columnName' => 'bank_charge_amount' 
			),
			array(
				'sql' => 'net_received_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'customer_payment',
					'name' => 'net_received_amount' 
				),
				'encrypted' => false,
				'columnName' => 'net_received_amount' 
			),
			array(
				'sql' => 'applied_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'customer_payment',
					'name' => 'applied_amount' 
				),
				'encrypted' => false,
				'columnName' => 'applied_amount' 
			),
			array(
				'sql' => 'unapplied_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'customer_payment',
					'name' => 'unapplied_amount' 
				),
				'encrypted' => false,
				'columnName' => 'unapplied_amount' 
			),
			array(
				'sql' => 'approval_status',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'customer_payment',
					'name' => 'approval_status' 
				),
				'encrypted' => false,
				'columnName' => 'approval_status' 
			),
			array(
				'sql' => 'document_status',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'customer_payment',
					'name' => 'document_status' 
				),
				'encrypted' => false,
				'columnName' => 'document_status' 
			),
			array(
				'sql' => 'posting_status',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'customer_payment',
					'name' => 'posting_status' 
				),
				'encrypted' => false,
				'columnName' => 'posting_status' 
			),
			array(
				'sql' => 'remarks',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'customer_payment',
					'name' => 'remarks' 
				),
				'encrypted' => false,
				'columnName' => 'remarks' 
			),
			array(
				'sql' => 'created_by_platform_user_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'customer_payment',
					'name' => 'created_by_platform_user_id' 
				),
				'encrypted' => false,
				'columnName' => 'created_by_platform_user_id' 
			),
			array(
				'sql' => 'approved_by_platform_user_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'customer_payment',
					'name' => 'approved_by_platform_user_id' 
				),
				'encrypted' => false,
				'columnName' => 'approved_by_platform_user_id' 
			),
			array(
				'sql' => 'posted_by_platform_user_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'customer_payment',
					'name' => 'posted_by_platform_user_id' 
				),
				'encrypted' => false,
				'columnName' => 'posted_by_platform_user_id' 
			),
			array(
				'sql' => 'created_at',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'customer_payment',
					'name' => 'created_at' 
				),
				'encrypted' => false,
				'columnName' => 'created_at' 
			),
			array(
				'sql' => 'approved_at',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'customer_payment',
					'name' => 'approved_at' 
				),
				'encrypted' => false,
				'columnName' => 'approved_at' 
			),
			array(
				'sql' => 'posted_at',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'customer_payment',
					'name' => 'posted_at' 
				),
				'encrypted' => false,
				'columnName' => 'posted_at' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'customer_payment',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'customer_payment',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'id',
						'customer_payment_uuid',
						'company_id',
						'branch_id',
						'accounting_period_id',
						'receipt_no',
						'payment_date',
						'customer_id',
						'currency_code',
						'exchange_rate',
						'payment_method_id',
						'bank_account_id',
						'reference_no',
						'gross_amount',
						'withholding_amount',
						'bank_charge_amount',
						'net_received_amount',
						'applied_amount',
						'unapplied_amount',
						'approval_status',
						'document_status',
						'posting_status',
						'remarks',
						'created_by_platform_user_id',
						'approved_by_platform_user_id',
						'posted_by_platform_user_id',
						'created_at',
						'approved_at',
						'posted_at' 
					),
					'name' => 'customer_payment' 
				),
				'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 
			),
			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 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'id,
	customer_payment_uuid,
	company_id,
	branch_id,
	accounting_period_id,
	receipt_no,
	payment_date,
	customer_id,
	currency_code,
	exchange_rate,
	payment_method_id,
	bank_account_id,
	reference_no,
	gross_amount,
	withholding_amount,
	bank_charge_amount,
	net_received_amount,
	applied_amount,
	unapplied_amount,
	approval_status,
	document_status,
	posting_status,
	remarks,
	created_by_platform_user_id,
	approved_by_platform_user_id,
	posted_by_platform_user_id,
	created_at,
	approved_at,
	posted_at',
		'fromListSql' => 'FROM
	customer_payment',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'hasEvents' => true,
	'hasJsEvents' => true,
	'originalTable' => 'customer_payment',
	'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',
			'customer_payment_uuid',
			'company_id',
			'branch_id',
			'accounting_period_id',
			'receipt_no',
			'payment_date',
			'customer_id',
			'currency_code',
			'exchange_rate',
			'payment_method_id',
			'bank_account_id',
			'reference_no',
			'gross_amount',
			'withholding_amount',
			'bank_charge_amount',
			'net_received_amount',
			'applied_amount',
			'unapplied_amount',
			'approval_status',
			'document_status',
			'posting_status',
			'remarks',
			'created_by_platform_user_id',
			'approved_by_platform_user_id',
			'posted_by_platform_user_id',
			'created_at',
			'approved_at',
			'posted_at' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'id',
			'customer_payment_uuid',
			'company_id',
			'branch_id',
			'accounting_period_id',
			'receipt_no',
			'payment_date',
			'customer_id',
			'currency_code',
			'exchange_rate',
			'payment_method_id',
			'bank_account_id',
			'reference_no',
			'gross_amount',
			'withholding_amount',
			'bank_charge_amount',
			'net_received_amount',
			'applied_amount',
			'unapplied_amount',
			'approval_status',
			'document_status',
			'posting_status',
			'remarks',
			'created_by_platform_user_id',
			'approved_by_platform_user_id',
			'posted_by_platform_user_id',
			'created_at',
			'approved_at',
			'posted_at' 
		) 
	),
	'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['customer_payment'] = array(
	'tableCaption' => 'Customer Payment',
	'fieldLabels' => array(
		'id' => 'Id',
		'customer_payment_uuid' => 'Customer Payment Uuid',
		'company_id' => 'Company Id',
		'branch_id' => 'Branch Id',
		'accounting_period_id' => 'Accounting Period Id',
		'receipt_no' => 'Receipt No',
		'payment_date' => 'Payment Date',
		'customer_id' => 'Customer Id',
		'currency_code' => 'Currency Code',
		'exchange_rate' => 'Exchange Rate',
		'payment_method_id' => 'Payment Method Id',
		'bank_account_id' => 'Bank Account Id',
		'reference_no' => 'Reference No',
		'gross_amount' => 'Payment Amount',
		'withholding_amount' => 'Withholding Amount',
		'bank_charge_amount' => 'Bank Charge Amount',
		'net_received_amount' => 'Net Received Amount',
		'applied_amount' => 'Applied Amount',
		'unapplied_amount' => 'Unapplied Amount',
		'approval_status' => 'Approval Status',
		'document_status' => 'Document Status',
		'posting_status' => 'Posting Status',
		'remarks' => 'Remarks',
		'created_by_platform_user_id' => 'Created By Platform User Id',
		'approved_by_platform_user_id' => 'Approved By Platform User Id',
		'posted_by_platform_user_id' => 'Posted By Platform User Id',
		'created_at' => 'Created At',
		'approved_at' => 'Approved At',
		'posted_at' => 'Posted At' 
	),
	'fieldTooltips' => array(
		'id' => '',
		'customer_payment_uuid' => '',
		'company_id' => '',
		'branch_id' => '',
		'accounting_period_id' => '',
		'receipt_no' => '',
		'payment_date' => '',
		'customer_id' => '',
		'currency_code' => '',
		'exchange_rate' => '',
		'payment_method_id' => '',
		'bank_account_id' => '',
		'reference_no' => '',
		'gross_amount' => '',
		'withholding_amount' => '',
		'bank_charge_amount' => '',
		'net_received_amount' => '',
		'applied_amount' => '',
		'unapplied_amount' => '',
		'approval_status' => '',
		'document_status' => '',
		'posting_status' => '',
		'remarks' => '',
		'created_by_platform_user_id' => '',
		'approved_by_platform_user_id' => '',
		'posted_by_platform_user_id' => '',
		'created_at' => '',
		'approved_at' => '',
		'posted_at' => '' 
	),
	'fieldPlaceholders' => array(
		'id' => '',
		'customer_payment_uuid' => '',
		'company_id' => '',
		'branch_id' => '',
		'accounting_period_id' => '',
		'receipt_no' => '',
		'payment_date' => '',
		'customer_id' => '',
		'currency_code' => '',
		'exchange_rate' => '',
		'payment_method_id' => '',
		'bank_account_id' => '',
		'reference_no' => '',
		'gross_amount' => '',
		'withholding_amount' => '',
		'bank_charge_amount' => '',
		'net_received_amount' => '',
		'applied_amount' => '',
		'unapplied_amount' => '',
		'approval_status' => '',
		'document_status' => '',
		'posting_status' => '',
		'remarks' => '',
		'created_by_platform_user_id' => '',
		'approved_by_platform_user_id' => '',
		'posted_by_platform_user_id' => '',
		'created_at' => '',
		'approved_at' => '',
		'posted_at' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>