| 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/eyeclinicbeta/ |
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 = 'Dispense';
$module = $module->getInstance('Dispense');
$block1 = new Vtiger_Block();
$block1->label = 'LBL_DISPENSE_GLASSES';
$block1 = $block1->getInstance($block1->label,$module);
/*
$block2 = new Vtiger_Block();
$block2->label = "LBL_HISTORY_AND_SYMPTOMS_D/C_TO_BRING_FORWARD_MOST_RECENT_HISTORY";
$module->addBlock($block2);*/
$field3 = new Vtiger_Field();
$field3->name = 'lastviewed';
$field3->label= 'Last Viewed';
$field3->uitype= 2;
$field3->displaytype= 1;
$field3->column = $field3->name;
$field3->table = $module->table;
$field3->columntype = 'VARCHAR(255)';
$field3->typeofdata = 'V~O';
$block1->addField($field3);