mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-08-29 21:00:39 +08:00
Fix #478 - field logic not being added
This commit is contained in:
parent
773425c14e
commit
2c5861e9cb
1 changed files with 6 additions and 0 deletions
|
@ -139,6 +139,8 @@ class RecordViewCurrencyFieldMapper implements ViewDefinitionMapperInterface
|
|||
|
||||
$name = $cell['name'] ?? '';
|
||||
|
||||
$logic = $cell['logic'] ?? [];
|
||||
|
||||
$currencyName = $name;
|
||||
$currencyIdName = 'currency_id';
|
||||
$baseName = $name . '_usdollar';
|
||||
|
@ -191,6 +193,10 @@ class RecordViewCurrencyFieldMapper implements ViewDefinitionMapperInterface
|
|||
$typeConfig
|
||||
);
|
||||
|
||||
foreach ($logic as $key => $def){
|
||||
$cellDefinition['groupFields'][$name]['logic'][$key] = $def;
|
||||
}
|
||||
|
||||
$cell['fieldDefinition'] = $cellDefinition;
|
||||
$cols[$cellKey] = $cell;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue