| 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
/*$Vtiger_Utils_Log = true;
include_once('vtlib/Vtiger/Menu.php');
include_once('vtlib/Vtiger/Module.php');
$module = Vtiger_Module::getInstance('CustomerClass');
$block1 = Vtiger_Block::getInstance('LBL_CONTACT_INFORMATION', $module);*/
$Vtiger_Utils_Log = true;
include_once('vtlib/Vtiger/Menu.php');
include_once('vtlib/Vtiger/Module.php');
$module = Vtiger_Module::getInstance('CustomerClass');
$block1 = Vtiger_Block::getInstance('LBL_CUSTOMER_INFORMATION', $module);
$field0 = new Vtiger_Field();
$field0->name = 'cust_name';
$field0->label= 'Customer Name';
$field0->uitype= 10;
$field0->table= $module->basetable;
$field0->column = $field0->name;
$field0->columntype = 'VARCHAR(100)';
$field0->typeofdata = 'V~O';
$block1->addField($field0);
$field0->setRelatedModules(Array('Contacts'));
/*$field4 = new Vtiger_Field();
$field4->name = 'cust_rel_class_name';
$field4->label= 'Customer Class';
$field4->uitype= 1;
$field4->displaytype= 1;
$field4->table= $module->basetable;
$field4->column = $field4->name;
$field4->columntype = 'VARCHAR(24)';
$field4->typeofdata = 'V~O';
$block1->addField($field4);*/
?>