'type' =>
$config['type'
],
'precision' => \
array_key_exists('precision',
$config) ?
$config['precision'
] : 10,
'scale' => \
array_key_exists('scale',
$config) ?
$config['scale'
] : 3,
'nullable' => \
array_key_exists('nullable',
$config) ?
(bool) $config['nullable'
] : false,
'columnName' =>
$mapping['columnName'
],
'table' =>
$metadata->
getTableName(),
'alias' =>
$alias,
'show' => \
in_array($alias,
$shownColumns),
'position' => \
array_key_exists($alias,
$columnPositions) ?
$columnPositions[$alias] : -1,
];
$result[$key]['allowInGrid'
] =
$this->
showColumnInGrid($result[$key]);
} } $alias = 'Price_price';
$result['PricePrice'
] =
[ 'entity' => 'Price',
'field' => 'price',
'editable' => true,
'type' => 'float',
'selectClause' => 'ROUND(s_articles_prices.price*(100+s_core_tax.tax)/100,2)',
'precision' => 10,