Replace concept name with region name in exports

This commit is contained in:
Björn Fromme
2018-10-24 12:50:53 +02:00
parent 28ef19cc4d
commit adda1ce9d7
@@ -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 */