Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
vtigercrm
Manage
Activity
Members
Labels
Plan
Issues
518
Issue boards
Milestones
Wiki
Code
Merge requests
80
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Welcome to Vtiger Community. To gain access for account, please contact [ community @ vtiger.com ]
Show more breadcrumbs
vtiger
vtigercrm
Merge requests
!636
Fixes
#1275
Workflow condition translations are been addressed
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fixes
#1275
Workflow condition translations are been addressed
uma.s/vtigercrm:Workflow_Condition_Translation
into
master
Overview
0
Commits
1
Changes
Merged
Uma
requested to merge
uma.s/vtigercrm:Workflow_Condition_Translation
into
master
4 years ago
Overview
0
Commits
1
Changes
-
Expand
👍
0
👎
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
ef890c15
1 commit,
4 years ago
+
4
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
modules/Settings/Workflows/models/Record.php
+
4
−
4
Options
@@ -468,11 +468,11 @@ class Settings_Workflows_Record_Model extends Settings_Vtiger_Record_Model {
$fieldDataType = $fieldModel->getFieldDataType();
}
if($value == 'true:boolean' || ($fieldModel && $fieldDataType == 'boolean' && $value == '1')) {
$value = 'LBL_ENABLED'
;
}
$value = vtranslate('LBL_ENABLED', $moduleName)
;
}
if($value == 'false:boolean' || ($fieldModel && $fieldDataType == 'boolean' && $value == '0')) {
$value = 'LBL_DISABLED';
}
$value =
vtranslate(
'LBL_DISABLED'
, $moduleName)
;
}
if ($fieldModel && (($fieldModel->column === 'smownerid') || (($fieldModel->column === 'smgroupid')))) {
if (vtws_getOwnerType($value) == 'Users') {
$value = getUserFullName($value);
Loading