Quellcode durchsuchen

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

feature/souke
Guillaume Bourgeois vor 1 Jahr
Ursprung
Commit
05acdf1b04
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. +1
    -1
      common/logic/Producer/Producer/Repository/ProducerRepository.php

+ 1
- 1
common/logic/Producer/Producer/Repository/ProducerRepository.php Datei anzeigen

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

Laden…
Abbrechen
Speichern