modules/PaymentsIn/PaymentsIn.php
<?php
/**
* PaymentsIn CRMEntity class.
*
* @copyright YetiForce S.A.
* @license YetiForce Public License 6.5 (licenses/LicenseEN.txt or yetiforce.com)
*/
include_once 'modules/Vtiger/CRMEntity.php';
class PaymentsIn extends Vtiger_CRMEntity
{
public $table_name = 'vtiger_paymentsin';
public $table_index = 'paymentsinid';
public $column_fields = [];
/** Indicator if this is a custom module or standard module */
public $IsCustomModule = true;
/**
* Mandatory table for supporting custom fields.
*/
public $customFieldTable = ['vtiger_paymentsincf', 'paymentsinid'];
/**
* Mandatory for Saving, Include tables related to this module.
*/
public $tab_name = ['vtiger_crmentity', 'vtiger_paymentsin', 'vtiger_paymentsincf'];
/**
* Mandatory for Saving, Include tablename and tablekey columnname here.
*/
public $tab_name_index = [
'vtiger_crmentity' => 'crmid',
'vtiger_paymentsin' => 'paymentsinid',
'vtiger_paymentsincf' => 'paymentsinid', ];
public $list_fields_name = [
'LBL_PAYMENTSNO' => 'paymentsno',
'LBL_PAYMENTSNAME' => 'paymentsname',
'LBL_PAYMENTSVALUE' => 'paymentsvalue',
'LBL_PAYMENTSCURRENCY' => 'currency_id',
'LBL_PAYMENTSSTATUS' => 'paymentsin_status',
];
/**
* @var string[] List of fields in the RelationListView
*/
public $relationFields = [];
// For Popup listview and UI type support
public $search_fields = [
'LBL_PAYMENTSNO' => ['paymentsin', 'paymentsno'],
'LBL_PAYMENTSNAME' => ['paymentsin', 'paymentsname'],
'LBL_PAYMENTSVALUE' => ['paymentsin', 'paymentsvalue'],
'LBL_PAYMENTSCURRENCY' => ['paymentsin', 'currency_id'],
'LBL_PAYMENTSSTATUS' => ['paymentsin', 'paymentsin_status'],
];
public $search_fields_name = [];
// For Popup window record selection
public $popup_fields = ['paymentsname'];
// For Alphabetical search
public $def_basicsearch_col = 'paymentsname';
// Column value to use on detail view record text display
public $def_detailview_recname = 'paymentsname';
// Callback function list during Importing
public $special_functions = ['set_import_assigned_user'];
public $default_order_by = '';
public $default_sort_order = 'ASC';
// Used when enabling/disabling the mandatory fields for the module.
// Refers to vtiger_field.fieldname values.
public $mandatory_fields = ['createdtime', 'modifiedtime', 'paymentsname'];
}