@@ -303,7 +303,7 @@ class ProducerRepository extends AbstractRepository | |||
return $producer->name; | |||
} | |||
public function isDocumentDisplayOrders(DocumentInterface $document): bool | |||
public function isDocumentDisplayOrders(DocumentInterface $document) | |||
{ | |||
return ($this->documentSolver->getClass($document) == 'Invoice') ? | |||
$this->producerSolver->getConfig('document_display_orders_invoice') : |