| Server IP : 138.197.176.125 / Your IP : 216.73.217.122 Web Server : Apache/2.4.41 (Ubuntu) System : Linux SuiteCRM-8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.3.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/soltelcocrm/ |
Upload File : |
<?php
include_once 'vtlib/Vtiger/Module.php';
include_once 'vtlib/Vtiger/Menu.php';
$Vtiger_Utils_Log = true;
$module = new Vtiger_Module();
$module->name = "NewNumber";
$module=$module->getInstance('NewNumber');
$block2 = new Vtiger_Block();
$block2->label = "LBL_CUSTOMER_INFORMATION";
$block2=$block2->getInstance($block2->label,$module);
$field2 = new Vtiger_Field();
$field2->name = 'relatedtocontact';
$field2->label= 'Customer Number';
$field2->uitype= 10;
$field2->table= $module->basetable;
$field2->column = $field2->name;
$field2->columntype = 'VARCHAR(50)';
$field2->typeofdata = 'V~O';
$block2->addField($field2);
$field2->setRelatedModules(Array('Contacts'));