Replace concept name with region name in exports
This commit is contained in:
@@ -52,7 +52,7 @@ class Product
|
||||
|
||||
$product['@id'] = $entity->getBusProId();
|
||||
$product['@code'] = $entity->getCode();
|
||||
$product['name'] = preg_replace('/[\r\n\s]+/', ' ', $entity->getName()) . ' - ' . $entity->getConcept()->getName();
|
||||
$product['name'] = preg_replace('/[\r\n\s]+/', ' ', $entity->getName()) . ' - ' . $entity->getRegion()->getName();
|
||||
|
||||
$product['facts']['fact'] = array_map(function ($fact) {
|
||||
/** @var Fact $fact */
|
||||
|
||||
Reference in New Issue
Block a user