This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
({ | |
extendsFrom: "FilterLayout", | |
/** | |
* Applies filter on current contexts | |
* @param {String} query search string | |
* @param {Object} dynamicFilterDef(optional) | |
*/ | |
applyFilter: function(query, dynamicFilterDef) { | |
// TODO: getRelevantContextList needs to be refactored to handle filterpanels in drawer layouts, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/********************************************************************************* | |
* By installing or using this file, you are confirming on behalf of the entity | |
* subscribed to the SugarCRM Inc. product ("Company") that Company is bound by | |
* the SugarCRM Inc. Master Subscription Agreement (“MSA”), which is viewable at: | |
* http://www.sugarcrm.com/master-subscription-agreement | |
* | |
* If Company is not bound by the MSA, then by installing or using this file | |
* you are agreeing unconditionally that Company will be bound by the MSA and | |
* certifying that you have authority to bind Company accordingly. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Documentation.- http://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_7.7/Architecture/Sugar_Logic/Dependency_Actions/ | |
$dependencies['Meetings']['readonly_fields'] = array( | |
'hooks' => array("edit"), // values : "edit", "view", "save" and "all" | |
'trigger' => 'equal($status,"Held")', //Optional, the trigger for the dependency. Defaults to 'true'. | |
'triggerFields' => array('status'), // The list of fields to watch for change events. When changed, the trigger expressions will be recalculated. | |
'onload' => true, // Whether or not to trigger the dependencies when the page is loaded. | |
//Actions is a list of actions to fire when the trigger is true | |
// You could list multiple fields here each in their own array under 'actions' | |
'actions' => array( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if(!defined('sugarEntry'))define('sugarEntry', true); | |
/* | |
* Your installation or use of this SugarCRM file is subject to the applicable | |
* terms available at | |
* http://support.sugarcrm.com/06_Customer_Center/10_Master_Subscription_Agreements/. | |
* If you do not agree to all of the applicable terms or do not have the | |
* authority to bind the entity as an authorized representative, then do not | |
* install or use this SugarCRM file. | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ddescribe("Dashlet dashlet", function () { | |
var viewName = 'dashlet', | |
view, | |
layout, | |
context, | |
layoutName = 'record', | |
moduleName = 'Opportunities', | |
model; | |
beforeEach(function () { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); | |
/* | |
* Your installation or use of this SugarCRM file is subject to the applicable | |
* terms available at | |
* http://support.sugarcrm.com/06_Customer_Center/10_Master_Subscription_Agreements/. | |
* If you do not agree to all of the applicable terms or do not have the | |
* authority to bind the entity as an authorized representative, then do not | |
* install or use this SugarCRM file. | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
({ | |
extendsFrom: 'SubpanelListView', | |
initialize: function(options) { | |
// `dataViewName` corresponds to the list of fields the API should retrieve. | |
this.dataViewName = options.name || 'subpanel-list'; | |
this._super("initialize", [options]); | |
var limit = this.context.get('limit') || app.config.maxSubpanelResult; | |
// Setup max limit on collection's fetch options for this subpanel's context |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
({ | |
extendsFrom: 'LinkActionField', | |
openSelectDrawer: function() { | |
if (this.isDisabled()) { | |
return; | |
} | |
var parentModel = this.context.get('parentModel'), | |
linkModule = this.context.get('module'), | |
link = this.context.get('link'), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$dictionary['Task']['visibility'] = array( | |
"YourVisibilityClass" => true, | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$app_list_strings['promocion_region_list']=array ( | |
'Michoacana' => 'Michoacana', | |
'Jaliciense' => 'Jaliciense', | |
'Sinaloense' => 'Sinaloense', | |
'Sonorense' => 'Sonorense', | |
); | |
$app_list_strings['seg_geo_com_Michoacana_list']=array ( |
NewerOlder