Browse Source

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

feature/souke
Guillaume Bourgeois 1 year ago
parent
commit
05acdf1b04
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      common/logic/Producer/Producer/Repository/ProducerRepository.php

+ 1
- 1
common/logic/Producer/Producer/Repository/ProducerRepository.php View File

return $producer->name; return $producer->name;
} }


public function isDocumentDisplayOrders(DocumentInterface $document): bool
public function isDocumentDisplayOrders(DocumentInterface $document)
{ {
return ($this->documentSolver->getClass($document) == 'Invoice') ? return ($this->documentSolver->getClass($document) == 'Invoice') ?
$this->producerSolver->getConfig('document_display_orders_invoice') : $this->producerSolver->getConfig('document_display_orders_invoice') :

Loading…
Cancel
Save