Explorar el Código

ProducerRepository::isDocumentDisplayOrders() : problème valeur de retour #1348

feature/souke
Guillaume Bourgeois hace 1 año
padre
commit
05acdf1b04
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      common/logic/Producer/Producer/Repository/ProducerRepository.php

+ 1
- 1
common/logic/Producer/Producer/Repository/ProducerRepository.php Ver fichero

@@ -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') :

Cargando…
Cancelar
Guardar