1
|
|
|
<?php |
2
|
|
|
/** |
3
|
|
|
* OSSMailScanner CRMEntity class. |
4
|
|
|
* |
5
|
|
|
* @copyright YetiForce S.A. |
6
|
|
|
* @license YetiForce Public License 6.5 (licenses/LicenseEN.txt or yetiforce.com) |
7
|
|
|
*/ |
8
|
|
|
include_once 'modules/Vtiger/CRMEntity.php'; |
9
|
|
|
|
10
|
|
|
class PaymentsOut extends Vtiger_CRMEntity |
11
|
|
|
{ |
12
|
|
|
public $table_name = 'vtiger_paymentsout'; |
13
|
|
|
public $table_index = 'paymentsoutid'; |
14
|
|
|
public $column_fields = []; |
15
|
|
|
|
16
|
|
|
/** Indicator if this is a custom module or standard module */ |
17
|
|
|
public $IsCustomModule = true; |
18
|
|
|
|
19
|
|
|
/** |
20
|
|
|
* Mandatory table for supporting custom fields. |
21
|
|
|
*/ |
22
|
|
|
public $customFieldTable = ['vtiger_paymentsoutcf', 'paymentsoutid']; |
23
|
|
|
|
24
|
|
|
/** |
25
|
|
|
* Mandatory for Saving, Include tables related to this module. |
26
|
|
|
*/ |
27
|
|
|
public $tab_name = ['vtiger_crmentity', 'vtiger_paymentsout', 'vtiger_paymentsoutcf']; |
28
|
|
|
|
29
|
|
|
/** |
30
|
|
|
* Mandatory for Saving, Include tablename and tablekey columnname here. |
31
|
|
|
*/ |
32
|
|
|
public $tab_name_index = [ |
33
|
|
|
'vtiger_crmentity' => 'crmid', |
34
|
|
|
'vtiger_paymentsout' => 'paymentsoutid', |
35
|
|
|
'vtiger_paymentsoutcf' => 'paymentsoutid', ]; |
36
|
|
|
|
37
|
|
|
public $list_fields_name = [ |
38
|
|
|
'LBL_PAYMENTSNO' => 'paymentsno', |
39
|
|
|
'LBL_PAYMENTSNAME' => 'paymentsname', |
40
|
|
|
'LBL_PAYMENTSVALUE' => 'paymentsvalue', |
41
|
|
|
'LBL_PAYMENTSCURRENCY' => 'paymentscurrency', |
42
|
|
|
'LBL_PAYMENTSSTATUS' => 'paymentsout_status', |
43
|
|
|
]; |
44
|
|
|
|
45
|
|
|
/** |
46
|
|
|
* @var string[] List of fields in the RelationListView |
47
|
|
|
*/ |
48
|
|
|
public $relationFields = []; |
49
|
|
|
|
50
|
|
|
// For Popup listview and UI type support |
51
|
|
|
public $search_fields = [ |
52
|
|
|
'LBL_PAYMENTSVALUE' => ['paymentsout', 'paymentsvalue'], |
53
|
|
|
'LBL_PAYMENTSNO' => ['paymentsout', 'paymentsno'], |
54
|
|
|
'LBL_PAYMENTSNAME' => ['paymentsout', 'paymentsname'], |
55
|
|
|
]; |
56
|
|
|
public $search_fields_name = []; |
57
|
|
|
// For Popup window record selection |
58
|
|
|
public $popup_fields = ['paymentsname']; |
59
|
|
|
// For Alphabetical search |
60
|
|
|
public $def_basicsearch_col = 'paymentsname'; |
61
|
|
|
// Column value to use on detail view record text display |
62
|
|
|
public $def_detailview_recname = 'paymentsname'; |
63
|
|
|
// Callback function list during Importing |
64
|
|
|
public $special_functions = ['set_import_assigned_user']; |
65
|
|
|
public $default_order_by = ''; |
66
|
|
|
public $default_sort_order = 'ASC'; |
67
|
|
|
// Used when enabling/disabling the mandatory fields for the module. |
68
|
|
|
// Refers to vtiger_field.fieldname values. |
69
|
|
|
public $mandatory_fields = ['createdtime', 'modifiedtime', 'paymentsname']; |
70
|
|
|
} |
71
|
|
|
|