YetiForceCompany/YetiForceCRM

View on GitHub
modules/ISTDN/models/Field.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?php

/**
 * Field Class for ISTDN.
 *
 * @copyright YetiForce S.A.
 * @license YetiForce Public License 6.5 (licenses/LicenseEN.txt or yetiforce.com)
 * @author Radosław Skrzypczak <r.skrzypczak@yetiforce.com>
 */
class ISTDN_Field_Model extends Vtiger_Field_Model
{
    public function isAjaxEditable()
    {
        $edit = parent::isAjaxEditable();
        if ($edit && 'istdn_status' === $this->getName()) {
            $edit = false;
        }
        return $edit;
    }
}