| 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/mequitecbeta.crmtiger.com/ |
Upload File : |
<?php
$Vtiger_Utils_Log = true;
include_once('vtlib/Vtiger/Menu.php');
include_once('vtlib/Vtiger/Module.php');
$module = Vtiger_Module::getInstance('Distributor');
$Infoblock = Vtiger_Block::getInstance('LBL_DISTRIBUTOR_INFO', $module);
$quote_prefix = Vtiger_Field::getInstance('quote_prefix', $module);
if (!$quote_prefix) {
$quote_prefix = new Vtiger_Field();
$quote_prefix->name = 'quote_prefix';
$quote_prefix->table = $module->basetable;
$quote_prefix->column = 'quote_prefix';
$quote_prefix->label = 'LBL_QUOTE_PREFIX';
$quote_prefix->columntype = 'TEXT';
$quote_prefix->uitype = 2;
$quote_prefix->displaytype = 1;
$quote_prefix->typeofdata = 'V~M';
$Infoblock->addField($quote_prefix);
}
$quote_sequence = Vtiger_Field::getInstance('quote_sequence', $module);
if (!$quote_sequence) {
$quote_sequence = new Vtiger_Field();
$quote_sequence->name = 'quote_sequence';
$quote_sequence->table = $module->basetable;
$quote_sequence->column = 'quote_sequence';
$quote_sequence->label = 'LBL_QUOTE_SEQUENCE';
$quote_sequence->columntype = 'TEXT';
$quote_sequence->uitype = 2;
$quote_sequence->displaytype = 1;
$quote_sequence->typeofdata = 'V~M';
$Infoblock->addField($quote_sequence);
}