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/rehabilitation/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/rehabilitation/createDOBFieldInReferral.php
<?php
$Vtiger_Utils_Log = true;
include_once('vtlib/Vtiger/Menu.php');
include_once('vtlib/Vtiger/Module.php');
require_once 'vendor/autoload.php';

$module = new Vtiger_Module();
$module = $module->getInstance('Physicians');

$block1 = new Vtiger_Block();
$block1->label = "Physicians Information";
$block1 = $block1->getInstance($block1->label,$module);

$field = new Vtiger_Field();
$field->name = "parent_id";
$field->label = "Organization Name";
$field->table = $module->basetable;
$field->column = "parent_id";
$field->columntype = 'VARCHAR(255)';
$field->uitype = 10;
$field->typeofdata = 'V~O';
$block1->addField($field);
$field->setRelatedModules(Array('Accounts'));

/*$field4 = new Vtiger_Field();
$field4->name = 'other_reason';
$field4->label = 'Other Reason';
$field4->column = $field4->name;
$field4->columntype = 'VARCHAR(150)';
$field4->uitype = 19;
$field4->typeofdata = 'V~O';
$block1->addField($field4);*/

/*$field8 = new Vtiger_Field();
$field8->name = 'referral_notseen_reason';
$field8->label = 'Not Seen Reason';
$field8->table = $module->basetable;
$field8->column = 'referral_notseen_reason';
$field8->columntype = 'VARCHAR(255)';
$field8->uitype = 15;
$field8->setPicklistValues(Array('Cancelled', 'No Show', 'No Answer', 'Other'));
$field8->typeofdata = 'V~O';
$block1->addField($field8);*/

/*$field = new Vtiger_Field();
$field->name = "patient_id";
$field->label = "Patients";
$field->table = $module->basetable;
$field->column = "patient_id";
$field->columntype = 'VARCHAR(255)';
$field->uitype = 10;
$field->typeofdata = 'V~O';
$block1->addField($field);
$field->setRelatedModules(Array('Contacts'));*/

/*$field = new Vtiger_Field();
$field->name = "physician_group_id";
$field->label = "PhysicianGroup";
$field->table = $module->basetable;
$field->column = "physician_group_id";
$field->columntype = 'VARCHAR(255)';
$field->uitype = 10;
$field->typeofdata = 'V~O';
$block1->addField($field);
$field->setRelatedModules(Array('PhysicianGroup'));*/

/*$field8 = new Vtiger_Field();
$field8->name = 'referral_provided';
$field8->label = 'Referral Provided By';
$field8->table = $module->basetable;
$field8->column = 'referral_provided';
$field8->columntype = 'VARCHAR(255)';
$field8->uitype = 15;
$field8->setPicklistValues(Array('Physician', 'Website', 'Google', 'Walk In'));
$field8->typeofdata = 'V~O';
$block1->addField($field8);*/
?>

Youez - 2016 - github.com/yon3zu
LinuXploit