Pārlūkot izejas kodu

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

feature/souke
Guillaume Bourgeois pirms 1 gada
vecāks
revīzija
05acdf1b04
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      common/logic/Producer/Producer/Repository/ProducerRepository.php

+ 1
- 1
common/logic/Producer/Producer/Repository/ProducerRepository.php Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt