| @@ -350,16 +350,26 @@ class ProductAdd extends ArlistaAbstractForm { | |||
| $result = [ | |||
| 'products' => [$product], | |||
| 'manufacturer' => $this->getManufacturerFactory()->find($this->mid), | |||
| 'axicoId' => [], | |||
| 'axicoIdContinued' => 0, | |||
| 'axicoIdGenerated' => 0, | |||
| 'axicoIdCopied' => 0, | |||
| 'axicoIdMissing' => 0, | |||
| 'axicoIdRevoked' => 0, | |||
| 'totalCompared' => 0, | |||
| 'unchanged' => 0, | |||
| 'changed' => 0, | |||
| 'newProduct' => 0, | |||
| 'status' => false, | |||
| 'productIsManuallyAdded' => true | |||
| 'totalNumbered' => 0, | |||
| 'revokeAxicoId' => null, | |||
| 'productIsManuallyAdded' => true, | |||
| 'revokedProducts' => [], | |||
| 'totalActualised' => 0, | |||
| 'updatedProduct' => 0 | |||
| ]; | |||
| $result = $this->getProductFactory()->compareProducts($result); | |||
| $result = $this->getProductFactory()->createOrFindAxicoIdForEachProduct($result); | |||